Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
i am using a search formula =(NOT(ISERROR(SEARCH(C$1,A2)))) which returns a
true or false answer. I would like it to return answers of Available instead of TRUE and out of stock for FALSE. How would I change the formula to do this? Thanks in advance, inthestands |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"inthestands" wrote:
i am using a search formula =(NOT(ISERROR(SEARCH(C$1,A2)))) which returns a true or false answer. I would like it to return answers of Available instead of TRUE and out of stock for FALSE. =if(not(iserror(search(C$1,A2))), "Available", "Out of Stock") |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=IF(ISNUMBER(SEARCH(C$1,A2)),"Available","Out of stock")
NOT(ISERROR()) is the same as ISNUMBER() for the search/find functions but it is less to write and one less function -- Regards, Peo Sjoblom "inthestands" wrote in message ... i am using a search formula =(NOT(ISERROR(SEARCH(C$1,A2)))) which returns a true or false answer. I would like it to return answers of Available instead of TRUE and out of stock for FALSE. How would I change the formula to do this? Thanks in advance, inthestands |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
=IF(D13="PAID","YES","NO") Can I change fonts colour | Excel Discussion (Misc queries) | |||
Complex if test program possible? If "value" "value", paste "value" in another cell? | Excel Discussion (Misc queries) | |||
Insert "-" in text "1234567890" to have a output like this"123-456-7890" | Excel Discussion (Misc queries) |