In this article:
Blog
>
PDF

Extract Data from PDF to Excel (Easiest Way in 2024)

In this article, we will show you how to extract data from PDF to Excel using the Lido app. It's quick and easy, simply follow the steps below!

How to Extract Data from PDF to Excel

To extract data from a PDF, we'll be utilizing Lido, a spreadsheet designed to automate and streamline repetitive tasks. You can set up your account for free using the following link: https://www.lido.app/go/signup.

Method 1: Using the PDF Importer Tool

Here's how to extract data from a PDF file to Excel using the PDF Importer tool in Lido.

Step 1: Create a new Lido spreadsheet from the Files page. 

Log into your Lido account and navigate to the Files page. Create a new spreadsheet. This new document will be where you organize and analyze the data extracted from your PDF.

Step 2: Navigate to the File menu and choose the PDF Importer tool.

In your new spreadsheet, head to the File menu located at the top of the interface. Select the "Import from PDF" from the dropdown options. This tool is specially designed to facilitate the conversion of data from PDFs into a structured spreadsheet format.

extract data from pdf to excel

Step 3: Upload the PDF document you would like to extract data from.

Click on the upload section of the PDF Importer tool to browse and upload the PDF file from which you want to extract data. Ensure that this is the correct file that contains the data you need.

how to extract data from pdf to excel

Step 4: Adjust the selection to the area of the data you want to extract and press "Extract data".

After uploading the PDF, you will see an interface where you can select the specific area of the PDF you wish to extract. Adjust the selection box to precisely cover just the data you need, ensuring you don't include unwanted sections, and then press "Extract data" to start the extraction process.

how to extract pdf data to excel

Step 5: Ensure the data has been correctly extracted from PDF and then click "Insert at active cell."

The extracted data is now in the active cell of the spreadsheet. The PDF importer is designed to convert data into spreadsheet format.

Note that if the selected area contains only text, then each line of text is placed into a separate cell. If the selected area contains tabular data, then the tabular data will be extracted. If the selected area contains both tabular data and plain text, the plain text will be ignored.

If you need to extract more data from the PDF, click "Back" now. To finish, just close the modal by clicking the "X" button in the top right corner.

how to transfer data from pdf to excel

Step 6: Press the three-dot menu next to the worksheet name and select "Export Worksheet to Excel".

After ensuring all necessary data has been correctly extracted and is now in your spreadsheet, find the three-dot menu next to the worksheet's name. Click on it and choose "Export Worksheet to Excel". This option converts your spreadsheet into an Excel file, which you can then save to your computer for further use or analysis.

convert pdf data to excel

Method 2: Using the IMPORTPDF Formula

In this method, we will use Lido’s custom formula IMPORTPDF which extracts everything from the supplied pdf at once. IMPORTPDF does not work on scanned PDF documents; If your PDF document is scanned, consider method 3 below which uses EXTRACTTABLESFROMPDF formula instead.

Step 1: Login into your Google Drive and upload the PDF you would like to extract data from.

Begin by logging into your Google Drive and uploading the PDF file from which you want to extract data. Ensure the PDF is accessible online to utilize it with Lido’s tools.

how to convert pdf to excel

Step 2: Create a new Lido spreadsheet from the Files page. 

Navigate to Lido's files page and create a new spreadsheet. This spreadsheet will be the place where the extracted PDF data is organized and analyzed.

Step 3: Add a new worksheet by pressing the plus button in the top left of the screen.

Add a new worksheet to your spreadsheet. This is done by clicking the plus button at the top left of the interface.

extract pdf content to excel

Step 4: Type the formula "=IMPORTPDF(" into cell A1.

Type the beginning of the IMPORTPDF formula into cell A1. This sets up the cell to receive the full formula that will instruct Lido on how to process your PDF file.

how to pull data from pdf into excel

Step 5: Press "Add Credential" and follow the instructions to connect the Google account where you uploaded the PDF file. 

Click the "Add Credential" button to begin linking your Google Drive account to Lido, allowing the application to access the PDF file you've uploaded. Follow all on-screen instructions to ensure proper setup.

retrieve data from pdf to excel

Step 6: Press the "," key to advance to the next argument and then click "Select a file".

After adding your credentials, continue the formula by typing a comma, which separates the arguments, then click "Select a file" to open a dialog box where you can choose the uploaded PDF from your Google Drive.

how to get pdf data into excel

Step 7: Select the pdf file you uploaded to Google Drive.

Browse through your Google Drive in the file selector and click on the PDF you previously uploaded. This action links the selected PDF directly to the IMPORTPDF formula.

pdf to excel data extraction

Step 8: Type ", Sheet1!B2)" to complete the formula and press ENTER.

