LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Curtis
 
Posts: n/a
Default

Thanks

ce

"Aladin Akyurek" wrote:

=SUMPRODUCT((Range<"")/COUNTIF(Range,Range&""))

where Range cannot be a whole column reference like A:A.

Curtis wrote:
Thanks...

I forgot t mention that the row could contain the same date but I do not
want to count that twice


10-Jul-05
10-jul-05
14-Jul-05
18-Jul-05
18-Jul-05
19-Jul-05

TH answer is still 4 ( the number of dyas worked)

thanks

ce


"Aladin Akyurek" wrote:


Wouldn't...

=COUNT(DateRange)

give you the count you want?

Curtis wrote:

What formula will calculate the number of days in a row that have different
dates

10-Jul-05
14-Jul-05
18-Jul-05
19-Jul-05

Answer s/b 4

Thanks


--

[1] The SumProduct function should implicitly coerce the truth values to
their Excel numeric equivalents.
[2] The lookup functions should have an optional argument for the return
value, defaulting to #N/A in its absence.



 
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
Need help to reflect number of days in a month. Lewis Koh Excel Worksheet Functions 8 July 30th 05 01:14 AM
calculating number of days (e.g., Mondays) between two dates girlfriend in school Excel Worksheet Functions 10 July 14th 05 07:21 PM
Number of days since a date Jim M New Users to Excel 2 June 28th 05 12:30 AM
calculate number of working days philc Excel Worksheet Functions 2 June 1st 05 07:48 AM
Calculating Production/Man Days in Excel mpetersen Excel Discussion (Misc queries) 3 December 16th 04 02:41 PM


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