+ Reply to Thread
Results 1 to 7 of 7

Nested VLOOKUP

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Nested VLOOKUP

    Good morning everyone!

    I have attached a sample of what I am trying to accomplish.

    The goal is to have the user select the company, then the contact name. At this point, I would like the correct phone number and extension to upload (in column 'Phone' and 'Extension' respectively). The information is currently on the 'Data' tab. But eventually I will put the data in a separate workbook.

    I have tried to do work with a vlookup formula, but I do not think this is the right way to go about it.

    Does anyone have any suggestions?

    Thank you,

    Louise
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Nested VLOOKUP

    Enter formula in F2 copy down and across

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    04-23-2013
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Nested VLOOKUP

    Thank you for the quick response AlKey, but the phone numbers are not uploading correctly when I copy the formula through on the sample sheet. The numbers for Jim and Jeff at GHI company are incorrect.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Nested VLOOKUP

    Try this

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,215

    Re: Nested VLOOKUP

    In F2

    =IFERROR(INDEX(Data!$A$2:$F$6,MATCH(1,(Company=$D2)*(Contact=$E2),0),MATCH(F$1,Data!$A$1:$F$1,0)),"")

    Enter with Ctrl+Shift+Enter

    Copy across and down

    Extended range in data for "future" headings

  6. #6
    Registered User
    Join Date
    04-23-2013
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Nested VLOOKUP

    Thank you JohnTopley...the array works beautifully!

    Have a wonderful evening!

  7. #7
    Registered User
    Join Date
    04-23-2013
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Nested VLOOKUP

    AlKey....your solution also works beautifully...for anyone reading this post....either solution would satisfy parameters set forth in my problem.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Nested Vlookup, or Vlookup that looks at two columns, not just one?
    By FirestarZA in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-24-2014, 08:18 AM
  2. Nested VLOOKUP
    By dave9860E in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-14-2013, 06:59 AM
  3. Nested IF's and VLOOKUP's
    By OsingaL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2011, 09:55 PM
  4. Excel 2007 : Need Help on Nested Vlookup
    By kunalsspl in forum Excel General
    Replies: 1
    Last Post: 03-23-2010, 07:42 AM
  5. Vlookup across sheets, nested Vlookup possibly?
    By paid2mkgrlspanic in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 06-09-2009, 05:10 PM
  6. Nested vlookup
    By Cat22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-13-2008, 10:27 AM
  7. Nested If with VLOOKUP's... I think!
    By PeterManner in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  8. Nested If with VLOOKUP's... I think!
    By PeterManner in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1