Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am trying to create an if statement where the string of text contains
total, if yes then perform calculation base on that row and column. if no total in text leave blank help |
#2
![]() |
|||
|
|||
![]()
=IF(ISERROR(FIND("Total", A1)),"",-yourCalculation-)
FIND returns #VALUE if "Total" is not in A1 Therefore, ISERROR returns False if "Total" is in A1 (i.e., it was found, no error) HTH, -- George Nicholson Remove 'Junk' from return address. "jerry" wrote in message ... I am trying to create an if statement where the string of text contains total, if yes then perform calculation base on that row and column. if no total in text leave blank help |
#3
![]() |
|||
|
|||
![]()
George,
I was so close! Thanks ! have a great afternoon/eve "George Nicholson" wrote: =IF(ISERROR(FIND("Total", A1)),"",-yourCalculation-) FIND returns #VALUE if "Total" is not in A1 Therefore, ISERROR returns False if "Total" is in A1 (i.e., it was found, no error) HTH, -- George Nicholson Remove 'Junk' from return address. "jerry" wrote in message ... I am trying to create an if statement where the string of text contains total, if yes then perform calculation base on that row and column. if no total in text leave blank help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formulas dealing with text data | Excel Worksheet Functions | |||
If statement for text | Excel Worksheet Functions | |||
Autofitting a row | Excel Discussion (Misc queries) | |||
Sort or Filter option? | Excel Worksheet Functions | |||
Read Text File into Excel Using VBA | Excel Discussion (Misc queries) |