Day of week Calculation

Boris Petry

New Member
Joined
Oct 8, 2021
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
I need to calculate a new day of week. I have a problem where I am only give a number between 1-7 representing the days of the week and I am trying to add a number of days to it. These days vary.

For example:
1633680702898.png


I have the following formula in the 3rd cell. =MOD(Z30+AA30,7). Works fine except for day 7, I can't get it to output 7 no matter what I try.

Am I missing something simple? I is also a problem if the start day say 6 and I add 1 day, it should output 7, but I get 0.

Please help, I am desperate.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,216,156
Messages
6,129,188
Members
449,492
Latest member
steveg127

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