Formula confusion !!!!
I would like a formula that would give rise to a different result depending on the number occurrences in a particular cell.
I am currently using the following formula;
=IF(COUNT(SEARCH({"SP","HA","PA"},C2:C50)),"MATCH" ,"D")
would like a result of "ONE" if SP or HA or PA occurs in cell
a result of "TWO" if any combination of two matches occur and "THREE" for any combination of three.
Please help !
Many thanks
|