Google Sheet Schedule for Calling Clients

Generix

New Member
Joined
Dec 21, 2022
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I am using a simple google sheet that lets me schedule calls to clients after x number of days from a start date. Some dates fall on the weekends and I was wondering if there is a way for the date to adjust automatically to avoid a weekend. If the date falls on a Saturday, it would be ideal for it to adjust automatically a day before (Friday). And if it falls on a Sunday, it should automatically adjust a day after (Monday).
Thank you in advance.

chrome_ewkxooo38e-png.81366
chrome_E0m2PITQik.png



-Generix
 

Attachments

  • chrome_eWkXOoO38e.png
    chrome_eWkXOoO38e.png
    17.6 KB · Views: 28

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
This is Excel, but will work in Google Sheets:
Cell Formulas
RangeFormula
B1:N1B1=B4-$A$4&" Days"
B3:N3B3=B4
B4:N4B4=$A$4+IF(WEEKDAY($A$4+B2)=7,B2-1,IF(WEEKDAY($A$4+B2)=1,B2+1,B2))
B5:N5B5=$A$4+B2
B6:N6B6=B5

As you'll see, the number of days wanted is in row 2, and the number of actual days is in row 1. Row 5 is just the start date plus the number of days in row 2. Ironically only one day in the series falls on a Saturday or Sunday!
 
Upvote 0
Solution
This is Excel, but will work in Google Sheets:
Cell Formulas
RangeFormula
B1:N1B1=B4-$A$4&" Days"
B3:N3B3=B4
B4:N4B4=$A$4+IF(WEEKDAY($A$4+B2)=7,B2-1,IF(WEEKDAY($A$4+B2)=1,B2+1,B2))
B5:N5B5=$A$4+B2
B6:N6B6=B5

As you'll see, the number of days wanted is in row 2, and the number of actual days is in row 1. Row 5 is just the start date plus the number of days in row 2. Ironically only one day in the series falls on a Saturday or Sunday!
Thank you very much! It worked wonderfully. This has made my work a lot easier.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,616
Latest member
intern444

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