Highlight Biweekly Payroll Dates in an Excel Calendar
Question details
Highlight dates that fall on a biweekly payroll schedule in an Excel shift work calendar.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A shift work calendar changes its displayed year and needs payroll dates highlighted automatically.
- Observed behavior
- Payroll dates should appear in a distinct color every 14 days as the calendar dates change.
Confirm that the calendar cells contain full Excel dates, not just day numbers or text. Choose an unused cell for a known payroll date on or before the calendar dates you want to highlight.
Highlight payroll dates with a 14-day conditional formatting rule
Use a known payroll date as an anchor to highlight every subsequent payday, including when the calendar year changes.
The formula below assumes the anchor date is in B1 and C7 is the first cell in the selected calendar range. Replace those references if your layout differs.
Keep the anchor as a fixed, actual payroll date rather than resetting it to January 10 every year. The 14-day cycle continues across year boundaries.
In an unused cell such as B1, enter a full payroll date, including its year. For example, enter January 10, 2025 if that is a confirmed payday.
Select the date cells to format, such as C7:AM7. Make sure C7 is the active cell when creating the rule.
Go to Home > Conditional Formatting > New Rule, choose Use a formula to determine which cells to format, and enter =AND(ISNUMBER(C7),C7>=$B$1,MOD(C7-$B$1,14)=0).
Click Format, choose a fill color, and click OK to save the rule.
Use Format Painter to copy the formatting to other calendar ranges, or create a corresponding rule for each range. Check Home > Conditional Formatting > Manage Rules and adjust the relative date-cell reference and Applies to range if needed.

Track Biweekly Payroll Dates in WPS Spreadsheets
Use a formula-based conditional formatting rule in WPS Spreadsheets to color calendar dates that fall every 14 days after a known payday.
- 1. Open the calendar: Open the Excel calendar in WPS Spreadsheets and confirm that its date cells contain full dates.
- 2. Enter the anchor date: Enter a confirmed payroll date, including the year, in an unused cell such as B1.
- 3. Add the rule: Select the calendar range, such as C7:AM7, and open Home > Conditional Formatting > New Rule. Choose the formula-based rule option and enter =AND(ISNUMBER(C7),C7>=$B$1,MOD(C7-$B$1,14)=0).
- 4. Set the color: Choose a fill color in the rule's formatting options, save the rule, and apply equivalent formatting to the remaining calendar ranges.

Frequently Asked Questions
Will the payroll highlights update when I change the calendar year?
Yes, if the calendar cells recalculate as full dates and the conditional formatting rule remains applied. Keep the anchor as a confirmed payroll date so the 14-day cycle continues across years.
Why are the wrong cells highlighted?
Check that the formula's C7 reference matches the first cell of the selected range and that $B$1 points to the anchor date. In Excel, review the rule under Home > Conditional Formatting > Manage Rules.
What if my calendar displays only day numbers?
Check the formula bar after selecting a calendar cell. If it contains a full date formatted to show only the day, the rule works; if it contains only a number such as 10, use full dates or adapt the rule to your calendar's date calculation.
Can I use a separate list of payroll dates instead?
Yes. Put full payroll dates on another worksheet, name the list Paydates, and apply a conditional formatting formula such as =COUNTIF(Paydates,C7)>0 to a range starting at C7. Update the list when new payroll dates are added.




