Combining "IF" formulas with "IFERROR" formulas
I am attempting to return a simple YES or NO if a company I have is in another sheet. I created a match formula in one column and in the adjacent column, I was hoping to do a simple IF statement to return the appropriate results. Due to the companies which did not return a match being populated with a #NO MATCH error, I am unable to use the simple IF statement. I then attempted to use a layered IF statement with the second function being an IF ERROR formula. I am having issues with that as well. My formula is below. Please let me know if I am missing something.
=IF([Match Formula]2 > 0.5, "Yes", IFERROR([Match Formula]2, "No"))
Best Answer
-
There are two different options. The first one is wrapping the IF statement in the IFERROR.
.
=IFERROR(IF([Match Formula]2 > .5, "Yes"), "No")
.
If that doesn't work, could you post your MATCH formula?
Answers
-
There are two different options. The first one is wrapping the IF statement in the IFERROR.
.
=IFERROR(IF([Match Formula]2 > .5, "Yes"), "No")
.
If that doesn't work, could you post your MATCH formula?
-
I would probably use the ISERROR() function in this case because you're checking the result of a calculation. Then I would wrap that with the IF() function. Something like:
=IF(ISERROR([Match Formula]2),"No", "Yes")
Might something like that work?
-Jeremy
-
This worked perfect thanks!
-
This worked perfectly as well
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!