View Single Post
  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way

=SUMPRODUCT(--(A2:A50="Red"),--(B2:B50="Square"))

to get better functionality you can replace the criteria with cell
references where you put the criteria like

=SUMPRODUCT(--(A2:A50=C2),--(B2:B50=D2))


Regards,

Peo sjoblom

"Ralph Smith" wrote:

I am trying to determine how many times my colors are associated with
the objects --

Colors Objects

Red Square
Red Circle
Red Square
Yellow Oval
Yellow Star
Yellow Star
Blue Star
Blue Square
Blue Square

For instance, I would like to know how many times Red and Square show
up and how many times Red and Circle show up. Is there a forumula
that will take a look at both columns.

Thanks.