Database

S

Sophie Mann

Hi there,

I have set up a very basic database and am having trouble
with one thing.

There are multiple columns with personal information in
them.

Two columns are Sex and Shortlist. The sex column have M
or F entered into them and Shortlist is a simple Yes or No.

I am trying to count the number of Shortlisted Males and
Females. ie. How many Males (or Females)have a Yes in the
Shortlist Column.

Thanks
S
 
C

Chip Pearson

Sophie,

Use a formula like the following:

=SUMPRODUCT((A1:A10="M")*(B1:B10="Yes"))

where A1:A10 contains "M" or "F" and B1:B10 contains "Yes" or
"No". Adjust your ranges accordingly.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

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