For example the start date is 21 march (thursday) to 28 march (next thursday). The normal time diff is 7 day . but what I want is the diff is 5 days Saturday and Sunday no included for calculated
For example the start date is 21 march (thursday) to 28 march (next thursday). The normal time diff is 7 day . but what I want is the diff is 5 days Saturday and Sunday no included for calculated
Use the WORKDAY() function in the Analysis Tool pack (http://www.cpearson.com/excel/ATP.htm)
Hi
no need of vba for this - you can use networkdays formula.
Or if it is in the code, use WorksheetFunction.networkdays
Buran
If you are pleased with a member's answer then use the Star icon to rate it.
@cytop the WORKDAYS and NETWORKDAYS ( what OP needs) function are native to XL2010
Thank helping me, i just found and create my own code. Although my code is seem noob. But here is the code
![]()
Please Login or Register to view this content.
Last edited by zalora; 03-28-2013 at 05:36 AM. Reason: wrong type
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks