Hello Everyone,
A few days ago, I was recently working with a colleague and trying something in Excel to see if I could possibly combine an IFERROR(VLOOKUP()) formula with how I typically use IF(ISNA()). I do not have an exact this that I can upload, but I think I can easily explain it with some generic examples.
=IFERROR(VLOOKUP(F2,'Phase 2'!$A$2:$A$41,1,FALSE),VLOOKUP(F2,'Phase 3'!$A$2:$A$41,1,FALSE))
This is to find a value match from 2 different worksheets. However, instead of pulling in the value in those separate worksheets that I am looking up, I want to see if I could replace each of those VLOOKUPs to denote a specific value if it finds a match. When I usually use one VLOOKUP formula and want to accomplish this, I would do something like the below.
=IF(ISNA(VLOOKUP(F2,'Phase 2'!$A$2:$A$41,1,FALSE),"Phase 2 Not Found","Phase 2 Found")
My question is simply to see if it is possible to combine both of these approaches. I essentially want to use 2 VLOOKUPs in the first IFERROR(VLOOKUP(),VLOOKUP()) formula but want to include logic to essentially provide a simple return value if it finds a match from either lookup but each would need to return it's own value. So if I were to be trying this with the IFERROR example used above, it could return something like "Phase 2" from the first lookup and "Phase 3" from the second lookup.
Please let me know if you have any other questions. Again, my apologies for not having an exact example that I can upload here this time.
Bookmarks