Formula Errors

How to Keep an Excel Formula Range Fixed When Copying Down in WPS Office

John WilsonJohn Wilson Nov 13, 2026 870 views

Question details

The user needs to copy a formula downward in WPS Office Spreadsheet so the lookup header range C2:I2 remains fixed, while the comparison range C3:I3 updates to the next row automatically.

How to Keep an Excel Formula Range Fixed When Copying Down in WPS Office
Product
WPS Office Spreadsheet
Device & OS
not provided
Scenario
Copying an INDEX/MATCH formula down a column to return the header for the maximum value in each row.
Observed behavior
Without absolute referencing, the header range C2:I2 shifts downward with the fill action, causing incorrect lookup results.
Before you start

Open the workbook in WPS Office Spreadsheet and select the cell that contains the formula. Identify the range that must stay fixed (C2:I2) and the range that should change row by row (C3:I3).

Solution 1Recommended

Use an Absolute Row Reference for the Lookup Header Range

Use this method when you fill a formula down and only the row in the lookup header range must stay locked while the comparison row updates.

The dollar sign placed before the row number (C$2:I$2) locks row 2 but leaves the column relative. When you drag the fill handle down, WPS Office Spreadsheet keeps the lookup range on row 2 and changes C3:I3 to C4:I4, C5:I5, and so on.

1
Select the formula cell

Click the cell containing the formula you want to copy down, then place the cursor in the formula bar.

2
Edit the lookup range to absolute row

Change C2:I2 to C$2:I$2 by typing a dollar sign before the row number 2 in the formula, for example: =INDEX(C$2:I$2,MATCH(MAX(C3:I3),C3:I3,0)).

3
Enter and copy the formula down

Press Enter to confirm the formula, then drag the fill handle from the bottom-right corner of the cell down through the target rows.

4
Verify the fixed and changing ranges

Check that the header range remains C$2:I$2 in each copied formula while C3:I3 changes to C4:I4, C5:I5, and so on.

Use an Absolute Row Reference for the Lookup Header Range
Formula fixed correctly: The copied formulas now return headers from C2:I2 based on the maximum value in the current row without shifting the lookup header row.

Keep Excel Formula Ranges Fixed in WPS Office Spreadsheets

WPS Office Spreadsheet handles Excel absolute and mixed references the same way, so you can add dollar signs to lock rows or columns, fill formulas down safely, and keep your workbook compatible with Microsoft Excel.

  1. 1. Open your workbook in WPS Office Spreadsheet: Launch WPS Office, click Spreadsheets, and open the workbook that contains the formula.
  2. 2. Edit the formula with an absolute row reference: Click the formula cell, go to the formula bar, and type $ before the row number in the range that must stay fixed, such as C$2:I$2.
  3. 3. Fill the formula down: Press Enter and drag the fill handle down the column to apply the formula to the remaining rows.
  4. 4. Check compatibility and save: Verify the fixed range stays on row 2, then save the file as .xlsx to keep full Microsoft Excel compatibility.
Lock lookup header ranges while copying formulas downFull compatibility with Microsoft Excel .xlsx formulas and workbooksFree, lightweight spreadsheet editor with a familiar Excel-like interfaceSupports INDEX, MATCH, MAX and other Excel functions without conversion issues
microsoft office alternative - wps office

Frequently Asked Questions

What does C$2:I$2 mean in the formula?

C$2:I$2 is a mixed reference: the column letters are relative, but the row number 2 is locked by the dollar sign. When you fill the formula down, the range stays in row 2 while columns may adjust if copied sideways.

How do I keep the entire lookup range fixed in both row and column?

Use $C$2:$I$2 instead of C$2:I$2. The dollar signs before the column letters and row numbers lock the range completely, so it does not change when you copy the formula down or across.

Why does my INDEX/MATCH formula return the wrong header after copying down?

If the header range is written as C2:I2 without a dollar sign, Excel and WPS Office treat it as relative and shift it to C3:I3, C4:I4, etc. Change it to C$2:I$2 so the lookup range stays on the original header row.

Can I use absolute row references in WPS Office on Windows, Mac, and mobile?

Yes. WPS Office Spreadsheet uses the same formula syntax as Excel across Windows, macOS, Android, and iOS. Edit the formula in the formula bar and add the dollar sign to the row number.

Does WPS Office support INDEX and MATCH for Excel files?

Yes. WPS Office Spreadsheet supports INDEX, MATCH, MAX, and other Excel-compatible functions, and it can open and save .xlsx files without conversion.