How to count dates in a column between 2 dates

D

deaconj999

Hi All,

At present I have a formula that counts the number of date entries in
a column.

=COUNT($AL$1000:$AL$5000,"<=today()")

I need to change it so that it counts the dates between today and the
last 3 months.

Can someone tell me how, I have tried all manner of configurations.

Many thanks

Joe
 
G

Guest

Give this a try: Watch for the word wraping below

=COUNTIF($AL$1000:$AL$5000,"<="&TODAY())-COUNTIF($AL$1000:$AL$5000,"<="&DATE(YEAR(TODAY()),MONTH(TODAY())-3,DAY(TODAY())))

HTH
 
G

Guest

If OP has Future Dates in Column A, wouldn't they also be included in the
count (He wanted to limit from 3 months back to today)?
 
D

Dave Peterson

Check your other posts, too.
Hi All,

At present I have a formula that counts the number of date entries in
a column.

=COUNT($AL$1000:$AL$5000,"<=today()")

I need to change it so that it counts the dates between today and the
last 3 months.

Can someone tell me how, I have tried all manner of configurations.

Many thanks

Joe
 
G

Guest

Nick,
Sorry -- just forget what I just wrote - I just came back to look this over,
and I'm not half-way sure what I said is right or not, I'm nearly brain-dead
status..
Jim
 
M

merjet

Here is another formula:
=SUMPRODUCT(($AL$1000:$AL$5000<=TODAY())*($AL$1000:$AL
$5000>=EDATE(TODAY(),-3)))

Hth,
Merjet
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top