Forum Discussion

forsec0's avatar
forsec0
Copper Contributor
Feb 15, 2023
Solved

vlookup

I need to get vlookup to continue searching table rows, that contain my search value, until it finds a non-blank cell I am looking to return or the search value is no longer listed. My vlookup comman...
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Feb 15, 2023

    forsec0 VLOOKUP can't do that as it will only return the first match that it finds. And if that first one is a blank, you get 0. But since you are on MS365, try this:

    =UNIQUE(FILTER(Sheet2!B:B,(Sheet2!A:A=$C3)*(Sheet2!B:B<>"")))