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
 10.5K Get Help
 61 Global Discussions
 46 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 54 Brandfolder
 124 Just for fun
 50 Community Job Board
 466 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!