Counting text in two columns

L

Lisa

I have two columns
A = words such as supporter, staff, board
B = regsitered, not registered etc

I want to count number with two pieces if info - i.e number of staff that
have registered; number of supporters that are not registered

Help! i have excel 2003
Thanks,
 
L

Lisa

Awesome - THanks! i was trying to do it where "supporter" was referred to as
a cell number (A263), which wasn't working - you presumably have to enter the
actual text.
 
S

ShaneDevenshire

Hi,


For technical reasons the following is a useful alternative:

=SUMPRODUCT(--(A$1:A$100=C1),--(B$1:B$100=D1))

First the references to C1 and D1 allow greater flexability, you might also
consider range names for A1:A100 and B1:B100, and the -- avoids some
problems when using * might cause a problem depending on data types, such as
errors.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top