Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(OR(ISNUMBER(SEARCH("WALGREENS",E5)),ISNUMBER(F IND("CVS",E5))),60,
IF(ISNUMBER(SEARCH("TARGET",E5)),120, IF(ISNUMBER(SEARCH("Babies",E5)),30,""))) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Dan Hale" wrote in message ... I need a formula that will look in a cell that contains text and if that text contains certain words the formula will return a value based on which text it finds and example will be something like this: The cell the formula looks at might contain the following: Walgreens 1234 abc CVS 5678 def Target 9012 ghi Babies R US 3456 jklmno I need the formula to return a 60 if the cells contains WALGREENS OR CVS return 120 if the cell contains Target or return 30 if the cell contains Babies are us. Any help would be greatly appreciated. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formatting Against a Formula - not it's result | Excel Discussion (Misc queries) | |||
Conditional Sum Formula? | Excel Discussion (Misc queries) | |||
need a conditional formula to generate numbers divisible by 4 between a given starting no. & end No. | Excel Worksheet Functions | |||
Conditional formatting...cont. from 9/25 | Excel Discussion (Misc queries) | |||
Formula Dependant Conditional Formatting | Excel Discussion (Misc queries) |