Forum Discussion

Anne_Fastre's avatar
Anne_Fastre
Copper Contributor
Jul 19, 2022

Lookup until...

I have a lookup value in a cell on worksheet 2 and would like to lookup all the records on worksheet 1 that match with the lookup value. The values from 2 columns found on worksheet 1 should be listed on worksheet 2. VLOOKUP only gives the first record found, but I would like to have a list of all the records with that certain value, so a kind of "loop lookup until key-value changes and return the requested values ". 

Is there a certain formula that does this?

 

Worksheet 1

Worksheet 2

 

 

4 Replies

  • Patrick2788's avatar
    Patrick2788
    Silver Contributor

    Anne_Fastre 

    This might work. Please update the sheet names and ranges to accommodate your workbook.

     

    =FILTER(Sheet1!I2:J1000,Sheet1!A2:A1000=C1)