Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 440
Default SUMPRODUCT question

I want to count seperately the number of women and men within age groups from
the given data.

I can find out how many combined entries are in each age group with this:
SUMPRODUCT((G4:G40018)*1,(G4:G400<=34)*1)
other age groups are 35-39, 40-44, 45-49 and so on up to 70+
If column F has M or F to identify gender, how can I use that to seperate
the male entries from female entries for each group?


I wish to create a small table detailing


--
Traa Dy Liooar

Jock
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default SUMPRODUCT question

Hi

=SUMPRODUCT((G4:G40018)*1,(G4:G400<=34)*1,(F4:F40 0="M")*1)

Regards,
Per

"Jock" skrev i meddelelsen
...
I want to count seperately the number of women and men within age groups
from
the given data.

I can find out how many combined entries are in each age group with this:
SUMPRODUCT((G4:G40018)*1,(G4:G400<=34)*1)
other age groups are 35-39, 40-44, 45-49 and so on up to 70+
If column F has M or F to identify gender, how can I use that to seperate
the male entries from female entries for each group?


I wish to create a small table detailing


--
Traa Dy Liooar

Jock


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 440
Default SUMPRODUCT question

Thanks Per, just the job.
--
Traa Dy Liooar

Jock


"Per Jessen" wrote:

Hi

=SUMPRODUCT((G4:G40018)*1,(G4:G400<=34)*1,(F4:F40 0="M")*1)

Regards,
Per

"Jock" skrev i meddelelsen
...
I want to count seperately the number of women and men within age groups
from
the given data.

I can find out how many combined entries are in each age group with this:
SUMPRODUCT((G4:G40018)*1,(G4:G400<=34)*1)
other age groups are 35-39, 40-44, 45-49 and so on up to 70+
If column F has M or F to identify gender, how can I use that to seperate
the male entries from female entries for each group?


I wish to create a small table detailing


--
Traa Dy Liooar

Jock



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default SUMPRODUCT question

Hi Jock

Thanks for your reply.

Glad to help

Regards,
Per

"Jock" skrev i meddelelsen
...
Thanks Per, just the job.
--
Traa Dy Liooar

Jock


"Per Jessen" wrote:

Hi

=SUMPRODUCT((G4:G40018)*1,(G4:G400<=34)*1,(F4:F40 0="M")*1)

Regards,
Per

"Jock" skrev i meddelelsen
...
I want to count seperately the number of women and men within age groups
from
the given data.

I can find out how many combined entries are in each age group with
this:
SUMPRODUCT((G4:G40018)*1,(G4:G400<=34)*1)
other age groups are 35-39, 40-44, 45-49 and so on up to 70+
If column F has M or F to identify gender, how can I use that to
seperate
the male entries from female entries for each group?


I wish to create a small table detailing


--
Traa Dy Liooar

Jock




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
Sumproduct question Chris Excel Discussion (Misc queries) 1 February 5th 08 12:33 AM
Sumproduct question wx4usa Excel Discussion (Misc queries) 1 July 30th 07 11:52 PM
SUMPRODUCT Question John Moore Excel Discussion (Misc queries) 2 October 18th 05 12:31 PM
Question about sumproduct Jason Excel Discussion (Misc queries) 1 April 21st 05 05:44 PM
Question about sumproduct bj Excel Discussion (Misc queries) 0 April 21st 05 05:40 PM


All times are GMT +1. The time now is 08:18 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"