ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I want to count the total Number of dates between two dates How? (https://www.excelbanter.com/excel-worksheet-functions/175873-i-want-count-total-number-dates-between-two-dates-how.html)

seshu

I want to count the total Number of dates between two dates How?
 
I have a Date Column and want to count number of dates which fall between two
specified dates. i.e

Date
01/20/08 i wish to count the number of dates in this column =
01/15/08 and
02/15/08 <=02/15/08. ffrom the example we should get the count as 3.
03/20/08 can Use please help me with the formula?
01/25/08 Thanks

seshadri

T. Valko

I want to count the total Number of dates between two dates How?
 
Try one of these.

Using cells to hold the date boundaries:

C1 = 1/15/2008
D1 = 2/15/2008

Dates in column A

=INDEX(FREQUENCY(A:A,C1:D1-{1,0}),2)

=COUNTIF(A:A,"="&C1)-COUNTIF(A:A,""&D1)

Format as GENERAL or NUMBER


--
Biff
Microsoft Excel MVP


"seshu" wrote in message
...
I have a Date Column and want to count number of dates which fall between
two
specified dates. i.e

Date
01/20/08 i wish to count the number of dates in this column =
01/15/08 and
02/15/08 <=02/15/08. ffrom the example we should get the count as 3.
03/20/08 can Use please help me with the formula?
01/25/08 Thanks

seshadri




seshu

I want to count the total Number of dates between two dates How?
 
Thanks Verymuch for your Fast Responce Valko. It worked. Thanks again
Regards
Seshadri

"seshu" wrote:

I have a Date Column and want to count number of dates which fall between two
specified dates. i.e

Date
01/20/08 i wish to count the number of dates in this column =
01/15/08 and
02/15/08 <=02/15/08. ffrom the example we should get the count as 3.
03/20/08 can Use please help me with the formula?
01/25/08 Thanks

seshadri


T. Valko

I want to count the total Number of dates between two dates How?
 
You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"seshu" wrote in message
...
Thanks Verymuch for your Fast Responce Valko. It worked. Thanks again
Regards
Seshadri

"seshu" wrote:

I have a Date Column and want to count number of dates which fall between
two
specified dates. i.e

Date
01/20/08 i wish to count the number of dates in this column =
01/15/08 and
02/15/08 <=02/15/08. ffrom the example we should get the count as
3.
03/20/08 can Use please help me with the formula?
01/25/08 Thanks

seshadri





All times are GMT +1. The time now is 07:23 AM.

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