If Column 1 contains "Yes", Vlookup data from Column 2.

Hi Community,
I want to lookup data, based on data on my current sheet,
If Column 1 contains "Yes", Vlookup data from Column 2.
IF Column 1 CONTAINS "YES" VLOOKUP Other Sheet Reference,2,false
Any way to do that?
Thank you in advance! π
Answers
-
=IF( CONTAINS("Yes", [Column 1]@row)="True", VLOOKUP (Other Sheet Reference,2,false),"")
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
-
i corected it, to match exactly, now Comes up as #NO MATCH..
Pls try it yourself, and let me know.
=IF(CONTAINS("No Match", Primary@row) = "True", VLOOKUP([Column 2]@row, {Sheet 1 Range 1}, 2, false), "")
Thank you!
-
@Mark Cronk Just a quick note... CONTAINS functions don't necessarily need = "True". You can just use
=IF(CONTAINS("Yes", [Column 1]@row), output)
@A Rose For the error, that means it is not finding whatever is in [Column 2]@row in the 1st column of the range.
-
Any other suggestions?
those didnβt work.
try it on your own sheet before.
Thanks! ππ
-
Hi @A Rose ,
Can you upload screenshots of your sheets and formulas so we can help find the error?
Thank you,
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
@A Rose Make sure that whatever is in [Column 2]@row is in the far left column of {Sheet 1 Range 1}.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!