Simon Sez IT

Online software training and video tutorials for Microsoft, Adobe & more

  • Course List
    • Adobe
      • Dreamweaver
        • Dreamweaver CC
        • Dreamweaver CS6
        • Dreamweaver CS5
        • Dreamweaver CS4
      • Flash
        • Flash CS5
      • InDesign
        • InDesign CS6
        • InDesign CS5
      • Photoshop
        • Photoshop CS6
        • Photoshop CS5
        • Adobe Photoshop CS4
      • Photoshop Elements
        • Photoshop Elements 2022
        • Photoshop Elements 2019
        • Photoshop Elements 2018
        • Photoshop Elements 15
        • Photoshop Elements 14
        • Photoshop Elements 13
        • Photoshop Elements 12
        • Photoshop Elements 11
        • Photoshop Elements 10
        • Photoshop Elements 9
        • Photoshop Elements 8
    • Microsoft
      • Access
        • Access 2021
        • Access 2019
        • Access 2019 Advanced
        • Access 2016
        • Access 2016 Advanced
        • Access 2013
        • Access 2013 Advanced
        • Access 2010
        • Access 2010 Advanced
        • Access 2007
      • Excel
        • Data Analytics in Excel
        • Excel 2021 Advanced
        • Excel 2021 Intermediate
        • Excel 2021 Beginners
        • PivotTables for Beginners
        • Excel Dashboards
        • Advanced Formulas in Excel
        • Excel for Business Analysts
        • Advanced PivotTables
        • Power Pivot, Power Query and DAX in Excel
        • Excel 2019 Beginners (Mac)
        • Excel 2019 Beginners
        • Excel 2019 Advanced
        • Excel 2016 Beginners
        • Excel 2016 Intermediate
        • Excel 2016 Advanced
        • Excel 2013
        • Excel 2013 Advanced
        • Excel 2010 Beginners
        • Excel 2010 Advanced
        • Excel 2007
      • OneNote
        • OneNote Desktop and Windows 10
        • OneNote 2016
      • Outlook
        • Outlook 2021
        • Outlook 2019
        • Outlook 2016
        • Outlook 2013
        • Outlook 2010
        • Outlook 2007
      • Power Automate
        • Introduction to Power Automate
      • Power BI
        • Power BI
        • Power BI Intermediate
      • PowerPoint
        • PowerPoint 2021
        • PowerPoint 2019
        • PowerPoint 2016
        • PowerPoint 2013
        • PowerPoint 2010
        • PowerPoint 2007
      • Project
        • Project 2021
        • Project for the Web
        • Project 2019
        • Project 2019 Advanced
        • Project 2016
        • Project 2016 Advanced
        • Project 2013
        • Project 2013 Advanced
        • Project 2010
        • Project 2010 Advanced
      • Publisher
        • Publisher 2013
      • SharePoint
        • SharePoint Online
        • SharePoint Foundation 2013
        • SharePoint Server 2013
        • SharePoint Foundation 2010
      • Teams
        • Microsoft Teams
      • VBA
        • Macros and VBA for Beginners
        • VBA for Excel
        • VBA Intermediate Training
      • Visio
        • Microsoft Visio 2019
        • Visio 2016
        • Visio 2013
        • Microsoft Visio 2010
      • Windows
        • Windows 11
        • Windows 10 (2020 Update)
        • Windows 10
        • Windows 8
        • Windows 7
        • Windows Vista
      • Word
        • Word 2021
        • Word 2019 Advanced
        • Word 2019
        • Word 2016
        • Word 2013
        • Word 2010
        • Word 2007
    • QuickBooks
      • QuickBooks
        • QuickBooks Desktop Pro 2022
        • QuickBooks Pro 2021
        • QuickBooks Online Advanced
        • QuickBooks Online
        • QuickBooks Canada
        • QuickBooks Pro 2020
        • QuickBooks 2019
        • QuickBooks 2018
        • QuickBooks Pro 2017
        • QuickBooks Pro 2016
        • QuickBooks Pro 2015
        • QuickBooks Pro 2014
        • QuickBooks Pro 2013
        • QuickBooks Pro 2012
        • QuickBooks Pro 2011
        • QuickBooks Pro 2010
        • QuickBooks Pro 2009
    • Web Development
      • AngularJs
        • AngularJS Crash Course
      • Dreamweaver
        • Dreamweaver CC
        • Dreamweaver CS6
        • Dreamweaver CS5
        • Dreamweaver CS4
      • Bootstrap
        • Bootstrap Framework
      • Html/CSS
        • HTML/CSS Crash Course
        • HTML5 Essentials
      • Python
        • Python Object-Oriented Programming
        • Pandas for Beginners
        • Introduction to Python
      • Java
        • Java for Beginners
      • JavaScript
        • JavaScript for Beginners
        • jQuery Crash Course
      • MySql
        • MySQL for Beginners
      • PHP
        • PHP for Beginners
        • Advanced PHP Programming
      • XML
        • XML Crash Course
    • Data Analysis
      • Financial Modeling
        • Financial Risk Management
        • Financial Forecasting and Modeling
      • Alteryx
        • Alteryx Advanced
        • Introduction to Alteryx
      • Power BI
        • Power BI Intermediate
        • Power BI
      • Qlik Sense
        • Qlik Sense Advanced
        • Qlik Sense
      • R Programming
        • R Programming
      • Tableau
        • Tableau Desktop Advanced
        • Tableau Desktop
      • Python
        • Python Object-Oriented Programming
        • Pandas for Beginners
        • Introduction to Python
    • Work Productivity
      • Google Sheets
        • Google Sheets for Beginners
      • Confluence
        • Introduction to Confluence
      • Monday
        • Getting Started in Monday.com
      • Asana
        • Asana for Employees and Managers
        • Introduction to Asana
      • Jira
        • Getting Started in Jira
  • For Business
  • About Us
    • Testimonials
    • Contact Us
    • FAQ
    • Membership
    • About Us
  • Pricing
  • Free Resources
  • Sign In
  • Get Started
