Dear all,
I have a excel file that count the number of working days. I got the formula from the web. But it does not provide me the correct number as i want. Can anyone help on the formula?
Dear all,
I have a excel file that count the number of working days. I got the formula from the web. But it does not provide me the correct number as i want. Can anyone help on the formula?
Last edited by nickh1981; 08-18-2015 at 08:50 AM.
there is a formule for you probleme
use this formula
Formula:![]()
=NETWORKDAYS.INTL($B$1,$B$2,11,$B$3:$C$3)
Hi Jean & Salim,
Thanks for the replied. i am using Excel 2007, NETWORKDAYS.INTL is not supported in 2007. I tried this formula before and i am getting error, that's why i change to SUM formula. Beside NETWORKDAYS.INTL any other formula that i can use?
One of the holidays (18/1/2015) is a Sunday, thus should be excluded in your SUMPRODUCT. Try this instead.
Formula:
=SUM(INT((WEEKDAY(B1-{2,3,4,5,6,7})+B2-B1)/7))-SUMPRODUCT(--(WEEKDAY(B3:C3)<>1)*(B3:C3>=B1),--(WEEKDAY(B3:C3)<>1)*(B3:C3<=B2))
quekbc,
it works perfectly as i want!!!! Thanks a lot.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks