Function Problems

How to Copy an Excel Formula Across Columns Without Find and Replace

Algirdas JasaitisAlgirdas Jasaitis Nov 11, 2026 869 views

Question details

The user needs a method to copy complex formulas across columns without manually updating column letters using the Find and Replace tool.

How to Copy an Excel Formula Across Columns Without Find and Replace
Product
Excel
Device & OS
not provided
Scenario
Copying formulas that contain hard-coded arrays, non-contiguous cell references, or INDIRECT functions to adjacent columns while ensuring the references update correctly.
Observed behavior
Standard copy-pasting fails to adjust column letters inside text arrays or specific function structures, forcing the user to manually update references using Find and Replace.
Before you start

Ensure your spreadsheet software is updated to a version that supports dynamic array functions like LET and VSTACK, as these are required for the most efficient and automated solution.

Solution 1Recommended

Use LET and VSTACK for Dynamic Range Evaluation

Replace hard-coded lists with a range-based formula using LET and VSTACK, allowing the spreadsheet to dynamically update column references when copied.

By grouping non-contiguous cells into a single array using VSTACK and assigning it a variable name with LET, you avoid hardcoding text strings. This allows standard relative referencing to work perfectly when dragging the formula across columns.

1
Select the target cell

Click on the cell where you want to input your initial formula.

2
Enter the dynamic formula

Type the formula using LET and VSTACK to group your specific cells. For example: =LET(in,VSTACK(K2,K7,K11,K15),-SUMPRODUCT(in,--(in>0)))

3
Apply the formula

Press the Enter key to calculate the result for the first column.

4
Drag to copy across columns

Click and hold the fill handle (the small square in the bottom-right corner of the selected cell) and drag it horizontally across the adjacent columns. The relative references (like K2, K7) will automatically adjust to L2, L7, etc.

Use LET and VSTACK for Dynamic Range Evaluation
Version Compatibility: Functions like VSTACK and LET are available in newer spreadsheet versions such as Office 365, Excel 2021, and the latest WPS Office updates.
Advanced Spreadsheet Functions

Handle Complex Formulas Easily with WPS Office

WPS Spreadsheet provides comprehensive support for advanced functions, including dynamic arrays, LET, VSTACK, and SUMPRODUCT. You can effortlessly manage complex calculations and copy formulas across columns without manual edits.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your data.
  2. 2. Select the target cell: Click on the cell requiring the complex formula.
  3. 3. Input the dynamic formula: Type your formula utilizing advanced functions like LET or VSTACK to group your data ranges.
  4. 4. Drag to copy: Use the fill handle in the bottom right corner of the cell to drag and copy the formula across adjacent columns seamlessly.
Fully compatible with Microsoft Excel file formats (.xlsx) and formulas.Native support for modern dynamic array formulas like LET and VSTACK.Intuitive interface for seamless data analysis and calculation.Free and lightweight alternative to heavy spreadsheet software.
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't Excel update column letters inside text strings or INDIRECT functions?

When you enclose cell references in quotation marks or use them within an INDIRECT function, they are treated as static text rather than dynamic references. Consequently, dragging the fill handle to copy the formula does not update these text strings.

What is the VSTACK function used for in this formula?

The VSTACK function vertically stacks multiple non-contiguous cells or arrays into a single array. This allows you to group scattered cells together so they can be processed by functions like SUMPRODUCT in one go, enabling relative references to work normally.

Can I copy a formula across columns without changing references at all?

Yes. If you want the formula to point to the exact same cells when copied, you must use absolute references by adding dollar signs (e.g., $K$2) before copying, or copy the formula text directly from the formula bar instead of copying the cell.

What does the LET function do?

The LET function allows you to assign names to calculation results or values within a formula. This improves performance and readability by calculating the value once and reusing the assigned name throughout the formula.