Home > Microsoft Excel > How to Use Nested VLOOKUP in Excel? A Step-by-Step Guide

How to Use Nested VLOOKUP in Excel? A Step-by-Step Guide

(Note: This guide on how to use nested VLOOKUP in Excel is suitable for all Excel versions including Office 365)

Most of us have become familiar with VLOOKUP in Excel over the years. So many guides and tutorials have been made about this wonderful function. We know that it is used to look up values from databases. However, did you know that you can actually nest VLOOKUP formulas together? 

Yes, in fact, you can keep nesting VLOOKUP functions together as much as you need. Now, you might be wondering what is the purpose of all this? 

Well, the answer is very simple. Sometimes, you may be required to lookup values which are interlinked via several tables. Now, instead of using separate VLOOKUP formulas to extract each one of the intervening values, you can nest all of them together and arrive at the final value in one go. 

Sounds confusing? 

Don’t worry! It will all be clear as day after I explain this with an example. 

How to Use Nested VLOOKUP in Excel?

Let us say, for example, I have a spreadsheet where I have two separate tables. The first table lists all the book names along with their corresponding IDs. The second table lists the price of each book ID. 

Now, if I ask you to find the price of a certain book based on its name, you can use two separate VLOOKUP formulas as shown below: 

Why Nested VLOOKUP ?

Here, the first VLOOKUP formula =VLOOKUP(G9,I3:J5,2) looks for the book’s name and returns the corresponding ID from Table1. 

And the second VLOOKUP formula =VLOOKUP(H9,L3:M5,2) looks for the book’s ID and returns the corresponding price from Table2. 

Pretty simple, isn’t it?

But, it is definitely a roundabout way of doing this. 

Why can’t we just combine these two VLOOKUP formulas together and directly get the price data in one go? 

All you have to do is nest the first VLOOKUP formula inside the input of the second VLOOKUP formula. 

It will look something like this: 

=VLOOKUP(VLOOKUP(K9,I3:J5,2),L3:M5,2)
Nested VLOOKUP in Excel
Nested VLOOKUP in Excel

Here, the inner VLOOKUP looks for the book’s name and returns the ID. The outer VLOOKUP looks for the book’s ID and returns its price from Table 2. 

That’s all folks! This is nested VLOOKUP in a nutshell. Using nested VLOOKUPs will save you a lot of time and space, especially when multiple sheets and complex tables are involved. 