Finalize the formula by indicating where in the spreadsheet you want the extracted data to be placed. In this case, typing ", Sheet1!B2)" specifies that data should be inserted starting at cell B2 of Sheet1. Press ENTER to complete and set the formula.

move pdf data to excel

Step 9: Right click on the cell A1 and press "Run action".

After setting the formula, right-click on cell A1 where it is entered and select “Run action” from the context menu. This will execute the IMPORTPDF formula, initiating the data extraction process from the PDF.

how to export pdf data to excel

Step 10: Switch to worksheet Sheet1 and verify that the data is extracted correctly.

Once the formula has run, navigate to Sheet1 to review the extracted data. Ensure that all data appears as expected and is accurately represented within the cells.

how to import pdf to excel

Step 11: Press the three-dot menu next to worksheet Sheet1 and select "Export Worksheet to Excel".

After confirming the data extraction is correct, click the three-dot menu next to the Sheet1 tab and select "Export Worksheet to Excel." This action converts your data into an Excel file, allowing you to save, share, or further analyze it outside of Lido.

transform pdf data to excel

Method 3: Using the EXTRACTTABLESFROMPDF Formula

In this method, we will use Lido’s custom formula EXTRACTTABLESFROMPDF which extracts everything from the PDF it recognized as a table. This formula works on scanned documents.

Step 1: Login into your Google Drive and upload the PDF you would like to extract data from.

Start by logging into your Google Drive and uploading the specific PDF file from which you want to extract table data. Ensure that the PDF is accessible in your Drive for the extraction process.

pdf data to excel extraction

Step 2: Create a new Lido spreadsheet from the Files page. 

Navigate to the Files section in Lido and create a new spreadsheet. This spreadsheet will be used to manage and analyze the table data you extract from the PDF.

Step 3: Add a new worksheet by pressing the plus button in the top left of the screen.

To organize your data extraction efficiently, add a new worksheet to your spreadsheet by clicking the plus icon located in the top left corner. This new sheet will house the extracted tables.

how to migrate pdf data to excel

Step 4: Type the formula "=EXTRACTTABLESFROMPDF(" into cell A1.

In the new worksheet, go to cell A1 and begin typing the EXTRACTTABLESFROMPDF formula. This formula will initiate the process to extract only tabular data from your PDF.

pull pdf content into excel

Step 5: Press "Add Credential" and follow the instructions to connect the Google account where you uploaded the PDF file. 

Click "Add Credential" to link your Google Drive to Lido. This step is essential as it allows Lido to access the PDF file directly from your Drive. Follow all prompts to ensure a secure connection.

how to extract pdf content to excel

Step 6: Press the comma key to advance to the next argument and then click "Select a file".

After adding your account credentials, press the comma key to move to the next part of the formula. Then click "Select a file" to open a file picker where you can choose the uploaded PDF from your Google Drive.

how to extract pdf data into excel spreadsheet

Step 7: Select the pdf file you uploaded to Google Drive.

Find and select the PDF you previously uploaded. This action links the PDF with the formula, setting it up for data extraction.

extracting data from pdf files to excel

Step 8: Type ", Sheet1!B2)" to complete the formula and press ENTER.

Complete the formula by specifying the output location for the extracted data within your spreadsheet. Typing ', Sheet1!B2)' tells the formula to place the extracted tables starting at cell B2 on Sheet1. Press ENTER to finalize the formula.

method to extract pdf data to excel

Step 9: Right click on the cell A1 and press "Run action".

With the formula set, right-click on cell A1 and select "Run action" from the context menu. This will execute the formula, extracting table data from the PDF into your spreadsheet.

best ways to extract data from pdf to excel

Step 10: Switch to worksheet Sheet1 and verify that the data is extracted correctly.

Go to Sheet1 to check the extracted data. Ensure that the tables have been properly extracted and accurately reflect the content of the PDF.

Note that only tabular data will be extracted. Consider using methods 1 and 2 if you need to extract non-tabular data.

import pdf data into excel

Step 11: Press the three-dot menu next to worksheet "Sheet1" and select "Export Worksheet to Excel".

After confirming that the table data is correctly extracted, click the three-dot menu beside "Sheet1" and choose "Export Worksheet to Excel". This converts your data into an Excel format.

can you extract pdf data into excel spreadsheet

We hope you now have a better understanding of how to extract data from PDF to Excel.

Schedule a free automation consult
Learn more

Level up your Google Sheets skills with our free Google Sheets automation guide

Wasting too much time doing things manually in spreadsheets? Want to spend more time doing what you love? Our 100% free, 27-page Google Sheets automation guide is full of new tips and tricks that will save you time and money!