Exluding weekend from workday.

RahulNa

Board Regular
Joined
Jul 12, 2012
Messages
127
Office Version
  1. 365
Platform
  1. Windows
Hi Team,

I have a google sheet where my table follow like the below.

I want to make my date column automated in such a way that it excludes the weekend days.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]S.No.[/TD]
[TD]Date[/TD]
[TD]Task[/TD]
[TD]time[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]9/21/2017[/TD]
[TD]a[/TD]
[TD]08:00 am[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]9/21/2017[/TD]
[TD]b[/TD]
[TD]11:30 am[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]9/21/2017[/TD]
[TD]c[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]9/21/2017[/TD]
[TD]d[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]9/21/2017[/TD]
[TD]e[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]9/21/2017[/TD]
[TD]f[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]9/21/2017[/TD]
[TD]g[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]9/21/2017[/TD]
[TD]h[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]9/21/2017[/TD]
[TD]i[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]9/21/2017[/TD]
[TD]j[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]9/22/2017[/TD]
[TD]a[/TD]
[TD]08:00 am
[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]9/22/2017[/TD]
[TD]b[/TD]
[TD]11:30 pm[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]9/22/2017[/TD]
[TD]c[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]9/22/2017[/TD]
[TD]d[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]9/22/2017[/TD]
[TD]e[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]9/22/2017[/TD]
[TD]f[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]9/22/2017[/TD]
[TD]g[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]18[/TD]
[TD]9/22/2017[/TD]
[TD]h[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]19[/TD]
[TD]9/22/2017[/TD]
[TD]i[/TD]
[TD]02:00 pm[/TD]
[/TR]
[TR]
[TD]20[/TD]
[TD]9/22/2017[/TD]
[TD]j[/TD]
[TD]02:00 pm[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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