What is even better about this is that you can keep nesting VLOOKUPs together as much as you want. By doing this, you can skip several steps and avoid a lot of confusion. 

Nested VLOOKUP Syntax

To summarize what we just discussed:

You can nest multiple VLOOKUPs together to skip unnecessary calculations. 

The general syntax is:

VLOOKUP_final(VLOOKUP_initial, Final_Table, Index)

Where VLOOKUP_final returns the final value and VLOOKUP_initial returns any intermediary values. 

How to Use Conditional VLOOKUP? 

Another interesting use case of nested VLOOKUPs is to look up values across multiple tables. 

Let us say, you have three different tables (let us call them A, B and C) which list various book IDs and their corresponding prices. 

Now, you want to look up the price of a certain book ID, but you are not sure where it is listed. 

You can easily do this by combining nested VLOOKUPs and the IFERROR function together by using the following formula syntax:

IFERROR(VLOOKUP_TABLEA(IFERROR(VLOOKUP_TABLEB,VLOOKUP_TABLEC)))

Here, the IFERROR traps any #N/A error and redirects Excel to look for the value in all the tables A, B, and C. 

Conditional VLOOKUP in Excel
Conditional VLOOKUP in Excel

In this example, the formula will look like this: 

=IFERROR(VLOOKUP(F12,C5:D7,2),IFERROR(VLOOKUP(F12,F5:G7,2),VLOOKUP(F12,I5:J7,2)))

In short, this formula looks for the value in Table A first. If it fails, then it looks for the value in Table B next. If it still fails, it looks for the value in Table C last. 

The key modification here is the IFERROR function. It catches all errors and runs alternate VLOOKUPs if that is the case. 

Closing Thoughts

In this guide, we saw how to use nested VLOOKUP in Excel. We also discussed the merits and use cases of nested VLOOKUPs. This may seem confusing at first, but it is pretty straightforward. I recommend you try using these functions in a rough spreadsheet and see for yourself. 

Please let me know if you have any questions. We are always happy to help. 

If you need more high-quality Excel guides, please check out our free Excel resources center.

Simon Sez IT has been teaching Excel for over ten years. For a low, monthly fee you can get access to 130+ IT training courses. Click here for advanced Excel courses with in-depth training modules.

Simon Calder

Chris “Simon” Calder was working as a Project Manager in IT for one of Los Angeles’ most prestigious cultural institutions, LACMA. He taught himself to use Microsoft Project from a giant textbook and hated every moment of it. Online learning was in its infancy then, but he spotted an opportunity and made an online MS Project course - the rest, as they say, is history!

Most Popular Posts

  • Kanban vs Scrum: Project Management Methodologies and Their Differences [2022]
  • How to Insert a Checkbox in Excel? 3 EASY Examples
  • How to Autofit Excel Cells? 3 Best Methods
  • XLOOKUP Google Sheets – 4 Best Alternatives!
  • Dashboards in Excel Using Pivot Tables, Pivot Charts and Slicers
  • Free Microsoft Project Training Course
  • Free Microsoft Access Tutorial for Beginners (3.5 Hours Video)
  • How to Use Blending Mode With Layers in Adobe Photoshop Elements 15

Similar Posts

How to Save a Word Document? 3 Useful Ways

How to Use Microsoft Planner Tutorial

How to Setup and Track Sales Tax in QuickBooks 2018

Introduction to Jira Boards [2022]

Using the Layout Tab for Excel 2010 Charts and Graphs – Part 2

How to Wrap Text in Excel? With 6 Simple Methods

Course Categories

  • Adobe
  • Data Analysis
  • QuickBooks
  • Microsoft
  • Web Development
  • Work Productivity

About Us

  • About Us
  • Free Resources
  • Affiliates
  • Become an Instructor

Products

  • Pricing and Plans
  • Business Pricing
  • Government Discounts
  • Non-Profit Discounts

Support

  • FAQ’s
  • Contact Us
  • DVD support

Connect

YoutubeFacebookLinkedIn
© 2023 Simon Sez IT, Inc.
  • Terms
  • Privacy Policy
  • Sitemap
888.817.6665 Monday thru Friday 7:30 a.m. - 5:00 p.m. (ET)