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
 Smartsheet Customer Resources
 62.3K Get Help
 364 Global Discussions
 199 Industry Talk
 428 Announcements
 4.4K Ideas & Feature Requests
 136 Brandfolder
 127 Just for fun
 128 Community Job Board
 445 Show & Tell
 28 Member Spotlight
 1 SmartStories
 283 Events
 35 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!