Excel IF Formula Fills Only One Cell: How to Copy It Down
Question details
The user wants to fill an IF formula down a column without shifting references that should remain fixed.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- An IF formula needs to evaluate values in multiple rows while referring to the correct cells or ranges.
- Observed behavior
- The formula appears only in the first cell instead of automatically filling the column.
Identify the first and last rows that need the formula. Check which references should change by row and which cells or ranges should remain fixed.
Copy the IF Formula Down and Lock Fixed References
Use the fill handle to apply the formula to each row, and add dollar signs to references that must stay fixed.
A formula such as =IF(D2>30,"Old","Young") returns one result, so it does not fill the rest of the column automatically. Newer Excel versions support dynamic arrays, but a single-cell IF formula does not spill simply because the feature is available.
Select the first result cell, such as E2, enter =IF(D2>30,"Old","Young"), and press Enter.
If the formula uses a fixed cell or range, edit it in the formula bar and add dollar signs. For example, $A$2:$A$5 locks both columns and rows, while $A2:$A5 locks only the columns.
Select E2 and drag the fill handle at the cell's bottom-right corner down to the last row that needs a result.
Select a cell farther down the column and inspect the formula bar. The row reference should change, such as D2 becoming D3, while fully locked references remain unchanged.

Fill IF Formulas Down in WPS Spreadsheets
Use WPS Spreadsheets to enter an IF formula, lock fixed references, and copy the formula down the rows you need.
- 1. Open the spreadsheet: Open WPS Office, choose Spreadsheets, and open your workbook.
- 2. Enter the IF formula: Select the first result cell, enter a formula such as =IF(D2>30,"Old","Young"), and press Enter.
- 3. Lock any fixed references: Edit the formula in the formula bar and add dollar signs where needed, such as $A$2 for a cell that should not move.
- 4. Copy the formula down: Select the formula cell and drag its bottom-right fill handle down to the last required row. Click a copied cell to check its references in the formula bar.

Frequently Asked Questions
Why doesn't my IF formula automatically fill the whole column?
A formula such as =IF(D2>30,"Old","Young") evaluates one cell and returns one result. Select the formula cell and drag its fill handle down to apply it to other rows.
How do I keep a reference from changing when I fill down?
Edit the formula in the formula bar and add dollar signs to the reference. For example, $A$2 keeps both the column and row fixed when copied.
What is the difference between $A2 and $A$2?
$A2 locks column A but allows the row number to change when copied. $A$2 locks both the column and row.
Can a dynamic array fill an IF formula automatically?
In Excel versions that support dynamic arrays, a formula that returns multiple values can spill into neighboring cells. A single-cell formula such as =IF(D2>30,"Old","Young") still returns one result and needs to be copied down.




