# Combining "IF" formulas with "IFERROR" formulas

Options
edited 12/09/19

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"))

Tags:

• ✭✭✭✭✭✭
Options

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?

• ✭✭✭✭✭✭
Options

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?

• ✭✭✭
Options

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

• Options

This worked perfect thanks!

• Options

This worked perfectly as well

• ✭✭✭✭✭✭
Options

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!