Skip to main content

How to extract data from another workbooks or text files in Excel?

Normally we can copy data from an opening workbook and then paste into another workbook. However, sometimes you may want to extract data from a closed workbook without opening it, or even extract data from other file types, such as text files, how to get it done in Excel? In this article I will show you a way to extract data from another closed workbooks or text files easily in Excel.

Extract data from one closed workbook or text file in Excel

Extract data from multiple closed workbooks in Excel

Easily combine multiple worksheets/workbooks into single worksheet/workbook

It may be tedious to combine dozens of sheets from different workbooks into one sheet. But with Kutools for Excel’s Combine (worksheets and workbooks) utility, you can get it done with just several clicks!

ad combine sheets books 1


arrow blue right bubbleExtract data from another closed workbook or text files with Kutools for Excel

Kutools for Excel is an excellent Excel add-in with dozens of handy utilities. It’s Insert File at Cursor utility can help you to extract data from closed workbook, text files or any other files and insert into current worksheet easily.

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

Step 1: Put cursor at the cell where you will insert extracted data. In our example, we select the Cell D4. Then click Enterprise > Import / Export > Insert File at Cursor.

Step 2: In the opening Insert File at Cursor dialog box, click the Browse button.

doc extract data from workbook 2

Note: If you want to extract data from other files without formulas, please check the Values only (no formulas) option; if you want to extract data without formatting, please check the Do not transfer formatting option.

Step 3: In the coming Select a file to be inserted at the cell cursor position dialog box, open the folder that the workbook or other file is in, click to select the file you will extract, and click the Open button.

Notes:

1. For inserting data from Text file, please check the Text Files is selected behind the File name box in the Select a file to be inserted at the cell cursor position dialog box.

2. If you select a workbook with multiple worksheets, a Select a Worksheet dialog box will be thrown out. Just click to select the worksheet you will extract data from, and click the Ok button.

Now you will see all data in the specified worksheet is extracted and inserted into current worksheet.

Extract without formula and formatting:
Extract with formula and formatting:
doc extract data from workbook 7

Demo: Extract data from one closed workbook or text file in Excel

Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

arrow blue right bubble Extract data from multiple closed workbooks in Excel

With Kutools for Excel's Combine worksheets and and workbooks feature, you can easily extract data from multiple worksheets and workbooks and place extracted data into one sheet. Please do as follows:

Kutools for Excel - Packed with over 300 essential tools for Excel. Enjoy a full-featured 30-day FREE trial with no credit card required! Download now!

1. Click Enterprise > Combine.

2. In the opening Combine Worksheets - Step 1 of 3 dialog box, please check the Combine multiple worksheets from workbooks into one worksheet option, and click the Next button.

3. In the Combine Worksheets - Step 2 of 3 dialog box, please:

(1) Click Add > File / Folder to add workbooks you will extract data from;

(2) In the Workbook list section, please check the workbooks you will extract data from;

(3) In the Worksheet list section, please check the worksheets you will extract data from;

(4) In the worksheet list section, click the browse button behind each worksheet name to specify the range you will extract from each worksheet.

(5) Click the Next button.

4. In the Combine Worksheets - Step 3 of 3 dialog box, please specify the combination rule as you need, and click the Finish button.

Now all specified range from closed workbooks are extracted and placed in one worksheet.

Demo: Extract data from multiple closed workbooks in Excel

Kutools for Excel: Over 300 handy tools at your fingertips! Start your 30-day free trial with no feature limitations today. Download Now!

arrow blue right bubbleRelated articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations