Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a following formula to extact text string.
=IF(ISERROR(SEARCH("Blind Discount",A3)),"","Blind Discount") I want to add one more criteria. If the text string has "DLL" or "KEY" word in it, then I want result to be null otherwise "Blind Discount". thanks, Dinesh |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Do you mean
=IF(OR(NOT(ISERROR(SEARCH("DLL",A3))),NOT(ISERROR( SEARCH("KEY",A3)))),"",IF(ISERROR(SEARCH("Blind Discount",A3)),"","Blind Discount")) -- __________________________________ HTH Bob "Dinesh" wrote in message ... I have a following formula to extact text string. =IF(ISERROR(SEARCH("Blind Discount",A3)),"","Blind Discount") I want to add one more criteria. If the text string has "DLL" or "KEY" word in it, then I want result to be null otherwise "Blind Discount". thanks, Dinesh |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way to do this...
(all in one line) =IF(MIN(SEARCH({"dll","key","Blind Discount"},A3&{"dll","key","Blind Discount"}))LEN(A3),"","Blind Discount") If this post helps click Yes --------------- Jacob Skaria "Dinesh" wrote: I have a following formula to extact text string. =IF(ISERROR(SEARCH("Blind Discount",A3)),"","Blind Discount") I want to add one more criteria. If the text string has "DLL" or "KEY" word in it, then I want result to be null otherwise "Blind Discount". thanks, Dinesh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text string to Numeric string | Excel Discussion (Misc queries) | |||
Change 3 letter text string to a number string | Excel Discussion (Misc queries) | |||
Splitting a text string into string and number | Excel Discussion (Misc queries) | |||
want to remove all text characters equal to one character in length from text string | Excel Worksheet Functions | |||
want to remove all text characters equal to one character in length from text string | Excel Worksheet Functions |