Skip to main content

Three easy ways to autofill VLOOKUP in Excel?

VLOOKUP function is useful in Excel, but when you drag the autofill handle to fill range with a VLOOKUP formula, there may appear some errors. Now this tutorial will tell you the correct way to auto fill VLOOKUP function in Excel.

Autofill VLOOKUP in Excel with absolute reference

Autofill VLOOKUP in Excel with range name

Autofill VLOOKUP in Excel with an advanced utility of Kutools for Excel

Sample file


Example

There is a table contains the grades and the relative marks, now you want to look up the grades in B2:B5 and return the relative marks in C2:C5 as below screenshot shown:
doc autofill vlookup 1


Autofill VLOOKUP in Excel with absolute reference

Generally, you may use the VLOOKUP formula like this =VLOOKUP(B2,F2:G8,2) then you drag the auto fill handle to a range you need, you may get the wrong results as below screenshot shown:
doc autofill vlookup 2

But if you use absolute reference instead of the relative reference in the table array part of the formula, the autofill results will be correct.

Type

=VLOOKUP(B2,$F$2:$G$8,2)

into the cell you need, and drag the auto fill handle to a range you need, you will get the correct results. See screenshot:
doc autofill vlookup 3

Tip:

The syntax of the above VLOOKUP: VLOOKUP(lookup_value, table_array, col_index_num), here the B2 is the lookup value, the range $F$2:$G$8 is the table, 2 indicates to return value in the second column of the table.


LOOKUP Values across Multiple Worksheets

The VLOOKUP function is used usually in our Excel daily jobs, here the LOOKUP Across Multiple Sheets utility of Kutools for Excel, can lookup value in different sheets and workbooks, and return the relative values, also it supports to save the added data range as scenario for next time use.   Click for 30 days free trial!
lookup acroos sheets
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

Autofill VLOOKUP In Excel With Range Name

Addition to using absolute reference in the formula, you also can use the range name to instead of the relative reference in the table array part of formula.

1. Select the table array range, then go to the Name box (beside the formula bar) and type Marks (or any name you want) and press the Enter key. See screenshot:
doc autofill vlookup 4

Table array range is the range that contains the criteria you need to use in the VLOOKUP function.

2. In a cell type this formula

=VLOOKUP(B2,Marks,2)

then drag the auto fill handle to a range you need to apply this formula, and the results are correctly gotten.
doc autofill vlookup 5


Autofill VLOOKUP in Excel with an advanced utility of Kutools for Excel

If the formula is troublesome for you, you can try the Super LOOKUP group of Kutools for Excel, which contains several advanced LOOKUP utilities, and all of them supports to auto fill VLOOKUP, you can find one to apply as you need. In this case, I take the LOOKUP Across Multiple Sheets utility as example.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After free installing Kutools for Excel, please do as below:

1. Click Kutools > Super LOOKUP > LOOKUP Across Multiple Sheets.
doc autofill vlookup 6

2. In the LOOKUP Across Multiple Sheets dialog, please do as these:

1) Select the lookup range and output range.
doc autofill vlookup 7

2) In the Data range section, click the Add button doc add button to add the data range you use to the list, you can specify the key column and return column while adding.
doc autofill vlookup 8

3. After adding the data range, click OK, a dialog pops out to ask you if save the scenario, click Yes to give the scenario a name, click No to close. Now the VLOOKUP has been auto filled in the output range.
doc autofill vlookup 9
doc autofill vlookup 10


Combine rows based on another column value in Excel

Here is a table which contains two columns, one is the student names, another is the grade letter.What the job is to combine the names based on the same grade letter. In Excel, there is no built-in function can quickly solve it, while Kutools for Excel's Advanced Combine Rows utility can do you a favor. You can combine rows based on a key column, also can calcualte rows based on column.   Click for 30 days free trial!
doc convert grade to number 5
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

Sample file

Click to download sample file


Other Operations (Articles)

How to autofill VLOOKUP in Excel?
VLOOKUP function is useful in Excel, but when you drag the autofill handle to fill range with a VLOOKUP formula, there may appear some errors. Now this tutorial will tell you the correct way to auto fill VLOOKUP function in Excel.

Apply negative vlookup to return the value in left of the key field in Excel?l
Normally, the Vlookup function can help you to return the value in right columns. If your extracted data in left column, you may consider entering a negative column number within the formula: =Vlookup(F2,D2:D13,-3,0), but...

Apply conditional formatting based on VLOOKUP in Excel
his article will guide you to apply conditional formatting to a range based on VLOOKUP results in Excel.

Group ages in ranges with VLOOKUP in Excel
In my sheet, I have some names and ages, and some age groups, now I want to group the ages based on the given age groups as below screenshot shown. How can I quickly solve it?


  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • Pivot Table Grouping by week number, day of week and more... Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name...
kte tab 201905
  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Comments (2)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Thank you so much!! 馃槃
Rated 5 out of 5
This comment was minimized by the moderator on the site
Thank you! The absolute reference vs relative reference bit is going to save me hours of work.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations