Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I count number of days from a range of dates & some repite.

I am using excel 2007 and I need to get the count of days from a range of
dates where some dates are repited; one diferent date is equal to one day.
I will aprreciate any input
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default How do I count number of days from a range of dates & some repite.

Hi Juan

If you mean to get the distinct count of dates then try the below with dates
in the range A2:A10...Change the range to suit..

=SUMPRODUCT((A2:A10<"")/COUNTIF(A2:A10,A2:A10&""))

--
Jacob


"Juan Roubaud" wrote:

I am using excel 2007 and I need to get the count of days from a range of
dates where some dates are repited; one diferent date is equal to one day.
I will aprreciate any input

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How do I count number of days from a range of dates & somerepite.

You can just subtract one date from another to get the number of days
difference (format the cell as general or as number with 0 dp).

I'm not sure exactly what you are asking, but perhaps this:

=MAX(D:D) - MIN(D:D)

assuming your dates are in column D.

Hope this helps.

Pete

On Dec 2, 3:51*pm, Juan Roubaud <Juan
wrote:
I am using excel 2007 and I need to get the count of days from a range of
dates where some dates are repited; one diferent date is equal to one day..
I will aprreciate any input * *


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
count number of dates falling in the next seven days Louisa Excel Worksheet Functions 5 April 29th 09 11:06 AM
how to count number of days between 2 dates? doyree Excel Discussion (Misc queries) 10 February 10th 08 12:32 PM
Count number of days between dates BUT IF null to current date kathi Excel Worksheet Functions 1 February 14th 06 04:11 PM
Formula to count number of days in range which are less than today zooming Excel Worksheet Functions 2 June 21st 05 04:01 PM
Count the number of dates in a range that are earlier than today. DeborahS Excel Worksheet Functions 1 March 9th 05 01:54 AM


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