How to Divide Multiple Excel Columns by Matching Values in Another Row
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.

- 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.
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.
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.
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.
Click on the first cell of your intended output area (e.g., A3) and type the formula =A2:D2/$A$1:$D$1.
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.

Apply Legacy Array Formulas for Older Versions
Use this method if you are using an older version of Excel (like Excel 2016 or 2019) that does not natively support dynamic spilling.
Troubleshoot the #NAME? Error
Follow these steps if your division formula returns a #NAME? error instead of numerical results.
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. Open your workbook: Launch WPS Spreadsheet and open the document containing your dataset.
- 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. Input the array formula: Select the first target cell and type =A2:D2/$A$1:$D$1 into the formula bar.
- 4. Press Enter to calculate: Hit Enter. WPS Spreadsheet will automatically calculate and distribute the divided values across the corresponding columns.

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.




