Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Here is the formula I am using. The numeric if's work but the text one does
not. Cell AA7 contains a text statement and in that statement the term secure or security might appear. If if does I want to return an "X". If it does not I want to continue to evaluate the other cells. IF(AA7<"secur",IF(AND(E7<"",F7<"",G7<"",I7<"" ,P7<""),IF(AND(Q7<"",S7<"",V7<"",Q7<"",AB7<" "),"P","X"),"X"),"P") Thanks Todd |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
left(aa7,5)<"secur"
-- Don Guillett SalesAid Software "Todd" wrote in message ... Here is the formula I am using. The numeric if's work but the text one does not. Cell AA7 contains a text statement and in that statement the term secure or security might appear. If if does I want to return an "X". If it does not I want to continue to evaluate the other cells. IF(AA7<"secur",IF(AND(E7<"",F7<"",G7<"",I7<"" ,P7<""),IF(AND(Q7<"",S7<"",V7<"",Q7<"",AB7<" "),"P","X"),"X"),"P") Thanks Todd |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Don, that works. Sometimes the word is not first though, it might be
anywhere. Thats what has me stumped Todd "Don Guillett" wrote: left(aa7,5)<"secur" -- Don Guillett SalesAid Software "Todd" wrote in message ... Here is the formula I am using. The numeric if's work but the text one does not. Cell AA7 contains a text statement and in that statement the term secure or security might appear. If if does I want to return an "X". If it does not I want to continue to evaluate the other cells. IF(AA7<"secur",IF(AND(E7<"",F7<"",G7<"",I7<"" ,P7<""),IF(AND(Q7<"",S7<"",V7<"",Q7<"",AB7<" "),"P","X"),"X"),"P") Thanks Todd |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"Todd" wrote:
.. Sometimes the word is not first though, it might be anywhere. ... = IF(AA7<"secur", .. Try this as a replacement for the front IF part above: =IF(SUMPRODUCT(--ISNUMBER(SEARCH({"secure";"security"},AA7)))=0, .. Replace SEARCH with FIND if you need it to be case sensitive (SEARCH is not case sensitive) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Just a clarification that the suggested formula was based on your OP lines:
.. Cell AA7 contains a text statement and in that statement the term secure or security might appear. -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Todd wrote...
Here is the formula I am using. The numeric if's work but the text one does not. Cell AA7 contains a text statement and in that statement the term secure or security might appear. If if does I want to return an "X". If it does not I want to continue to evaluate the other cells. IF(AA7<"secur",IF(AND(E7<"",F7<"",G7<"",I7<" ",P7<""), IF(AND(Q7<"",S7<"",V7<"",Q7<"",AB7<""),"P"," X"),"X"),"P") It looks like you have a typo in this formula - there's no need for Q7<"" to appear twice. Could AA7 contain words like 'unsecured' or 'insecurity'? If so, should these be treated the same as finding 'secure' or 'security'? If so, use Max's formula. If not, would these words appear delimited by spaces? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel -find records which DO NOT contain a particular text string | Excel Discussion (Misc queries) | |||
Looking up a string of text within a string of text | Excel Worksheet Functions | |||
can you find specific text in a string ignoring any other text | Excel Discussion (Misc queries) | |||
Formulas dealing with text data | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions |