Formula Errors

Fix an Excel SUMIF Formula with a Greater-Than Date or Number

Maira MehtabMaira Mehtab Dec 2, 2026 868 views

Question details

Fix a SUMIF formula that does not return the expected total when a greater-than criterion refers to another cell.

Fix an Excel SUMIF Formula with a Greater-Than Date or Number
Product
Microsoft Excel
Device & OS
not provided
Scenario
Sum values in L4:L49 when the corresponding dates or numbers in K4:K49 are greater than a value in another cell.
Observed behavior
The formula does not return the expected result with the greater-than condition; removing the condition returns 14.
Before you start

Identify the cell containing the intended comparison value and confirm which columns hold the criteria and values to sum. If the comparison involves dates, check that the criteria cell and source cells contain valid Excel dates rather than text.

Solution 1Recommended

Join the Greater-Than Operator to the SUMIF Criteria Cell

Use this method when SUMIF must compare each value against a date or number stored in another cell.

1
Edit the formula

Select the cell containing the SUMIF formula and click the formula bar.

2
Concatenate the criterion

Enter =SUMIF(K4:K49,">"&E4,L4:L49) and press Enter. If E6 is the intended criteria cell instead, use ">"&E6.

3
Check the ranges and values

Verify that K4:K49 and L4:L49 cover corresponding rows and have the same dimensions. Check that E4 and the values in column K are stored as numbers or valid dates, not text.

4
Check the result

Compare the total with the values in column L whose corresponding column K values are greater than E4. Values equal to E4 are excluded.

Join the Greater-Than Operator to the SUMIF Criteria Cell
Date serial numbers: Excel stores dates as serial numbers, so 43884 can be a date value. Select the criteria cell and use Home > Number Format to display it as a date and check that it is the intended one.
WPS Spreadsheets

Fix Greater-Than SUMIF Criteria in WPS Spreadsheets

Open your spreadsheet in WPS Spreadsheets and use the SUMIF function with a concatenated operator and cell reference to total matching rows.

  1. 1. Open the workbook: Launch WPS Spreadsheets and use Open to select your Excel workbook.
  2. 2. Enter the formula: Select the result cell and enter =SUMIF(K4:K49,">"&E4,L4:L49), replacing the ranges or criteria cell as needed.
  3. 3. Verify the data: Check that the criteria values are numbers or valid dates and that the criteria and sum ranges cover the same rows.
  4. 4. Save the workbook: Use File > Save or Save As to save the updated workbook in XLSX format.
Apply greater-than criteria to dates or numbers in SUMIF formulasOpen and save Microsoft Excel XLSX filesCheck criteria and sum ranges in a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

How do I include values equal to the criteria cell?

Use the greater-than-or-equal-to operator: =SUMIF(K4:K49,">="&E4,L4:L49).

Why does my date appear as 43884?

Excel stores dates as serial numbers. Select the cell and choose a date format from Home > Number Format to see whether the serial represents the intended date.

Why does SUMIF still return an unexpected total?

Check that E4 and the cells in K4:K49 contain actual numbers or dates rather than text. Also verify that L4:L49 contains numeric values and corresponds row for row with the criteria range.

Can I use E6 instead of E4 as the comparison cell?

Yes. Replace E4 with E6 in the criterion: =SUMIF(K4:K49,">"&E6,L4:L49).