#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Woman age 40

Let's say one colomn is a list of different gender types (man, woman, man,
woman and so on) and another colomn a a list og ages (25, 35, 40, 35 and so
on). What formula should I use to define how many woman of age 40? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Woman age 40

With gender type in ColA and age in Col B try the below

=SUMPRODUCT(--(A1:A100="Woman"),--(B1:B100=40))

If this post helps click Yes
---------------
Jacob Skaria


"Tony_student" wrote:

Let's say one colomn is a list of different gender types (man, woman, man,
woman and so on) and another colomn a a list og ages (25, 35, 40, 35 and so
on). What formula should I use to define how many woman of age 40? Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Woman age 40

Something was wrong.
Can I send you by email?
Thanks.


"Jacob Skaria" wrote:

With gender type in ColA and age in Col B try the below

=SUMPRODUCT(--(A1:A100="Woman"),--(B1:B100=40))

If this post helps click Yes
---------------
Jacob Skaria


"Tony_student" wrote:

Let's say one colomn is a list of different gender types (man, woman, man,
woman and so on) and another colomn a a list og ages (25, 35, 40, 35 and so
on). What formula should I use to define how many woman of age 40? Thanks

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Woman age 40

How about explaining how the suggestions didn't work.

And sharing the version of the formula you tried. You may have made a mistake
in entering it.

And what version of excel are you using?

Tony_student wrote:

Let's say one colomn is a list of different gender types (man, woman, man,
woman and so on) and another colomn a a list og ages (25, 35, 40, 35 and so
on). What formula should I use to define how many woman of age 40? Thanks


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Woman age 40

Try the below in a fresh workbook. Your data starts from Row1 with no
headers...and runs upto row5 and in cell C1 place the formula

Col A Col B Col C
Woman 40 =SUMPRODUCT(--(A1:A100="Woman"),--(B1:B100=40))
Woman 40
Man 10
Woman 10
Man 10


If this post helps click Yes
---------------
Jacob Skaria


"Tony_student" wrote:

Something was wrong.
Can I send you by email?
Thanks.


"Jacob Skaria" wrote:

With gender type in ColA and age in Col B try the below

=SUMPRODUCT(--(A1:A100="Woman"),--(B1:B100=40))

If this post helps click Yes
---------------
Jacob Skaria


"Tony_student" wrote:

Let's say one colomn is a list of different gender types (man, woman, man,
woman and so on) and another colomn a a list og ages (25, 35, 40, 35 and so
on). What formula should I use to define how many woman of age 40? Thanks



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Woman age 40

Everything is fine now! I changed "," sign to ";" and everything works.

Here is another problem:
Define the most popular hair colorof these woman of age 40, provide the
exact number of woman with this (most popular color)
Thanks!

"Dave Peterson" wrote:

How about explaining how the suggestions didn't work.

And sharing the version of the formula you tried. You may have made a mistake
in entering it.

And what version of excel are you using?

Tony_student wrote:

Let's say one colomn is a list of different gender types (man, woman, man,
woman and so on) and another colomn a a list og ages (25, 35, 40, 35 and so
on). What formula should I use to define how many woman of age 40? Thanks


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default Woman age 40

Everything is fine now! I changed "," sign to ";" and everything works.

Here is another problem:
Define the most popular hair colorof these woman of age 40, provide the
exact number of woman with this (most popular color)
Thanks!


"Jacob Skaria" wrote:

Try the below in a fresh workbook. Your data starts from Row1 with no
headers...and runs upto row5 and in cell C1 place the formula

Col A Col B Col C
Woman 40 =SUMPRODUCT(--(A1:A100="Woman"),--(B1:B100=40))
Woman 40
Man 10
Woman 10
Man 10


If this post helps click Yes
---------------
Jacob Skaria


"Tony_student" wrote:

Something was wrong.
Can I send you by email?
Thanks.


"Jacob Skaria" wrote:

With gender type in ColA and age in Col B try the below

=SUMPRODUCT(--(A1:A100="Woman"),--(B1:B100=40))

If this post helps click Yes
---------------
Jacob Skaria


"Tony_student" wrote:

Let's say one colomn is a list of different gender types (man, woman, man,
woman and so on) and another colomn a a list og ages (25, 35, 40, 35 and so
on). What formula should I use to define how many woman of age 40? Thanks

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
I am an Idiot Woman Pepper New Users to Excel 18 January 1st 09 01:10 AM


All times are GMT +1. The time now is 06:35 AM.

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"