How to use the VLOOKUP function to efficiently extract multiple columns with copying.(Microsoft Excel)


Japanese version.

The VLOOKUP function returns a single column (cell) as the search result.

If you want to return more than one column, you will have to create VLOOKUP functions for multiple cells, changing the column number (argument 3).

If possible, we would like to cell-copy the formula, but if we Copy and Paste normally, the column numbers will be copied as they are in the first formula without counting up.

While it is possible to manually rewrite all the column numbers, the large number of target columns is both time-consuming and burdensome, and the possibility of making a mistake is high.

Here are some formulas that can be simply Copy and Paste.


There are four methods.

The first, XLOOKUP function, solves many of the problems of the VLOOKUP function.
It is most recommended for any version that can use the XLOOKUP function.

The second method is recommended because it is simpler.

The third method is used when you want to complete the formula in the VLOOKUP function cell only.

The fourth method is to combine the INDEX and MATCH functions instead of the VLOOKUP function.

This is smarter than the VLOOKUP function, although the formulas are slightly more difficult to read.

If you do not mind the disadvantage of a less well-known function, this is the way to go.

The XLOOKUP function is superior, but the INDEX and MATCH functions functions have the advantage that they can be used with older versions.

Use the XLOOKUP function instead of the VLOOKUP function.

In the XLOOKUP function, what used to be a number specification for the display column becomes a range specification and responds to Copy and Paste and auto-fill.

In the following example, the following is set in cell J4 and then copied and pasted into cells K through L to complete the process.


Spill in the column direction are also efficient.

To do so, set the following in cell J4.


Entering this formula will automatically expand the formula to K-L without Copy and Paste.

Enter the column number in the cell.

Write column numbers on any line. (Row 1 in the sample below)

Sequential numbers are efficient because they can be entered using auto-fill.

Even if it is not consecutive, it is very easy and error-free compared to editing formulas in functions.


Use the COLUMN function together.

Change the column number specification to the formula below.

=COLUMN() - fixed number of columns to adjust

Use the INDEX and MATCH functions instead of the VLOOKUP function.

Combining the INDEX and MATCH functions results in a cell range specification instead of a column number. (Same situation as the XLOOKUP function)

Use the formula below instead of the VLOOKUP function.




Tips. XLOOKUP & VLOOKUP & HLOOKUP(Microsoft Excel)