Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • What-If Analysis: Scenarios and Goal Seek in Excel
  • How To Create Frequency Distribution in Excel
  • How to create running total in an Excel Table
  • Subtotal function in Excel
  • How To Perform and Interpret Regression Analysis in Excel

References

  • How to use Excel COLUMN Function
  • Vlookup Examples in Excel
  • How to get relative column numbers in a range in Excel
  • Perform case-sensitive Lookup in Excel
  • Get nth match with INDEX / MATCH in Excel

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation no punctuation
  • Excel Data validation specific characters only
  • Excel Data validation number multiple 100
  • Excel Data validation only dates between

VLOOKUP from another workbook in Excel

by

This tutorial shows how to calculate VLOOKUP from another workbook in Excel using the example below;

Formula

=VLOOKUP(B5,[workbook]sheet!range,4,0)

Explanation

To lookup product data, pricing, or other information stored in a separate (external) workbook, you can use the VLOOKUP function with a full reference to the other workbook. In the example shown, the formula in C5 is:

=VLOOKUP(B5,'[product data.xlsx]Sheet1'!$B$5:$E$13,4,0)

Sample data

The data in the external workbook looks like this:

Worked Example:   Basic Tax Rate calculation with VLOOKUP in Excel

How this formula works

This is a standard use of the VLOOKUP function to retrieve data from the 4th column in a table:

  • lookup value comes from B5
  • table_array is a reference to a range in an external workbook
  • col_index is 4, to retrieve data from the forth column
  • range_lookup is zero to force an exact match

The only difference is the special syntax used for external references, in the “table_array” argument. The syntax for external references is:

'[workbook]sheet'!range
  • workbook is the name of the external workbook (i.e. data.xlsx)
  • sheet is the name of the sheet containing the range (i.e. Sheet1)
  • range is the actual range for table array (i.e. A1:C100)
Worked Example:   VLOOKUP by date in Excel

The easiest way to enter a reference to an external table, is to begin entering the VLOOKUP function normally. Then, when entering the table_array argument, browse to the the external workbook and select the range directly. Excel will construct the needed reference automatically.

Worked Example:   VLOOKUP with two client rates in Excel

Handling spaces and punctuation

Note the reference to workbook is enclosed in square brackets, and the entire workbook + sheet is enclosed in single quotes. The single quotes are required when the workbook or sheet name contains space or punctuation characters

Post navigation

Previous Post:

Weighted average in Excel

Next Post:

Win loss points calculation in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel AND Function
  • How to use Excel OR Function
  • How to use Excel XOR Function
  • How to use Excel TRUE Function
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • How to calculate next scheduled event in Excel
  • How to get same date next month or previous month in Excel
  • Create date range from two dates in Excel
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation
  • Get fiscal year from date in Excel

Grouping

  • Group arbitrary text values in Excel
  • Map inputs to arbitrary values in Excel
  • If cell contains one of many things in Excel
  • Calculate conditional mode with criteria in Excel
  • Categorize text with keywords in Excel

General

  • How to generate random number between two numbers in Excel
  • How to get Excel workbook path only
  • How to choose page/paper size in Excel before Printing
  • How to Insert Cells, Row and Rows in Excel
  • Excel Ribbon Quick Overview For Beginners
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning