Remember Me?

#1
April 7th 05, 06:45 PM
 Lilasviolet Posts: n/a
Formula to count number of dates in an array

I have a column of dates and it will keep on increasing. I need a formula
that will count how many items I have between a start and an end date.

I can do the =if portion but I'm tired of looking for how to get it to add
up how many meet my condition.

#2
April 7th 05, 07:09 PM
 Jason Morin Posts: n/a

With dates in column A, start date in C1, and end date in
D1, try:

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

HTH
Jason
Atlanta, GA

-----Original Message-----
I have a column of dates and it will keep on increasing.

I need a formula
that will count how many items I have between a start

and an end date.

I can do the =if portion but I'm tired of looking for

how to get it to add
up how many meet my condition.
.

#3
April 7th 05, 07:44 PM
 Ron Rosenfeld Posts: n/a

On Thu, 7 Apr 2005 10:45:05 -0700, "Lilasviolet"
wrote:

I have a column of dates and it will keep on increasing. I need a formula
that will count how many items I have between a start and an end date.

I can do the =if portion but I'm tired of looking for how to get it to add
up how many meet my condition.

What do you mean, exactly?

To count the number of rows that contain a date between the start and end
dates:

=COUNTIF(dts,"="&StartDate) - COUNTIF(dts,""&EndDate)

where dts is your column containing the dates.

The same logic can be applied to SUMIF if that is more appropriate for your
setup.

--ron

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post abs2299 Excel Discussion (Misc queries) 8 March 3rd 05 02:21 AM Renee R. Excel Discussion (Misc queries) 0 February 8th 05 02:27 PM Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 08:35 PM Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM Doom3 Excel Worksheet Functions 4 November 23rd 04 06:00 AM

All times are GMT +1. The time now is 07:05 PM.