Continuous days tally not including weekends

johnbrownbaby

New Member
Joined
Dec 9, 2015
Messages
38
Hello,

I am trying to get a continuous running tally of days that does not include weekends. I used a formula to check if the date is a weekend, if true, return 0, else, add 1:

Code:
=IF(WEEKDAY(L5,2)>5,0,L7+1)

I am able to get the weekend as 0. However, the tally reverts back to 1 after the weekend. Can you help me continue to tally the days even after a weekend?

Thanks.
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
If L5 is your first date and then you have sequential dates down column L then try this in M5:

=IF(WEEKDAY(L5,2)>5,0,MAX(M2:M4)+1)
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top