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

or

How to vlookup and return multiple matching values at once in Google sheet?

The normal Vlookup function in Google sheet can help you to find and return the first matching value based on a given data. But, sometimes, you may need to vlookup and return all matching values as following screenshot shown. Do you have any good and easy ways to solve this task in Google sheet?

Vlookup and return all matching values horizontally in Google sheet

Vlookup and return all matching values vertically in Google sheet


Vlookup and return all matching values horizontally in Google sheet


The following formula may help you to find and return all matching values from another column, please do as this:

1. Enter this formula: =TRANSPOSE( FILTER( $B$2:$B$16 , $A$2:$A$16 = D2 ) ) into a blank cell where you want to output the result, and then press Enter key, all values based on the given data have been returned horizontally, see screenshot:

Note: In the formula: B2:B16 is the range that you want to return matching values from, A2:A16 is the column data which contains the lookup value, D2 is the value that you want to search.

2. Then select the cell formula, and drag the fill handle down to the cells you want to return their matching values, all matching values have been extracted as following screenshot shown:


Vlookup and return all matching values vertically in Google sheet

If you want to vlookup and return the matching values and display vertically, the below formula may help you.

1. Please enter this formula: =FILTER( $B$2:$B$16 , $A$2:$A$16 = E1 ) into a blank cell, and press Enter key, all the corresponding values have been extracted vertically at once, see screenshot:

Note: In the formula: B2:B16 is the column data that you want to return matching values from, A2:A16 is the column which contains the lookup value, E1 is the value that you want to search.

2. Then select the formula cell, and drag the fill handle across to the right to apply this formula, and you will get the results as you need, see screenshot:


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.
    Linox · 1 years ago
    This function is limited to 10 rows only. Is there a way to extend to indefinitely?
  • To post as a guest, your comment is unpublished.
    Edmond · 1 years ago
    Is there a way to adjust this formula to only list unique values?
    • To post as a guest, your comment is unpublished.
      igweka · 8 months ago
      co-ask, please reply this
      • To post as a guest, your comment is unpublished.
        Dasfwa · 8 months ago
        Look into the UNIQUE function
  • To post as a guest, your comment is unpublished.
    Ross Ford · 1 years ago
    Worked perfectly, thank you.