Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Counting dates before today

Hi, I have a list of dates in column E4:E38 ranging from 14/2/09 to
14/4/09 some of which occur more than once. What I would like to do is
count how many occurrences there are of dates previous to and including
today including the duplicates etc. I have tried countif and counta but
dont seem to be able to get the right formula. I have (today) in A2.
Thank you for any help with this.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Counting dates before today

Try this:

=COUNTIF(E4:E38,"<="&TODAY())

--
Biff
Microsoft Excel MVP


"Lynz" wrote in message
...
Hi, I have a list of dates in column E4:E38 ranging from 14/2/09 to
14/4/09 some of which occur more than once. What I would like to do is
count how many occurrences there are of dates previous to and including
today including the duplicates etc. I have tried countif and counta but
dont seem to be able to get the right formula. I have (today) in A2.
Thank you for any help with this.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default Counting dates before today

Hi,

Your formula would look like this

=COUNTIF(E4:E34,"<="&A2)

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Lynz" wrote:

Hi, I have a list of dates in column E4:E38 ranging from 14/2/09 to
14/4/09 some of which occur more than once. What I would like to do is
count how many occurrences there are of dates previous to and including
today including the duplicates etc. I have tried countif and counta but
dont seem to be able to get the right formula. I have (today) in A2.
Thank you for any help with this.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Counting dates before today

T. Valko wrote:
Try this:

=COUNTIF(E4:E38,"<="&TODAY())

THank you so much that works great. I had () and"" in the wrong places.
HAve a nice day
L
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35
Default Counting dates before today

Shane Devenshire wrote:
Hi,

Your formula would look like this

=COUNTIF(E4:E34,"<="&A2)

Thanks Shane


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Counting dates before today

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Lynz" wrote in message
...
T. Valko wrote:
Try this:

=COUNTIF(E4:E38,"<="&TODAY())

THank you so much that works great. I had () and"" in the wrong places.
HAve a nice day
L



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default Counting dates before today

Hi,

Your welcome.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Lynz" wrote:

Shane Devenshire wrote:
Hi,

Your formula would look like this

=COUNTIF(E4:E34,"<="&A2)

Thanks Shane

Reply
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
TODAY, Subtract a List of Dates from... DOUG ECKERT[_2_] Excel Discussion (Misc queries) 2 November 6th 08 07:21 PM
sum data in column for dates until today jonnel Excel Worksheet Functions 3 July 31st 06 01:11 PM
counting dates in a column that less than 6 months from today Kaye Excel Discussion (Misc queries) 2 February 11th 06 07:10 PM
Find (Today-21) in a range of dates JG Excel Discussion (Misc queries) 4 March 15th 05 03:59 PM
Counting Dates less then today Teri Excel Worksheet Functions 2 January 12th 05 05:53 PM


All times are GMT +1. The time now is 05:36 AM.

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"