Vlookup from two Sheets into one sheet
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
-
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
-
I don't see any obvious errors in the formula you posted. Are you able to provide a screenshot of the formula open in the sheet as if you are about to edit it?
-
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.
-
Thank you @Nick Korna ,
This solved my problem
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!