Calculation Issues

Use Excel SUMIFS to Sum Values Between Two Selected Dates

Tauseeq MagsiTauseeq Magsi Nov 12, 2026 869 views

Question details

Calculate a total for values in a selected column by choosing a start date and an end date from drop-down lists.

Use Excel SUMIFS to Sum Values Between Two Selected Dates
Product
Microsoft Excel spreadsheet
Device & OS
not provided
Scenario
The user wants to sum values in columns B, C, or D only when the corresponding date in column A falls within a selected date range.
Observed behavior
The required result is a dynamic total that updates when the start date or end date selection changes.
Before you start

Make sure the dates in column A are real spreadsheet dates, not text strings. Place the selected start date and end date in dedicated cells, such as F1 and G1, before entering the formula.

Solution 1Recommended

Use SUMIFS with selected start and end dates

Use this method when column A contains dates and you need a total that updates automatically for any selected inclusive date range.

SUMIFS evaluates each date in column A against the start date and end date, then adds only the matching values. The greater-than-or-equal-to and less-than-or-equal-to criteria include both selected dates.

1
Create the date selection cells

Enter or select the start date in cell F1 and the end date in cell G1. To create drop-down lists, select F1 or G1, then use Data > Data Validation and choose a date list or a range containing valid dates.

2
Enter the SUMIFS formula for column B

Select the cell where the total should appear and enter =SUMIFS(B:B,A:A,">="&F1,A:A,"<="&G1). Press Enter to calculate the total for column B.

3
Change the sum range for other columns

To total column C, replace B:B with C:C. To total column D, replace B:B with D:D while keeping A:A as the date criteria range.

4
Verify the date values

Select a date in column A and check that the cell is formatted as a date through Home > Number Format. If SUMIFS returns an unexpected result, convert text dates to real dates before recalculating.

Use SUMIFS with selected start and end dates
Formula example: For dates in column A and amounts in column B, use =SUMIFS(B:B,A:A,">="&F1,A:A,"<="&G1). The date range is inclusive of both F1 and G1.
Calculate date-range totals in WPS Spreadsheets

Sum values between selected dates with SUMIFS in WPS Spreadsheets

WPS Spreadsheets supports the SUMIFS function for date-based totals. Create start and end date selectors, then use criteria linked to those cells to total the matching values in any amount column.

  1. 1. Open the worksheet in WPS Spreadsheets: Open the workbook in WPS Office and confirm that the date field is in column A and the values to total are in column B, C, or D.
  2. 2. Set up start and end date cells: Use cells such as F1 and G1 for the selected dates. Select each cell and choose Data > Data Validation to set up a valid date list or reference a list of available dates.
  3. 3. Add the SUMIFS formula: Select the output cell and enter =SUMIFS(B:B,A:A,">="&F1,A:A,"<="&G1), then press Enter.
  4. 4. Adapt the formula to another value column: Replace B:B with C:C or D:D to calculate totals for a different column while retaining column A as the date criteria range.
Use SUMIFS to calculate totals for an inclusive start and end date range.Create data-validation date drop-down lists directly in WPS Spreadsheets.Open, edit, and save Microsoft Excel .xlsx and .xls workbooks with formula compatibility.Use a familiar spreadsheet interface for formulas, cell references, and number formatting.
microsoft office alternative - wps office

Frequently Asked Questions

How do I make SUMIFS include both the start date and end date?

Use >= for the start-date criterion and <= for the end-date criterion, such as =SUMIFS(B:B,A:A,">="&F1,A:A,"<="&G1). This includes values dated on both F1 and G1.

Why does my SUMIFS formula return 0 for a date range?

Check whether the dates in column A are stored as text instead of real dates. Select the cells and use Home > Number Format to inspect their format, then convert text dates if necessary.

Can I use drop-down lists for the start and end dates?

Yes. Put the selections in cells such as F1 and G1, select each cell, and use Data > Data Validation to create a list from a range containing valid dates.

How do I sum column C instead of column B for the same dates?

Change only the sum range in the formula. For example, use =SUMIFS(C:C,A:A,">="&F1,A:A,"<="&G1) to sum column C.