Log in  \/ 
x
or
x
x
Register  \/ 
x

or

How to vlookup and return whole / entire row of a matched value in Excel?

Normally, you can vlookup and return a matching value from a range of data by using the Vlookup function, but, have you ever tried to find and return the whole row of data based on specific criteria as following screenshot shown.

Vlookup and return whole / entire row data of a matched value with formula

Vlookup and return whole / entire row data of a matched value with array formula

Vlookup and return whole / entire row data of a matched value with Kutools for Excel


Vlookup and return whole / entire row data of a matched value with Kutools for Excel

Vlookup and return whole / entire row data of a matched value:

With Kutools for Excel's Look for a value in list feature, you can quickly vlookup and return the whole or entrie row based on a given data you specified.

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Vlookup and return whole / entire row data of a matched value with formula


To get the whole row data of a matched value, please apply the following formula:

Enter this formula: =VLOOKUP($F$2,$A$1:$D$12,COLUMN(A1),FALSE) into a blank cell where you want to get the result, for instance, H1, and then drag the formula to right ( from H2 to K2), and you will get the whole row data you want. See screenshot:

Note: In the above formula, F2 is the lookup value you want to return the whole row based on, A1:D12 is the data range you want to use, A1 indicates the first column number within your data range.


Vlookup and return whole / entire row data of a matched value with array formula

Except for the above formula, here is another array formula also can help you.

1. Please select the cells where you want to output the whole row result, then enter this array formula: =VLOOKUP(F2,$A$2:$D$12,{1,2,3,4},FALSE) into the formula bar, see screenshot:

2. And then press Ctrl + Shift + Enter keys together, you will get the whole row of the matched value, see screenshot:

Note: In the above formula, F2 is the lookup value you want to return the whole row based on, A2:D12 is the data range you want to use, 1,2,3,4 is the column number that you want to return its corresponding value.


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Bryan Christensen · 1 months ago
    So I am needing some help with Vlookup. Have a table with the following headers (group assignmen, Name, home town, gender, and comments). I am trying to input a value of the group and have it list everyone that is in the group along with the respective data such as the name, home town, gender, and comments associated with row. I am able to produce the first row but I need all the "1", "2",......."15" from the list that is sorted by group assignment not just the fist one from the list. Any help would be much appreciated
  • To post as a guest, your comment is unpublished.
    DavonG · 2 months ago
    Is there a way to do a vlookup to return entire rows for one lookup value. If there were 4 rows with products titled DDD-4, can you do a search that will display the 4 products and the details in column 1,2,3,4?
    • To post as a guest, your comment is unpublished.
      skyyang · 2 months ago
      Hello, Claude,
      Maybe the below array formula can help you:(Note: after pasting this formula, please press Ctrl + Shift + Enter keys together.)
      =IFERROR(INDEX(A:A,SMALL(IF(ISNUMBER(SEARCH($E$2,$A$2:$A$12)),ROW($A$2:$A$12),""),ROW()-1)),"")
      After pressing the Ctrl + Shift + Enter keys, then drag the fill handle right to the cells, and then drag the fill hanlde down the cells to get the results.
      Please try, hopt it can help you, thank you!
  • To post as a guest, your comment is unpublished.
    DaVon · 2 months ago
    Is there a way to do vlookup to return multiple entire rows for one lookup value. If there were 4 rows with the product DDD-4 in the table, can vlookup return the entire row for all 4 results?
    • To post as a guest, your comment is unpublished.
      skyyang · 2 months ago
      Hello, DaVon,
      Maybe the below array formula can help you:(Note: after pasting this formula, please press Ctrl + Shift + Enter keys together.)
      =IFERROR(INDEX(A:A,SMALL(IF(ISNUMBER(SEARCH($E$2,$A$2:$A$12)),ROW($A$2:$A$12),""),ROW()-1)),"")
      After pressing the Ctrl + Shift + Enter keys, then drag the fill handle right to the cells, and then drag the fill hanlde down the cells to get the results.
      Please try, hopt it can help you, thank you!
  • To post as a guest, your comment is unpublished.
    Whitney · 2 months ago
    What if the values appears multiple times in the data set and I want them all to appear? As of right now only the first occurrence is appearing.
    • To post as a guest, your comment is unpublished.
      skyyang · 2 months ago
      Hello, Whitney ,
      Maybe the below array formula can help you:(Note: after pasting this formula, please press Ctrl + Shift + Enter keys together.)
      =IFERROR(INDEX(A:A,SMALL(IF(ISNUMBER(SEARCH($E$2,$A$2:$A$12)),ROW($A$2:$A$12),""),ROW()-1)),"")
      After pressing the Ctrl + Shift + Enter keys, then drag the fill handle right to the cells, and then drag the fill hanlde down the cells to get the results.
      Please try, hopt it can help you, thank you!
      • To post as a guest, your comment is unpublished.
        WHITNEY JULES · 2 months ago
        Thanks Skyyang! This was helpful.
  • To post as a guest, your comment is unpublished.
    Nick · 5 months ago
    Is there a way to ahve this apply to a large array of data, rather than returning a single row?
    • To post as a guest, your comment is unpublished.
      skyyang · 4 months ago
      Hello, Nick,
      Do you mean to apply this formula to multiple cells? If you want this, just need to selecte the first row formula, and then drag the fill handle down to apply this formula.
      Please try, thank you!
  • To post as a guest, your comment is unpublished.
    Sunil Joshi · 10 months ago
    Thank You Boss it is great....
  • To post as a guest, your comment is unpublished.
    Hyerim · 11 months ago
    Me either....
  • To post as a guest, your comment is unpublished.
    Leigh · 1 years ago
    didn't work for me...
    • To post as a guest, your comment is unpublished.
      skyyang · 1 years ago
      Hello, Leigh,
      What's your problem, you can insert a screenshot here to explain your problem.
      Thank you!
  • To post as a guest, your comment is unpublished.
    S. Rathinagiri · 1 years ago
    Amazing! Never knew that, we can use array formula for VLookup!
    • To post as a guest, your comment is unpublished.
      vikash · 10 months ago
      can you explainv how was that curly braces added { } by keyboard by using ctrl shift enter