ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   COUNT INBETWEEN A DATE RANGE (https://www.excelbanter.com/excel-discussion-misc-queries/259237-count-inbetween-date-range.html)

Dave

COUNT INBETWEEN A DATE RANGE
 
Hi

Does anyone know how to count the number of occurences between a data range?

Thanks

Teethless mama

COUNT INBETWEEN A DATE RANGE
 
let's say your criteria in C1: early date, D1: latest date
date in column A, and number in column B

=SUMPRODUCT((A1:A100=C1)*(A1:A100<=D1)*(B1:B100< ""))



"Dave" wrote:

Hi

Does anyone know how to count the number of occurences between a data range?

Thanks


Dave

COUNT INBETWEEN A DATE RANGE
 
Sorry...I missed typed this. What I emant was a date range.

Thanks

"Teethless mama" wrote:

let's say your criteria in C1: early date, D1: latest date
date in column A, and number in column B

=SUMPRODUCT((A1:A100=C1)*(A1:A100<=D1)*(B1:B100< ""))



"Dave" wrote:

Hi

Does anyone know how to count the number of occurences between a data range?

Thanks


Ron Rosenfeld

COUNT INBETWEEN A DATE RANGE
 
On Thu, 18 Mar 2010 06:56:01 -0700, Dave
wrote:

Hi

Does anyone know how to count the number of occurences between a data range?

Thanks


=countif(rng,"=" & StartDate) - countif(rng,"" & EndDate)

--ron

Fred Smith[_4_]

COUNT INBETWEEN A DATE RANGE
 
That's what TM assumed. What happened when you tried his suggestion?

Regards,
Fred

"Dave" wrote in message
...
Sorry...I missed typed this. What I emant was a date range.

Thanks

"Teethless mama" wrote:

let's say your criteria in C1: early date, D1: latest date
date in column A, and number in column B

=SUMPRODUCT((A1:A100=C1)*(A1:A100<=D1)*(B1:B100< ""))



"Dave" wrote:

Hi

Does anyone know how to count the number of occurences between a data
range?

Thanks




All times are GMT +1. The time now is 01:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com