How to prevent cell reference in a formula from incrementing /changing in Excel?
For example you have a list of numbers, and you need to calculate each number’s percentage of their total. After typing the formula =A2/SUM(A2:A15) into Cell B2 and then drag Fill Handle down to other cells, the references are incrementing as below screenshots shown. Any idea to prevent cell reference in a formula from incrementing/changing when applying AutoFill in Excel? There are some solutions.
Excel Productivity Tools
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial
To calculate each number’s percentage of their total, you need to keep the totals (SUM(A2:A15)) static in your formula =A2/SUM(A2:A15). You can do as follows:
In the Cell B2, change your formula with adding absolute reference signs “$” to your formula as =A2/SUM($A$2: $A$15), and then drag the Fill Handle down to other cells.
Note: You can click on the reference cell in the Formula Bar, and then press the F4 key to add $ signs to this reference cell in the formula.
Now the absolute reference SUM($A$2: $A$15) is not incrementing when filling down. See screenshot:
Note: If you have many formulas to fill down, you have to change each formula one by one.
This method will introduce Kutools for Excel’s Convert Refers utility to prevent cell references in many formulas from incrementing easily.
Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel
1. Select the formula cells whose references you will prevent from incrementing, and click Kutools > Convert Refers.
2. In the opening Convert Formula References dialog box, check the To absolute option, and click the Ok button.
Then all selected formula cells’ references are changed to absolute reference as below screenshot shown:
3. Select the formula cells, and drag their Fill Handle down to other cells.
So far, in each column formulas return the same value when filling down, because cell reference is static without incrementing. See screenshot:
Kutools for Excel's Convert Refers utility is designed to help Excel users convert cell references of multiple formulas between absolute reference and relative reference with only several clicks.