Formula Errors

How to Keep an Excel Total Column as a Fixed Divisor

Huda QurayshiHuda Qurayshi Oct 26, 2026 868 views

Question details

The user needs to lock a specific total cell so it acts as a constant divisor when a percentage formula is copied across multiple columns.

How to Keep an Excel Total Column as a Fixed Divisor in Formulas
Product
Excel / Spreadsheets
Device & OS
not provided
Scenario
Calculating percentages or ratios across a table where each column's value must be divided by a single, stationary total.
Observed behavior
When the formula is copied normally, the relative reference moves to the next column, causing calculation errors because the divisor cell shifts away from the actual total.
Before you start

Identify the exact cell containing your total value and ensure your numerator data is correctly laid out before modifying the division formula.

Solution 1Recommended

Use an Absolute Cell Reference for the Divisor

Apply dollar signs to lock both the row and column of your total cell, turning it into an absolute reference that stays fixed when copied.

By default, spreadsheet formulas use relative references. This means when you copy a formula to the next cell, the cell references shift accordingly. To prevent your divisor from moving, you must convert it to an absolute reference by placing a dollar sign ($) before both the column letter and row number.

1
Enter the division formula

Click the cell where you want your first result. Type the equals sign (=), select your numerator cell (e.g., B8), and type the forward slash (/) for division.

2
Select the divisor cell and lock it

Click the cell containing your total (e.g., F8). Immediately press the F4 key on your keyboard. The reference will change to include dollar signs (e.g., $F$8).

3
Copy the formula across the table

Press Enter to calculate the first result. Then, click the result cell, grab the small square fill handle at the bottom-right corner, and drag it across your table to copy the formula.

F4 Shortcut Tip: Pressing the F4 key multiple times cycles through different reference types: absolute ($F$8), mixed row (F$8), mixed column ($F8), and relative (F8).
Powerful Spreadsheet Tool

Manage Formulas Easily with WPS Spreadsheets

WPS Office Spreadsheets provides identical formula functions to Microsoft Excel, making it incredibly easy to use absolute references, calculate percentages, and manage large datasets efficiently.

  1. 1. Open your dataset in WPS Spreadsheets: Launch WPS Office and open your workbook containing the data.
  2. 2. Type your calculation formula: Enter your division formula, selecting the cell you wish to use as the divisor.
  3. 3. Lock the reference with F4: Press F4 to add dollar signs to the divisor cell reference, ensuring it stays absolute when copied.
  4. 4. Drag to fill: Use the fill handle to easily drag and copy your locked formula across all necessary rows or columns.
Fully compatible with Microsoft Excel (.xlsx) formats and formulasSeamlessly supports F4 shortcuts to lock cell referencesLightweight, fast, and completely free to use for your daily spreadsheet tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why am I getting a #DIV/0! error when copying my formula?

This error occurs because the divisor reference is relative and has shifted to an empty cell or a cell containing a zero. Changing the divisor to an absolute reference (like $F$8) keeps it locked on the correct total.

Can I lock just the row or just the column?

Yes. This is called a mixed reference. Using $F8 locks only the column F, while F$8 locks only the row 8. This is useful when you only want the reference to stay fixed in one direction.

Does the F4 shortcut work on Mac?

On a Mac, you can generally use Command + T or fn + F4 while inside the formula bar to cycle through absolute and relative cell references.