Currently I am using a bunch of OR(CountIF statements to search a column for words that begin with something. Ex:
IF(OR(COUNTIF($Q2,"abc-"&"*"),COUNTIF($Q2,"def-"&"*"),COUNTIF($Q2,"ghi"&"*"),COUNTIF($Q2,"jkl-"&"*"),COUNTIF($Q2,"mno-"&"*"),COUNTIF($Q2,"pqr-"&"*"),COUNTIF($Q2,"stv-"&"*"),COUNTIF($Q2,"wzy-"&"*")),"Exempt","")
Is there a way to use one CountIF but have it check through a list? so this way its less coding and in the event I have to another another one I can just add it to the list
List Ex:
abc-
def-
ghi-
jkl-
mno-
qrs-
tvu-
wzy-
The hard part of this is the letters start each word so I need to have it search the table for anything beginning with and can have a wild card after.
Thank you
Bookmarks