Nested If with Vlookup
If statement with Vlookup as the true value.
I have a sheet that is doing a vlookup from one column but if one criteria is met, then I need it to vlookup a second list.
I'm using this for the main vlookup: =VLOOKUP([L2]@row, {POC}, 2, false)
and if Last, First is the name in L2, then I need it to look at L3 and retrun that value. Is this possible?
=VLOOKUP([L3]@row, {POC}, 2, false)
This is what I'm working with but doesn't work.
=IF(L2, = "Last, First", then (VLOOKUP([L3]@row, {POC}, 2, false)) VLOOKUP([L2]@row, {POC}, 2, false))
Thank you!!
Best Answer
-
It looks like your syntax might just be off. Try "=IF([L2]@row = "Last, First", VLOOKUP([L3]@row, {POC}, 2, false), VLOOKUP([L2]@row, {POC}, 2, false))"
Answers
-
It looks like your syntax might just be off. Try "=IF([L2]@row = "Last, First", VLOOKUP([L3]@row, {POC}, 2, false), VLOOKUP([L2]@row, {POC}, 2, false))"
-
Thank you so much Terri!!! That worked!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!