Proper Syntax for IF and VLOOKUP
I am trying to create a formula that will run VLOOKUP if a cell is blank
This doesn't error but it leaves the formula field blank
=IF((USERR3 <> ""), (IF((VLOOKUP(SDR3, {SFDCUsers Range 1}, 2, false)) = 0, "No", "")))
Best Answer
-
=IF(USERR3 <> "", IF(VLOOKUP(SDR3, {SFDCUsers Range 1}, 2, false) = 0, "No", ""))
Give that a try. What exactly is the VLOOKUP pulling?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
=IF(USERR3 <> "", IF(VLOOKUP(SDR3, {SFDCUsers Range 1}, 2, false) = 0, "No", ""))
Give that a try. What exactly is the VLOOKUP pulling?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
That worked Paul... My nemesis the dreaded parenthesis
It is hitting a Salesforce user sheet to let me know if the user is active or not
-
Happy to help! 👍️
Please don't forget to mark the most appropriate response as the "Accepted Answer" so that others know a solution has been found.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
HI Paul,
I created a sheet which needs to vlookup to another sheet, but there are duplicate listing. I have created a column "Module" , which creates the unique rows. But how will I get to verify using the Module.
=IF(Module@row = "Option", VLOOKUP([Part Number]@row, {Bill of Materials - eBOM - 1 Range 22}, 1, false), 0)
Thanks!
-
@APalani Are you able to provide some screenshots for reference?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi Paul,
When there is no m during comparison, it is throwing #NO Match, but i want 0 in that place.
Is it possible to change?
-
You would need to wrap it in an IFERROR like so...
=IFERROR(IF(Module@row = "Option", VLOOKUP([Part Number]@row, {Bill of Materials - eBOM - 1 Range 22}, 1, false), 0), 0)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
HI Paul,
I am trying to verify the PN across the module with another sheet. I tried this formula, it keeps throwing error. Both Module and PN are in other sheet as well.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!