Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check if a cell contains text
I need to incorporate the function =ISTEXT(D5) into an existing if
statement. The existing if statement is =IF(D5="One Panel","NA",IF(D5="Self Storing","NA","??")) in my worksheet there will be times when cell D5 contains text and other times when the cell contains nothing at all. When D5 contains nothing, I need the cell recieving the if statment to also be left blank. Make sense? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Check if a cell contains text
One way:
=IF(D5="","",IF(OR(D5="One Panel",D5="Self Storing"), "NA", "??")) In article , "GreenMonster" wrote: I need to incorporate the function =ISTEXT(D5) into an existing if statement. The existing if statement is =IF(D5="One Panel","NA",IF(D5="Self Storing","NA","??")) in my worksheet there will be times when cell D5 contains text and other times when the cell contains nothing at all. When D5 contains nothing, I need the cell recieving the if statment to also be left blank. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Check if text doesn't fit in cell | Excel Discussion (Misc queries) | |||
How to set text property of a check box to value of a cell? | Charts and Charting in Excel | |||
'CHECK IF A CELL IN EXCEL HAS ANY TEXT IN IT' | Excel Worksheet Functions | |||
Check if cell contains certain text | Excel Worksheet Functions | |||
check variable(text) with cell (text), textbox | Excel Programming |