logo
search
Formula Errors

How to Divide Multiple Excel Columns by Matching Values in Another Row

Huma Ashraf ChHuma Ashraf Ch Sep 30, 2026 869 views

Question details

The user needs to divide data across four different columns by specific matching values located in another row without performing manual cell-by-cell calculations.

How to Divide Multiple Excel Columns by Matching Values in Another Row
Product
Excel
Device & OS
not provided
Scenario
Applying a bulk division calculation across multiple columns using an array formula to improve efficiency and avoid repetitive manual data entry.
Observed behavior
The formula required legacy array entry (Ctrl+Shift+Enter) to work in older versions and occasionally returned a #NAME? error due to syntax or range definition issues.
Before you start

Ensure your divisor values are placed in a continuous row directly above or separate from your dataset, perfectly matching the column layout of the data you wish to divide.

Solution 1Recommended

Use Dynamic Array Formulas in Modern Excel

This is the most efficient method for Microsoft 365 and newer Excel versions, allowing the formula to automatically spill the results into adjacent cells without special keystrokes.

Modern spreadsheet software supports dynamic arrays, meaning a formula designed for a range of cells will automatically calculate and fill the adjacent blank cells.

1
Set up your divisors

Place your dividing numbers in a matching top row. For example, enter 20, 30, 40, and 50 into cells A1, B1, C1, and D1 respectively.

2
Enter the division formula

Click on the first cell of your intended output area (e.g., A3) and type the formula =A2:D2/$A$1:$D$1.

3
Spill the results

Press the Enter key. The results will automatically spill across the columns. You can then drag the fill handle down to apply this calculation to subsequent rows.

Use Dynamic Array Formulas in Modern Excel
Absolute References: Using the dollar signs ($) in $A$1:$D$1 locks the divisor row so it does not shift downward when you copy the formula to other rows.
Efficient Formula Processing

Calculate Multiple Columns Instantly in WPS Spreadsheet

WPS Spreadsheet fully supports advanced array formulas, allowing you to divide multiple columns by row values effortlessly. It automatically handles modern dynamic arrays while fully recognizing legacy Ctrl+Shift+Enter formulas.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the document containing your dataset.
  2. 2. Organize your reference row: Ensure the values you want to divide by are laid out in a single row (e.g., A1 to D1).
  3. 3. Input the array formula: Select the first target cell and type =A2:D2/$A$1:$D$1 into the formula bar.
  4. 4. Press Enter to calculate: Hit Enter. WPS Spreadsheet will automatically calculate and distribute the divided values across the corresponding columns.
Seamless compatibility with Microsoft Excel .xlsx and .xls formats.Native support for dynamic array formulas and bulk data calculations.Free, lightweight, and fast alternative to Microsoft Excel.Intuitive tabbed interface makes managing complex workbooks simple.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my array formula returning a #VALUE! error?

A #VALUE! error in this scenario typically occurs if the size of the array you are dividing (A2:D2) does not perfectly match the size of the divisor array ($A$1:$D$1). Check that both ranges span exactly the same number of columns.

How do I divide an entire column by a single constant number?

To divide a whole column by one specific cell, reference just that cell and make it absolute. For example, enter =A2/$E$1, then double-click the fill handle to apply the formula down the entire column.

Can I use the Paste Special feature to divide multiple columns instead of formulas?

Yes. Copy the row of divisors, highlight your target data columns, right-click and choose 'Paste Special'. Under the 'Operation' section, select 'Divide' and click OK. This will overwrite the original numbers with the divided results.

Do I need to type the curly braces {} for legacy array formulas manually?

No. Typing the curly braces manually will cause Excel to treat the formula as plain text. You must press Ctrl + Shift + Enter, and the software will automatically insert the curly braces for you.