Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
How would I indicate that I want to count the number of dates fall
between Date A and Date B? I looked in the other message threads about subtracting one COUNTIF from another, but I don't think it works for dates. Thank you, Annie |
#2
![]() |
|||
|
|||
![]()
Put your test dates in a cell, then use COUNTIF like so
=COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2) "Annie" wrote: How would I indicate that I want to count the number of dates fall between Date A and Date B? I looked in the other message threads about subtracting one COUNTIF from another, but I don't think it works for dates. Thank you, Annie |
#3
![]() |
|||
|
|||
![]()
This also works
=COUNTIF(P1:P10,"<01/03/2005")-COUNTIF(P1:P10,"<01/02/2005") but make sure that you format the cell as general as it tends to try and force date format. -- HTH RP (remove nothere from the email address if mailing direct) "Duke Carey" wrote in message ... Put your test dates in a cell, then use COUNTIF like so =COUNTIF(A5:A30,"<="&A1)-COUNTIF(A5:A30,"<="&A2) "Annie" wrote: How would I indicate that I want to count the number of dates fall between Date A and Date B? I looked in the other message threads about subtracting one COUNTIF from another, but I don't think it works for dates. Thank you, Annie |
#4
![]() |
|||
|
|||
![]()
try
=sumproduct((rngaa1)*(rngA<b1)) -- Don Guillett SalesAid Software "Annie" wrote in message oups.com... How would I indicate that I want to count the number of dates fall between Date A and Date B? I looked in the other message threads about subtracting one COUNTIF from another, but I don't think it works for dates. Thank you, Annie |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date range criteria and Pivot tables (again!) | Excel Worksheet Functions | |||
Countif using format criteria....not number criteria? | Excel Worksheet Functions | |||
dsum with date criteria | Excel Worksheet Functions | |||
use a date range as criteria in a countif formula | Excel Worksheet Functions | |||
Formula to determine a future date based on criteria | Excel Worksheet Functions |