Forum Discussion

mgroms's avatar
mgroms
Copper Contributor
Apr 16, 2020
Solved

Looking up values in Tab A based on values in Tab B (column A, column C)

I am trying to pull value into a row / cell in Tab A based on values mentioned in column / row A, column / row C in Tab B. For example, when I select a value "1" or "2" I am planning to get value "lo...
  • mathetes's avatar
    mathetes
    Apr 20, 2020

    mgroms 

     

    Modify the VLOOKUP by adding IFERROR. The correct syntax is illustrated here.

    =IFERROR(VLOOKUP($A5,Source,2,0),"")

     

    Please also understand that the answers we've given you are not the only way to accomplish something like this. One of the wonders of Excel is that there are always multiple routes to the same destination; which of those routes is ideal can depend a lot on the bigger picture. What  @Riny_van_Eekelen and I have demonstrated here are a couple of the more basic ways to retrieve a value from another table.

Resources