Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default counting data in multiple columns

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default counting data in multiple columns

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.

"Lisa" wrote:

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
counting text across multiple columns WastingTime Excel Worksheet Functions 3 November 12th 07 06:04 PM
Counting rows from columns on multiple worksheets? The BriGuy[_2_] Excel Worksheet Functions 2 November 10th 07 03:47 AM
Counting from multiple columns The BriGuy[_2_] Excel Discussion (Misc queries) 0 September 17th 07 01:38 PM
Counting rows based on multiple columns Doyle Excel Worksheet Functions 1 September 29th 06 07:06 PM
Counting values in multiple columns Emily Excel Discussion (Misc queries) 2 May 14th 06 03:34 PM


All times are GMT +1. The time now is 10:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"