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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,216,783
Messages
6,132,678
Members
449,747
Latest member
OldMrsMol

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