IF statements

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

Guest

Hello:

I don't understand why I can't get this IF statement to work. In column E,
I have among other things cells that contain the phrase "CREDIT CARD".

In column C, I want the cells to say "VISA" for cells in E that say "CREDIT
CARD".

So, here's my statement:
=IF($E7="MBI CREDIT CARD","VISA","")

Why isn't this working? Instead of showing "VISA", it's blank! That's not
correct.

Thanks!

childofthe1980s
 
Just a WAG but try

=IF(trim($E7)="MBI CREDIT CARD","VISA","")

Assuming that the spelling a capitalization is correct...
 
Hi

This should work

=IF(ISERROR(FIND("CREDIT CARD",UPPER($E7),1)),"","VISA")
 

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