Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default setting more than one condition and multiple ranges

Hi, I am using excel 2003
I have one column where each cell holds "male" or "female" as text. I count
each value using countif.
I want to further refine my result by reference to another range which where
each cell either has a date or is blank.
I have tried to use the AND and IF commands and nesting elements but I am
not sure of the syntax
Can anybody help?
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default setting more than one condition and multiple ranges

Try sumproduct

=Sumproduct(--(C1:C100="female"),--(D1:D10025))


"Sapper" wrote:

Hi, I am using excel 2003
I have one column where each cell holds "male" or "female" as text. I count
each value using countif.
I want to further refine my result by reference to another range which where
each cell either has a date or is blank.
I have tried to use the AND and IF commands and nesting elements but I am
not sure of the syntax
Can anybody help?
Thank you

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
SUMIF with two condition from two ranges JBoyer Excel Worksheet Functions 3 September 4th 08 09:34 PM
Sum If with two ranges and condition Nuno Jácome Excel Worksheet Functions 6 May 20th 08 08:30 PM
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
Setting multiple ranges to print bluegrassstateworker Excel Discussion (Misc queries) 0 May 1st 07 08:21 PM
Counting Across Multiple Ranges, Based on Condition Stacy Excel Worksheet Functions 2 June 22nd 05 08:35 PM


All times are GMT +1. The time now is 12:32 PM.

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"