Function Problems

WPS Spreadsheets: Keep SUMIF Criteria and Range References Fixed

Maira MehtabMaira Mehtab Nov 12, 2026 869 views

Question details

The user needs to fill a SUMIF formula without allowing its criteria range and selected references to shift incorrectly.

WPS Spreadsheets: Keep SUMIF Criteria and Range References Fixed
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
A SUMIF formula is being copied down or across a worksheet, and the user wants to control which references remain fixed and which references adjust.
Observed behavior
Relative references change when the formula is filled. Without dollar signs, the criteria range can move to the wrong cells.
Before you start

Identify which parts of the SUMIF formula must stay fixed and which parts should adjust when copied. Select the formula cell and check whether the criteria range, criteria cell, and sum range need absolute or mixed references.

Solution 1Recommended

Use absolute and mixed references in the SUMIF formula

Use this method when a filled formula must keep the criteria range fixed while allowing selected rows or columns to adjust.

Dollar signs lock individual parts of a cell reference. In =SUMIF($C$3:$C$95,$C98,E$3:E$95), the criteria range is fully absolute, the criteria cell locks column C but allows its row to change, and the sum range locks its rows while allowing its column to change when copied horizontally.

1
Select the formula cell

In WPS Spreadsheets, click the cell containing the SUMIF formula and place the cursor in the formula bar or press F2 to edit it.

2
Lock the criteria range

Add dollar signs before both the column and row in the criteria range, such as $C$3:$C$95, so this range does not move when the formula is filled.

3
Set a mixed criteria reference

Use $C98 when the criteria must remain in column C while its row changes as the formula is filled down.

4
Set the sum range reference

Use E$3:E$95 when the sum range rows should remain fixed while its column can change as the formula is filled across.

5
Fill the formula

Press Enter, select the formula cell, and drag its fill handle down or across, or use Home > Fill to copy the formula into the required cells.

Example formula: Use =SUMIF($C$3:$C$95,$C98,E$3:E$95). The exact reference style depends on the direction in which you fill the formula.

Build Reliable SUMIF Formulas in WPS Spreadsheets

WPS Spreadsheets lets you control absolute and mixed references directly in the formula bar, making it easy to fill SUMIF formulas while preserving criteria ranges and adjusting only the intended rows or columns.

  1. 1. Open a spreadsheet: Launch WPS Office and open the worksheet containing the SUMIF formula.
  2. 2. Edit the references: Select the formula cell and use the formula bar to add dollar signs or press F4 to set absolute and mixed references.
  3. 3. Test the formula: Press Enter and verify the result against the intended criteria and sum ranges.
  4. 4. Fill the formula: Drag the fill handle or choose Home > Fill to copy the corrected formula across the destination cells.
Lock SUMIF criteria ranges with absolute references and control fill behavior with mixed references.Use the formula bar and F4 shortcut to change reference types quickly.Fill formulas down or across while preserving the intended worksheet structure.Open and save Microsoft Excel XLS and XLSX files with compatible formulas.Work in a lightweight spreadsheet editor with a familiar Office-style interface.
microsoft office alternative - wps office

Frequently Asked Questions

How do I keep a SUMIF criteria range from moving in WPS Spreadsheets?

Add dollar signs to both the column and row references, such as $C$3:$C$95. This makes the criteria range absolute when the formula is filled.

What does $C98 mean in a SUMIF formula?

$C98 is a mixed reference. The column C stays fixed, while row 98 can change when the formula is filled down.

How can I keep the rows in a SUMIF sum range fixed?

Place dollar signs before the row numbers, as in E$3:E$95. The rows remain fixed, while the column can change when the formula is copied across.

Can I use F4 to add dollar signs in WPS Spreadsheets?

Yes. Edit the formula, place the cursor on a reference, and press F4 repeatedly to cycle through relative, absolute, and mixed reference formats.