Hi, I tried this, a formula to count the occurrence of the state abbreviations in a row of them.
I've obviously gone wrong (I get, "The formula you typed contains an error," though I see none. I edited this from a countif for numbers.
If anyone can tell where I have gone wrong, that'd be great; thanks!
My effort:
=COUNTIF(BZ2,{"CA","AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN";16,"IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"})
I've obviously gone wrong (I get, "The formula you typed contains an error," though I see none. I edited this from a countif for numbers.
If anyone can tell where I have gone wrong, that'd be great; thanks!
My effort:
=COUNTIF(BZ2,{"CA","AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN";16,"IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY"})