Hello,
Using excel 2000.
I am creating a question which needs to creating points for answer.
Cell A187
Example:
What colour of car is expensive?
Answer:
blue, yellow, green.
typing in formula in Cell A188
If a person type blue, Cell A2 will get 1.
If a person type blue and green, Cell A2 will get 2 and so on.
I have 2 codes for this cell but only managed to get 1 point.
=IF( SUM(--ISNUMBER(SEARCH({"blue","green","yellow"}, A187))),"1","0")
another one is
=IF(ISNUMBER(SEARCH("blue",A187)),1,IF(ISNUMBER(SEARCH("green",A187)),1,0))
Can anyone improve or give me a new formula. Very much Thanks!!!
Bookmarks