Vlookup from two Sheets into one sheet

Options

Good day,

Im trying to do a Vlookup from two sheets into one cell.

If the 1st sheet data is not a match, it will give an error, then I want the sheet to look at the different sheet for the needed data.


Im trying something like this but getting a #UNPARSEABLE error


=IFERROR(VLOOKUP([TRIP REF]@row, {Master Sheet - A Range 1}, 9, false), VLOOKUP([TRIP REF]@row, {Master Sheet - B Range 1}, 3, false), "")


Where am i going wrong?

Best Answer

  • Nick Korna
    Nick Korna ✭✭✭✭✭✭
    Answer ✓
    Options

    Hi @Drikus.Botha

    You need another IFERROR adding, as the final part of your formula is outside the initial one (i.e. to check sheet B if sheet A doesn't generate a result:

    =IFERROR(IFERROR(VLOOKUP(TRIP@row, {Master Sheet - A Range 1}, 9, false), VLOOKUP(TRIP@row, {Master Sheet - B Range 1}, 9, false)), "")

    This is assuming no problems with ranges etc., but I would guess those are all OK.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!