Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
BYBaby
 
Posts: n/a
Default Count age and gender records from two different columns

Using a COUNTIF formula, I want to count the number of records based on a
certain age and gender which are in two different columns
--
Yvonne Mays
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Can't use two independent criteria with COUNTIF().

Try

=SUMPRODUCT(--(A1:A1000=<certain age),--(B1:B1000=<certain gender))

In article ,
BYBaby wrote:

Using a COUNTIF formula, I want to count the number of records based on a
certain age and gender which are in two different columns

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(A2:A100=age),--(B2:B100="gender"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"BYBaby" wrote in message
...
Using a COUNTIF formula, I want to count the number of records based on a
certain age and gender which are in two different columns
--
Yvonne Mays



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



All times are GMT +1. The time now is 11:45 AM.

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

About Us

"It's about Microsoft Excel"