Function Problems

Calculate Quarterly Cumulative Totals Based on a Selected Month in Excel

Adam DavisAdam Davis Nov 2, 2026 868 views

Question details

Create a formula to calculate cumulative quarterly totals that update dynamically based on a user-selected month.

How to Calculate Quarterly Cumulative Totals Based on a Selected Month
Product
Excel
Device & OS
not provided
Scenario
Building a dynamic data report where selecting a month (e.g., February) aggregates data for the quarter up to that month (e.g., January plus February).
Observed behavior
The goal is to return the sum of values from the beginning of the quarter through the end of the chosen month, referencing data from another worksheet.
Before you start

Ensure your source data contains actual date values rather than just text labels for months, as Excel's date functions require valid serial numbers to properly calculate the end of a month.

Solution 1Recommended

Use SUMIFS and EOMONTH for Dynamic Quarterly Totals

This approach uses built-in date functions to define a dynamic date range, aggregating records from the start of the quarter to the end of your selected month.

By formatting actual dates to display only the month name, you can create a user-friendly dropdown while keeping the underlying date logic intact. The SUMIFS function will then evaluate multiple criteria across different worksheets.

1
Create a month-selection dropdown cell

Select a cell (e.g., A1). Go to the Data tab, click Data Validation, and choose List. Reference a range of actual dates (e.g., 1/1/2023, 2/1/2023) and apply a custom number format 'mmmm' so they display as January, February, etc.

2
Set up the SUMIFS formula

In your result cell, type `=SUMIFS(`. First, select the range containing the values you want to sum on your data worksheet.

3
Add the quarter start date criteria

Select the date column in your data worksheet as the criteria range. For the criteria, enter `">="&DATE(2023,1,1)` (assuming the first quarter starts on January 1st) to ensure only dates from the beginning of the quarter are included.

4
Add the selected month end date criteria

Select the date column again for the second criteria range. For the criteria, use the EOMONTH function to capture the last day of the selected month by entering `"<="&EOMONTH(A1,0)`.

Use SUMIFS and EOMONTH for Dynamic Quarterly Totals
Pro Tip: The EOMONTH(start_date, months) function with a '0' as the second argument perfectly calculates the very last day of the current month, ensuring no late-month data is accidentally excluded.

Easily Calculate Dynamic Quarterly Reports in WPS Spreadsheet

WPS Spreadsheet provides full support for advanced date and math functions like SUMIFS, EOMONTH, and OFFSET, making it easy to build dynamic quarterly reports with data spanning multiple worksheets.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your cross-sheet data.
  2. 2. Set up Data Validation: Select the cell for your dropdown, go to the Data tab, select Data Validation, and link it to your list of date values.
  3. 3. Apply Custom Formatting: Right-click the dropdown cell, select Format Cells, and apply the Custom format 'mmmm' to display month names.
  4. 4. Enter the SUMIFS formula: Type your SUMIFS formula utilizing the EOMONTH function to instantly calculate the cumulative totals.
Fully compatible with Microsoft Excel formulas and .xlsx file formats.Supports advanced Data Validation for creating intuitive drop-down lists.Fast calculation engine for complex cross-sheet data aggregations.Free and lightweight alternative to heavy spreadsheet software.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my EOMONTH formula returning a 5-digit number instead of a date?

Excel and WPS Spreadsheet store dates as serial numbers (e.g., 44927). If your cell displays this raw number, simply select the cell, go to the Home tab, and change the Number Format to Short Date.

Can I base the calculation on plain text month names instead of actual dates?

Yes, but you will need to convert the text to a date value first. You can use the DATEVALUE function (e.g., `=DATEVALUE(A1&" 1, 2023")`) to convert a text string like 'February' into a valid date before nesting it inside your EOMONTH function.

How do I dynamically calculate the start date of the quarter based on the selected month?

If you don't want to hardcode the quarter's start date, you can dynamically find the first day of the current quarter using this formula: `=DATE(YEAR(A1), FLOOR(MONTH(A1)-1, 3)+1, 1)`. This will automatically adjust depending on the month selected in cell A1.