How to Calculate the Current Week of a 30-Week Rotation in Excel
Question details
Calculate the current week number within a repeating 30-week work schedule based on a specific start date.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Tracking a repeating 30-week work schedule or rotation cycle and needing to dynamically identify the current week number from 1 to 30 based on today's date.
- Observed behavior
- The user needs an Excel formula that compares today's date with a rotation start date, dividing by a seven-day cycle to loop the week number continuously up to 30.
Ensure you have the exact start date of your rotation cycle entered into a designated cell and determine which week number the rotation originally began on.
Use MOD and QUOTIENT Functions to Calculate the Rotation Week
This method calculates the difference between today's date and your start date, converts it to weeks, and applies a modulo operation to loop back to 1 after 30 weeks.
The QUOTIENT function divides the total elapsed days by 7 to determine the number of weeks passed. The MOD function then takes this week count and divides it by your cycle length (30), returning the remainder so that the cycle restarts automatically.
Type the official start date of your 30-week rotation into cell A1.
Click on the empty cell where you want the current week number (from 1 to 30) to appear.
Assuming the start date in A1 corresponds to week 12 of the cycle, type the formula: =MOD(QUOTIENT(TODAY()-$A$1,7)+11,30)+1
Press Enter to execute the formula. If your rotation actually started on week 1 instead of week 12, simply change the '+11' in the formula to '+0'.

Seamlessly Calculate Work Rotations in WPS Spreadsheet
WPS Spreadsheet fully supports Excel's date and math functions, allowing you to easily calculate repeating rotation schedules with the exact same formulas. It's a highly compatible and lightweight tool for managing daily work routines.
- 1. Install WPS Office: Download and install WPS Office for free from the official website.
- 2. Create a New Spreadsheet: Launch WPS Spreadsheet and create a new blank workbook for your rotation schedule.
- 3. Enter Start Date: Type your rotation start date in cell A1.
- 4. Apply Formula: Use the formula =MOD(QUOTIENT(TODAY()-$A$1,7)+11,30)+1 in your target cell to instantly get your dynamic weekly rotation number.

Frequently Asked Questions
How can I change the formula if my rotation cycle is 14 weeks instead of 30?
You simply need to change the divisor in the MOD function. Replace the '30' with '14'. The modified formula would be: =MOD(QUOTIENT(TODAY()-$A$1,7)+offset,14)+1, adjusting the offset based on your starting week.
What happens to the formula if the start date is located in a different cell?
If your start date is in cell B2, replace all instances of '$A$1' in the formula with '$B$2'. The dollar signs ensure the reference remains absolute if you copy the formula to other cells.
Can I calculate the exact rotation week for a specific date instead of today?
Yes. Instead of using the TODAY() function, replace it with a reference to a cell containing your target date. For example: =MOD(QUOTIENT(C1-$A$1,7)+11,30)+1, where C1 holds the specific date you want to check.
Why is my formula returning a date format instead of a week number?
Excel sometimes automatically applies date formatting to formula results involving dates. Simply select the cell containing the result, right-click, choose 'Format Cells', and change the Number Format to 'General' or 'Number'.




