LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Number counts within Date Range

Assuming source dates (real dates) are within A2:A10 with no blank cells,
and tightened limits with no gaps

<=30 days
=SUMPRODUCT(--(TODAY()-A2:A10<=30))

31-60 days
=SUMPRODUCT((TODAY()-A2:A1030)*(TODAY()-A2:A10<=60))

61-90 days
=SUMPRODUCT((TODAY()-A2:A1060)*(TODAY()-A2:A10<=90))

90 days

=SUMPRODUCT(--(TODAY()-A2:A1090))

Adapt the dates range A2:A10 to suit your actual range
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"SteveStats" wrote:
I have about 45 different dates ranging from March through October (this
year) in one column. I want to bounce off today's date (NOW()) to count how
many of these items are <30 days old, 31-60 days old, 61-90 days old and
91+days old.
--
SteveStats

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting number of observations within a date range? Nic Excel Worksheet Functions 7 April 20th 07 09:20 AM
A macro that counts the number of times a file is opened [email protected] Excel Discussion (Misc queries) 2 December 20th 06 01:53 PM
a function that counts the number of cells with information zuri125 Excel Worksheet Functions 1 June 7th 06 07:37 AM
Excel formula that counts events after a certain date? micro1330 Excel Discussion (Misc queries) 5 August 25th 05 12:23 AM
Number of Days in a Date Range tesouthworthjr Excel Discussion (Misc queries) 6 July 14th 05 09:45 PM


All times are GMT +1. The time now is 09:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"