Forum Discussion

GKGK13's avatar
GKGK13
Copper Contributor
Mar 19, 2024
Solved

VLOOKUP Question (Reference Sheet and Blanks)

Hello,   I need help creating a VLOOKUP formula to fill Sheet 1.  This is based on reference data that is contained within Sheet 2.  An example of what the results should look like is shown within ...
  • HansVogelaar's avatar
    HansVogelaar
    Mar 21, 2024

    GKGK13 

    FILTER is available in Microsoft 365 and Office 2021, not in older versions.

    In C2:

    =IFERROR(IF(VLOOKUP($B2,'REFERENCE DATA'!$A$2:$D$4,COLUMN()-1,FALSE)="","",VLOOKUP($B2,'REFERENCE DATA'!$A$2:$D$4,COLUMN()-1,FALSE)),"")

    Replace REFERENCE DATA with the actual name of the data sheet.

    Fill to the right to column E, then down to row 4 (or vice versa).

Resources