View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default assign value based on criteria and total

Hi,

Maybe this

=COUNTIF(C9:AB9,"a")+(COUNTIF(C9:AB9,"b")/2)

Mike

"rascal" wrote:

I have cells from c9 to AB9 that are populated with 1 of 4 different letters.
I have been able to get a count based on the criteria but what I need to do
is this:
If c9 to ab9 have an "a" in it count as 1 but if it has a "b" in it count as
.5. Is this possible.
Thanks for any suggestions