+ Reply to Thread
Results 1 to 5 of 5

Index Match or Vlookup with reference to a tab name in a different file

  1. #1
    Registered User
    Join Date
    10-04-2017
    Location
    Dublin
    MS-Off Ver
    Microsoft 365 Apps for Enterprise
    Posts
    34

    Index Match or Vlookup with reference to a tab name in a different file

    Index Match or Vlookup with reference to a tab name in a different file

    I have 2 files:
    - Price List file contains many Tabs - One Tab is one customer pricelist, with products listed down (they all are identical, only different prices)
    - Summary Book - is a 1 mass table with all customer Pricelists on one page. Again Products listed down but all customers listed across.

    I'm looking for a formula for Summary page that I can pull across and don't need to reference to each tab in Price Lists separately.

    I've attached picture and 2 sample files, hope you can help!!! I found solution with INDIRECT formula if all data in located in one file, but I really need to keep them separately.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,376

    Re: Index Match or Vlookup with reference to a tab name in a different file

    10 is not an Office version - which version do you have? Please update your forum profile. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,792

    Re: Index Match or Vlookup with reference to a tab name in a different file

    You would need to use INDIRECT if you wanted to pull the sheet name from cell B1, but you need to be aware that INDIRECT does not work with closed files, so you would need to ensure that the source file (PriceLists.xlsx) is open at the same time that your Summary file is open.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    10-04-2017
    Location
    Dublin
    MS-Off Ver
    Microsoft 365 Apps for Enterprise
    Posts
    34
    Quote Originally Posted by Pete_UK View Post
    You would need to use INDIRECT if you wanted to pull the sheet name from cell B1, but you need to be aware that INDIRECT does not work with closed files, so you would need to ensure that the source file (PriceLists.xlsx) is open at the same time that your Summary file is open.

    Hope this helps.

    Pete
    Ok i have tried and tried but i can't make up a formula, so that it works. Can you please help?

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,792

    Re: Index Match or Vlookup with reference to a tab name in a different file

    You can use this formula in B3 in the Summary file:

    =VLOOKUP($A3,INDIRECT("'[Price Lists.xlsx]"&B$1&"'!$A:$B"),2,0)

    then copy across and down.

    Hope this helps.

    Pete

+ 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. INDEX MATCH Range Reference using VLOOKUP
    By expeo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-23-2018, 03:57 PM
  2. [SOLVED] Index Match with dynamic external reference (closed file)
    By doq7 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-29-2017, 10:52 AM
  3. [SOLVED] Max and reference cell. Use Vlookup or Index/Match?
    By bortolosso in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2016, 09:10 AM
  4. Index Match / VLookup to reference Worksheets
    By STUARTXL in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-22-2016, 09:29 AM
  5. Replies: 4
    Last Post: 01-13-2014, 04:16 AM
  6. Problems with reference to multiple arrays using VLOOKUP / INDEX-MATCH
    By tnuis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2013, 07:21 AM
  7. INDEX - MATCH - VLOOKUP - returning missing reference
    By njuneardave in forum Excel General
    Replies: 2
    Last Post: 06-27-2006, 02:50 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