Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2013: Formula to Count # of Days (Mon - Sat) 2

Status
Not open for further replies.

beadedbytes

Technical User
Joined
Apr 25, 2003
Messages
152
Location
US
Our work week is Mon through Sat (instead of Mon through Fri).

Is there a formula (Excel function or created formula) that will count the number of workdays including Saturday but excludes Sun?

Thanks in advance for feedback.
 
I have never used it, but the function NETWORKDAYS.INTL looks to have been designed for exactly your problem.[ ] In effect it allows you to define your "weekend" to be any combination of the days in the week.
 
Good tip, Deniall! Yours is the solution to use!

But I lost some sleep last night thinking about a formula solution, and it paid off...
[tt]
=IF(MOD(start,7)<MOD(end,7),ABS(MOD(start,7)-MOD(end,7)),6-(MOD(start,7)-MOD(end,7)))+INT((end-start)/7)*6
[/tt]



Skip,

[glasses]Just traded in my OLD subtlety...
for a NUance![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top