counting data in multiple columns

L

Lisa

Hello,
i have survey results which show male, female, distance walked etc. in
separate columns

I want to analyse how many
females, walk 30km
females walk 50km
males walk 30km etc etc

what's the best way of doing this? - countif ...???
and how do i do it?
 
J

JMB

I am assuming you may want to know how many females walked 30 or more km, but
less than 50 (versus how many walked exactly 30 km).

try:
=Sumproduct(--(A1:A10="female"), --(B1:B10>=30), --(B1:B10<50))

if my assumption is wrong and you have trouble w/getting it to work, post
back. of course, you can replace "female", 30, and 50 with cell references
instead of hardcoding the criteria into the formula.
 

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