[Dropped] Data extraction from Calc sheets

Discuss the spreadsheet application
Locked
DrdotHouse
Posts: 1
Joined: Wed Jun 05, 2024 6:11 pm

[Dropped] Data extraction from Calc sheets

Post by DrdotHouse »

Hello, i have many invoices from an old software in pdf format. I managed to convert them into .xls files. But i dont have an idea how to make a list where i can see the invoiced product and the amount. So i would like to make one list with all invoice positions from all files. Anyone a clue how to manage this? Kind regards
Last edited by MrProgrammer on Thu Jun 13, 2024 4:50 pm, edited 2 times in total.
Reason: Dropped: No attachment provided when requested -- MrProgrammer, forum moderator
OpenOffice 3.1 on Windows
FJCC
Moderator
Posts: 9624
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Data extraction from calc sheets

Post by FJCC »

How many invoices are there?
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Alex1
Volunteer
Posts: 852
Joined: Fri Feb 26, 2010 1:00 pm
Location: Netherlands, EU

Re: Data extraction from Calc sheets

Post by Alex1 »

Welcome to the forum! Can you upload a small example of what you have and of what you wish to achieve?
AOO 4.1.16 & LO 25.8.3 on Windows 10
User avatar
MrProgrammer
Moderator
Posts: 5430
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Data extraction from Calc sheets

Post by MrProgrammer »

DrdotHouse wrote: Wed Jun 05, 2024 6:16 pm i have many invoices from an old software in PDF format. I managed to convert them into .xls files. But i dont have an idea how to make a list where i can see the invoiced product and the amount. So i would like to make one list with all invoice positions from all files.
Perhaps you can use Merge sheets of spreadsheet documents. To provide any more specific assistance we need to know the layout of your data and what you want in your list with all invoice positions.

[Solved] Combine multiple Excel files into one

If you had converted the PDF files to CSV format, you could just concatenate those files. As long as the layout of each file is identical, it would be easy to load the single concatenated CSV file into Calc and extract the information, using Data → Filter or Data → Pivot Table. Read about those suggestions in Help → Index or in User Guides (PDF) or searching for topics about them in the Calc Forum. If your XLS files consist of only one sheet you can open each one and save it as a CSV file (File → Save As → Text CSV).

If you are a programmer you could convert them all with:
cd "directory with XLS files"
"path"/soffice --convert-to csv *.xls --outdir "directory for CSV files"
That's MacOS/UNIX syntax. I don't use Windows but the syntax there would be similar. In the second command the path is the location of the soffice program on your Windows system.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.8, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Locked