How to Extract Data from Excel Sheet (6 Effective Methods)

We have a dataset containing 5 columns and 9 rows including headings. Let’s extract data from this Excel worksheet to another worksheet.

Sample dataset to show how to extract data from Excel sheet


Method 1 – Extract Data from Excel Sheet Using VLOOKUP Function

Suppose we need to extract the salaries of ID no. 103, 106, and 108 from sheet 1 to sheet 2.

Steps: 

  • Enter the following formula in Cell C13 of Sheet 2:
=VLOOKUP(B13,'Sheet 1'!B5:F12,5,FALSE)

Extract Data from Excel Sheet Using VLOOKUP Function

  • Here is the output.

Extract Data from Excel Sheet with VLOOKUP Function: Output

Note: 

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Here,

  • Lookup_value is the value you want to match
  • Table_array is the data range that you need to look for your value
  • Col_index_num is the corresponding column of the look_value
  • Range_lookup is the boolean value (True or False). 0 (false) refers to an exact match and 1 (true) refers to an approximate match.

Read More: How to Extract Specific Data from a Cell in Excel


Method 2 – Pick Data from Excel Sheet Using INDEX-MATCH Formula

Suppose you want to find the salary for a particular ID.

Steps: 

  • In cell C13, enter the following formula:
=INDEX('Sheet 1'!F5:F12, MATCH(B13,'Sheet 1'!B5:B12,0))

Here,

  • MATCH(B13,’Sheet 1’!B5:B12,0) refers to cell B13 as the lookup_value in the data range B5:B12 for an exact match. It returns 3 because the value is in row number 3.
  • INDEX(‘Sheet 1′!F5:F12, MATCH(B13,’Sheet 1’!B5:B12,0)) refers to Sheet 1 as an array of F5:F12  from where we will get the value.

Extract Data from Excel Sheet Using INDEX-MATCH Combo

  • Press Enter.
  • Drag the Fill Handle to the range you need.

  • Here is the output:

Read More: How to Extract Data Based on Criteria from Excel


Method 3 – Extract Data from Excel Sheet Using Data Consolidation Tool

Let’s use two datasets in the same Excel worksheet (Consolidation 1) as input. The result of the consolidation will be shown on a different worksheet (Consolidation 2).

Steps:

  • Go to the Consolidation 2 sheet and select a cell (Cell B4 in this example) where you want to put your consolidated result.
  • Go to the Data tab, into the Data Tools group, and click on the Consolidate icon.

  • A Consolidate Dialog box will pop up.

Consolidate Dialog Box

  • Select the Function you need, then one by one select each table including the headings from the “Consolidation 1” sheet in the Reference box, and click Add.
  • All selected tables from Consolidation Sheet 1 will appear in the All References box. Check both Tick marks (top row and left row) in the Labels box.
  • Click OK.

Extract Data from Excel Sheet Using Data Consolidation

  • Here is the result:

Read More: How to Extract Data From Table Based on Multiple Criteria in Excel


Method 4 – Extract Data from Worksheet Using Advanced Filter

In this example, the data is on Sheet 5 and will be extracted from Sheet 6.

Steps:

  • Go to Sheet 6 and select a Cell (Cell B4 in this illustration).
  • Go to the Data tab, choose Sort & Filter, and click Advanced. An Advanced Filter window will open.

  • Select Copy to Another Location.
  • Click on the List Range box and select Sheet 5, then select the entire table with the headings.
  • Choose the criteria range.
  • In Copy to Box, select the cell on sheet 6 (Cell B4 in this example).
  • Click OK.

Extract Data from Worksheet Using Advanced Filter

  • Here is the result:

Read More: How to Extract Data from Cell in Excel


Method 5 – Pull Data from Another Sheet in Excel with the Help of Name Box

Suppose we have two worksheets named NameBox1 and NameBox2. We want to extract data from NameBox1 to NameBox2.

Steps: 

  • In any cell in NameBox2 (Cell B4 in this example), enter =NameBox1!C9 and press Enter and you will get values from Cell C9 in your new worksheet.

Pull Data from Another Sheet in Excel with the Help of Name Box

  • Here is the result:

OR

  • Type ‘=’ in any cell from NameBox2, then click the NameBox1 sheet and select the cell you need and press Enter.

Method 6 – Extract Data from Excel Sheet with INDEX Function

Suppose we have two sheets named INDEX 1 and INDEX 2. In INDEX 2 sheet, we will set the Row and Column no. of the data from the INDEX 1 sheet.

Steps:

  • In Cell D5, enter the following formula:
=INDEX('INDEX 1'!B4:F12,'INDEX 2'!B5,'INDEX 2'!C5)

Extract Data from Excel Sheet with INDEX Function

  • Press Enter.

Note:

=INDEX(data range, row number, [column number])

Here,

  • Data range is the entire table of the data
  • Row number of the data is not necessarily the row of the Excel worksheet. If the table starts on row 5 of the worksheet, that will be Row #1.
  • Column number of the data similarly depends on the Table. If the table range starts on column C, that will be column #1.

Download Practice Book

Download the following Excel file for your practice.


Related Articles

<< Go Back To Extract Data Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Hafizul Islam
Hafizul Islam

Hafizul Islam is an excellent marine engineer who loves working with Excel and diving into VBA programming. For him, programming is like a superhero tool that saves time when dealing with data, files, and the internet. His skills go beyond the basics, including Rhino3D, Maxsurf C++, AutoCAD, Deep Neural Networks, and Machine Learning. He got his B.Sc in Naval Architecture & Marine Engineering from BUET, and now he's switched gears, working as a content developer. In this role,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo