LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
junoon
 
Posts: n/a
Default Count dates falling in a certain range

Hi,

The Names are in Col A, Dates are in Col B, then few blank rows, then
the 3 cells in which i want the formulas (say in columns G, H I)...

Hope this helps!




Pete_UK wrote:
It would be a bit easier if you had specified the actual column that
the joining dates were in, so I have assumed the dates occupy D2 to
D100 - adjust as necessary. Try these array formulae*:

=SUM(IF(TODAY()-D2:D100<90,1,0))

=SUM(IF((TODAY()-D2:D100=90)*(TODAY()-D2:D100<=180),1,0))

=SUM(IF(TODAY()-D2:D100180,1,0))

*As these are array formulae, once you have typed them in (or if you
subsequently edit them) you must use CTRL-SHIFT-ENTER rather than just
ENTER. If you do this correctly, Excel will wrap curly braces { }
around the formula - you must not type these yourself.

This should give you what you want.

Hope this helps.

Pete


 
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
Lookup based on range of dates dls2193 Excel Worksheet Functions 1 March 30th 06 11:21 PM
Count Problem between dates Frick Excel Worksheet Functions 4 December 15th 05 05:02 PM
Count cells based on date range in another column [email protected] New Users to Excel 1 May 5th 05 08:11 PM
count number of years 2003 in a range of dates Stan Altshuller Excel Worksheet Functions 2 May 3rd 05 07:15 PM
How do I count data in range A:A that is dependent upon criteria . h2ocats Excel Worksheet Functions 1 February 21st 05 12:55 PM


All times are GMT +1. The time now is 01:55 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"