In the formula posted above the words "Error was trapped" will be written in place of the result. You can change this to anything you like. Since your needs are simple, the answer is simple, too. Just write "" - nothing, blank, Null, zilch. The formula would look like this now:
- Code: Select all
=IF(ISNA(MATCH(B$3:B$6,5)),"",MATCH(B$3:B$6,5))
Just so that we don't loose you on the way, the IF function has three parts separated by commas
IF( [Condition], [Do if condition is True], [Do if Condition is False] )
In the above formula this scheme plays out like this:
=IF( Condition=[MATCH produces NA], True = "", False =MATCH )
Don't let the inverted True and False confuse you. In plain language: If it is True that MATCH produces NA, then insert nothing, Otherwise continue to insert the MATCH result.
Have a great day!
Have a great day!
Sisyphus
I do this for "honour and country" - much less of the latter, actually.
If I helped you, award points, plenty of them.
If I bored you, deduct points for being too long-winded. (I know, :lol)