Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
IF statements
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
IF statements
Just a WAG but try
=IF(trim($E7)="MBI CREDIT CARD","VISA","") Assuming that the spelling a capitalization is correct... -- HTH... Jim Thomlinson "childothe1980s" wrote: 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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
IF statements
Hi
This should work =IF(ISERROR(FIND("CREDIT CARD",UPPER($E7),1)),"","VISA") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
IF Statements (Mutliple Statements) | Excel Worksheet Functions | |||
IF & AND statements | Excel Worksheet Functions | |||
if/and statements | Excel Worksheet Functions | |||
if statements | Excel Discussion (Misc queries) | |||
operator statements, shorting when reusing one of the statements? | Excel Programming |