Install the Analysis ToolPak and use
http://www.bettersolutions.com/excel...P514412778.htm
or=NETWORKDAYS(A1,B1)
VBA Noob=(B1-A1+1)- SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)),2)>5))
Install the Analysis ToolPak and use
http://www.bettersolutions.com/excel...P514412778.htm
or=NETWORKDAYS(A1,B1)
VBA Noob=(B1-A1+1)- SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)),2)>5))
Last edited by VBA Noob; 05-25-2008 at 02:38 PM.
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks