What formula would accomplish: If no comma found in A1 then...
P Pete_UK Dec 9, 2008 #2 Try this: =IF(ISERROR(SEARCH(",",A1)), etc or =IF(NOT(ISNUMBER(SEARCH(",",A1))), etc You can also use FIND instead of SEARCH. Hope this helps. Pete
Try this: =IF(ISERROR(SEARCH(",",A1)), etc or =IF(NOT(ISNUMBER(SEARCH(",",A1))), etc You can also use FIND instead of SEARCH. Hope this helps. Pete
G Gary''s Student Dec 9, 2008 #3 =IF(LEN(SUBSTITUTE(A1,",",""))=LEN(A1),"no comma","its got comma(s)")
S Shane Devenshire Dec 9, 2008 #5 Hi, To add flexibility enter the search item in another cell, say C1 and then =IF(SEARCH(C1,A1),"found","not found")
Hi, To add flexibility enter the search item in another cell, say C1 and then =IF(SEARCH(C1,A1),"found","not found")
T T. Valko Dec 9, 2008 #6 =IF(SEARCH(C1,A1),"found","not found") Click to expand... If the item isn't found that formula will return an error. It will *never* return "not found".
=IF(SEARCH(C1,A1),"found","not found") Click to expand... If the item isn't found that formula will return an error. It will *never* return "not found".