How to Keep Formula References Fixed When Copying IFS Formulas
Question details
The user wants to prevent cell references from changing automatically when an IFS formula is dragged or copied to other cells.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Copying or dragging an IFS formula across multiple rows or columns in a worksheet.
- Observed behavior
- The cell references adjust relative to the new position, causing the IFS formula to calculate using the wrong cells.
Identify exactly which cells in your IFS formula need to remain constant and which ones should dynamically change as you drag the formula down or across.
Use Absolute and Mixed References (Dollar Signs)
Add dollar signs ($) to your cell references to lock specific rows, columns, or both when copying formulas.
By default, cell references are relative, meaning they change based on where you paste them. Absolute references lock both the row and column. Mixed references lock either the row or the column, providing more flexibility when copying formulas across a grid.
Double-click the cell containing your IFS formula, or select the cell and click into the formula bar at the top.
To lock both the row and the column so the reference never changes, add a dollar sign before both the column letter and row number (e.g., $E$2).
To keep only the row fixed when copying down, add a dollar sign before the row number (e.g., E$2). To keep only the column fixed when copying across, add a dollar sign before the column letter (e.g., $E2).
Press Enter to save the changes. Click and drag the fill handle (the small square at the bottom-right corner of the cell) to copy the formula to the desired cells.
Easily Lock Formula References with WPS Spreadsheet
WPS Spreadsheet fully supports Excel functions, including the IFS function and absolute referencing. You can easily lock your cell references using the exact same methods and shortcuts as Microsoft Excel.
- 1. Open your workbook: Launch WPS Spreadsheet and open the document containing your IFS formulas.
- 2. Select the reference: Click into the formula bar and place your cursor inside the cell reference you wish to lock.
- 3. Press F4 to lock: Press the F4 key to automatically add the dollar signs and lock the row or column, then drag to copy.

Frequently Asked Questions
Why do my cell references change when I drag a formula?
Spreadsheets use relative references by default. This is designed to make it easy to apply the same calculation logic to a new row or column of data. If you don't want them to change, you must manually anchor them using dollar signs.
What is the shortcut to lock a cell reference?
The standard keyboard shortcut is the F4 key. When your cursor is on a cell reference in the formula bar, pressing F4 cycles through absolute ($A$1), mixed row (A$1), mixed column ($A1), and relative (A1) references.
Can I lock multiple cell references in an IFS formula at once?
Yes. You can highlight the entire range or multiple references in the formula bar and press F4 to apply absolute referencing to all the highlighted cells simultaneously.
Does adding a dollar sign change the value of my cell?
No, the dollar sign is strictly an anchor for the formula's location reference. It does not affect the actual data, numerical value, or formatting of the cell itself.




