Match result is sometimes #N/A

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I'm using the following formula. The problem is that sometimes
my value isn't found and I'm not getting a blank but rather #N/A.

=IF(MATCH("POS*",B$83:B$782,0),"Please be advised the POS LOBs have been
converted to PPO LOBs", "")

1. Is there a fix to my formula? or
2. In the cell that results #N/A - I could set a conditional format to make
a white background and white font. However, when I try that - it's not
working either.

Cell format = #N/A doesn't do what I want.
 
Try this, Sharon:

=IF(ISNA(MATCH("POS*",B$83:B$782,0),"Please be advised the POS LOBs have
been converted to PPO LOBs", ""),"",MATCH("POS*",B$83:B$782,0),"Please be
advised the POS LOBs have been converted to PPO LOBs", ""))
************
Anne Troy
www.OfficeArticles.com
 
=IF(ISNA(Your_Formula),"",Your_Formula)

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------­------------------------------­----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------­------------------------------­----------------
 
Thanks for getting me started - getting an error with this formula - probably
something silly - late in the day.

=IF(ISNA(MATCH ("POS*",B$83:B$782,0)),"", MATCH "POS*",B$83:B$782,0),"Please
be advised the POS LOBs have been converted to PPO LOBs", "")
 
=IF(ISNA(MATCH ("POS*",B$83:B$782,0)),"",MATCH ("POS*",B$83:B$782,0),"Please
be advised the POS LOBs have been converted to PPO LOBs")

Try that, I think.
************
Anne Troy
www.OfficeArticles.com
 
My snytax is still incorrect - I'm getting the error -
"You've entered too many arguments for this function".
The following is a cut and paste of my formula -

=IF(ISNA(MATCH("POS",B$83:B$782,0))," ",MATCH("POS",B$83:B$782,0), "Please
be advised the POS LOBs have been converted to PPO LOBs")

This formula looks right to me. Excel frustrates me so bad some days!
 
You don't need the second MATCH formula:

=IF(ISNA(MATCH("POS*",B$83:B$782,0))," ","Please be advised the POS LOBs
have been converted to PPO LOBs")
 
Try...

=IF(ISNUMBER(MATCH("POS",B$83:B$782,0)),MATCH("POS",B$83:B$782,0),
"Please be advised the POS LOBs have been converted to PPO LOBs")

Hope this helps!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top