LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default Weekdays between two dates in Excel?

Two solutions found online, two problems.

1) =NETWORKDAYS function should do the job, but I keep winding up with a
#NAME? error. (Using Excel 2003)

2) Formula suggestion, where A2 contains the earlier date and B2 contains
the later date:
=MAX(WEEKDAY(B2,2)-WEEKDAY(A2,2),0)+1+INT((B2-A2)/7)*5
gets hosed when one or both days are Saturday or Sunday
http://www.ozgrid.com/forum/showthread.php?t=65032

An explanation for 1), modification of 2) or other suggestion is
appreciated. TIA.
 
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
Round dates to weekdays Nan Excel Worksheet Functions 8 November 11th 09 01:53 AM
Difference (weekdays) between two dates ant1983 Excel Worksheet Functions 5 October 29th 07 08:37 PM
dates for weekdays in non-contiguous cells spence Excel Worksheet Functions 1 June 10th 07 07:39 PM
How do i count number of weekdays between two dates? Sanjay Shah Excel Worksheet Functions 1 April 4th 05 04:40 PM
Fill dates with weekdays/workdays only DJ Bjorklund Excel Worksheet Functions 1 January 18th 05 04:48 PM


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