Formula Errors

How to Create an Excel Formula for Fridays and Quarter-End Dates

Steve KSteve K Oct 23, 2026 869 views

Question details

The user needs an Excel formula to generate a schedule based on 13-week quarters that correctly returns either the standard weekly Friday date or the quarter-end date.

How to Create an Excel Formula for Fridays and Quarter-End Dates
Product
Excel
Device & OS
not provided
Scenario
Creating a financial or operational schedule that tracks weeks ending on Fridays but requires strict alignment with specific quarter-end dates (e.g., March 31, September 30).
Observed behavior
Current formulas are returning duplicate dates (e.g., September 29 and September 30), incorrect Saturdays instead of Fridays during transition weeks, and failing to smoothly resume the Friday sequence after a quarter-end.
Before you start

Ensure your starting date is correctly formatted as a Date value in your spreadsheet and identify the specific quarter-end months (e.g., March, June, September, December) your fiscal schedule follows.

Solution 1Recommended

Use Conditional Logic with EOMONTH for Quarter Transitions

Design a logical formula that checks if the upcoming Friday falls in a new quarter, forcing the month-end date if true, and resuming regular Fridays thereafter.

To prevent duplicate dates and incorrect days of the week, the formula must prioritize identifying the quarter-ending period first. It should return the actual month-end date only when required and seamlessly shift back to the next Friday.

1
Identify the base date

Select the cell containing your starting Friday date (for example, A2) to use as the base reference for your upcoming schedule.

2
Apply an IF condition

Create a conditional test using the IF function to check if adding 7 days to your current date crosses into a quarter-ending month.

3
Use the EOMONTH function

Instruct the formula to return the exact end-of-month date (using the EOMONTH function) when the quarter-end condition is met, ensuring dates like March 31 or September 30 are accurately captured.

4
Resume the Friday sequence

For the FALSE part of your IF statement, use a calculation that determines the next Friday based on the last actual Friday, avoiding the addition of 7 days to a non-Friday quarter-end date which causes Saturday errors.

Use Conditional Logic with EOMONTH for Quarter Transitions
Testing Edge Cases: Always test your final formula on dates immediately surrounding March 31, September 30, and weekends to ensure the transition into the next period lands exactly on the correct Friday without duplicates.
Manage Complex Schedules Easily

Create Advanced Date Formulas with WPS Spreadsheet

WPS Spreadsheet offers full compatibility with standard Excel date functions like EOMONTH, WORKDAY, and nested IF statements, making it simple to build precise 13-week quarter schedules without formula errors.

  1. 1. Open your schedule: Launch WPS Spreadsheet and enter your starting Friday date in the first row of your schedule.
  2. 2. Select the target cell: Click on the cell directly below your starting date where you want the next calculated date to appear.
  3. 3. Insert the date formula: Navigate to the Formula bar and input your combined IF and EOMONTH formula to handle the quarter-end logic.
  4. 4. Fill the series: Click and drag the fill handle at the bottom-right of the cell downwards to automatically populate the rest of your 13-week quarter dates.
100% compatible with Microsoft Excel date and time functionsFree and lightweight alternative for complex data modelingFamiliar UI makes scheduling and formatting effortless
microsoft office alternative - wps office

Frequently Asked Questions

Why does adding 7 days to a month-end date sometimes return a Saturday?

If a quarter-end date (like March 31) happens to fall on a Saturday, simply adding 7 to that specific cell will keep the sequence on Saturdays. To fix this, your subsequent formula needs to base its calculation on the last known Friday rather than the quarter-end date, or utilize the WORKDAY.INTL function to force the day back to a Friday.

How do I prevent duplicate dates around the end of the month in my schedule?

Duplicate dates typically occur when a formula evaluates the regular Friday and the month-end date independently in adjacent rows. You must structure your formula with strict IF/ELSE logic so that it substitutes the Friday with the month-end date during the transition week, rather than printing both.

What function should I use to calculate the exact last day of a quarter?

The EOMONTH function is the standard tool for this task. By specifying a reference date and setting the months argument to zero (e.g., EOMONTH(A2, 0)), the function will accurately calculate the final day of that current month, such as September 30 or December 31, accounting for leap years automatically.