Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I want to find the occurence if it falls between a range
EG Name Brth DT Tom 1/1/2005 Bill 2/1/2005 Sam 4/1/2005 Wendy 6/1/2005 I want a count the number of people who have birth days before April 1st and who Birth days after April 1st How do I do it |
#2
![]() |
|||
|
|||
![]()
Put the date you're looking to use as a break point into C1,
Then use this for *before* that date: =SUMPRODUCT((B2:B10<"")*(B2:B10<C1)) And this for *after* that date: =SUMPRODUCT((B2:B10<"")*(B2:B10C1)) You realize, that Sam will *not* be counted at all, since he was not born before *or* after April 1. To *include* the date in the formula, just add an equal sign: <= = *BUT* don't add it to *both* formulas, otherwise you'll count Sam *twice*. -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "joe" wrote in message ... I want to find the occurence if it falls between a range EG Name Brth DT Tom 1/1/2005 Bill 2/1/2005 Sam 4/1/2005 Wendy 6/1/2005 I want a count the number of people who have birth days before April 1st and who Birth days after April 1st How do I do it |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Update cell based on date range | Excel Discussion (Misc queries) | |||
How to total itmes if they fall between a date range | Excel Worksheet Functions | |||
Finding dates within a date range | Excel Worksheet Functions | |||
Completion Percentage of a date range | Excel Discussion (Misc queries) | |||
SUMPRODUCT with date range question | Excel Discussion (Misc queries) |