Function Problems

Keep Excel VLOOKUP Pointing to the Original Column After Insertion

Emma BrownEmma Brown Nov 20, 2026 869 views

Question details

Keep a VLOOKUP formula returning values from the same source column after columns are inserted.

Keep Excel VLOOKUP Pointing to the Original Column After Insertion
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains a VLOOKUP formula whose return column may move when a new column is inserted into the lookup range.
Observed behavior
A fixed column index continues to point to the same position in the lookup range, which may no longer be the original return column.
Before you start

Identify the first column of your VLOOKUP range and the column you want to return. The lookup value must be in the first column of the range.

Solution 1Recommended

Use COLUMNS to Create a Dynamic VLOOKUP Index

Use this method when inserting columns between the lookup column and the return column may change the return column's position.

COLUMNS counts the columns from the start of the lookup range through the return column. When a column is inserted within that reference, Excel expands it and updates the index.

1
Select the formula cell

Click the cell containing your VLOOKUP formula, then select the formula bar to edit it.

2
Replace the fixed index

Replace the numeric column index with a COLUMNS reference spanning from the first lookup column through the return column. For example, enter =VLOOKUP("c",A2:F20,COLUMNS(A2:E2),FALSE) and press Enter.

3
Insert and check a column

Right-click the E column header and select Insert. The original column E moves to F, and COLUMNS(A2:E2) updates to COLUMNS(A2:F2), keeping the formula pointed at the original return column.

Use COLUMNS to Create a Dynamic VLOOKUP Index
Match the lookup range: The COLUMNS reference must start in the same column as the VLOOKUP range and end in the intended return column. FALSE requests an exact match.
Work with spreadsheets in WPS Office

Keep VLOOKUP References Flexible in WPS Spreadsheet

Use VLOOKUP with COLUMNS in WPS Spreadsheet to keep returning values from the original column as columns are inserted into the lookup range.

  1. 1. Open your workbook: Open WPS Spreadsheet and use Open to select your workbook.
  2. 2. Edit the formula: Select the VLOOKUP cell and enter =VLOOKUP("c",A2:F20,COLUMNS(A2:E2),FALSE) in the formula bar, adjusting the ranges to match your data.
  3. 3. Insert a column: Right-click a column header between the lookup column and the return column, then select Insert.
  4. 4. Check the result: Select the formula cell and check the formula bar to confirm that the COLUMNS reference expanded and the result still comes from the intended column.
Create a dynamic VLOOKUP column index with COLUMNSOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceWork with spreadsheets for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does VLOOKUP return the wrong column after I insert one?

A fixed index such as 5 still selects the fifth column of the lookup range. Replace it in the formula bar with a COLUMNS reference that ends at the original return column.

What does COLUMNS(A2:E2) return?

It returns 5 because the reference spans columns A through E. If you insert a column before E, the reference expands to A2:F2 and returns 6.

Does the lookup value have to be in the first column?

Yes. VLOOKUP searches the first column of the lookup range. For A2:F20, place the lookup values in column A.

What does FALSE do in the VLOOKUP formula?

FALSE tells VLOOKUP to find an exact match. If the value is not found in the first column of the lookup range, the formula returns an error.