+ Reply to Thread
Results 1 to 2 of 2

lookup of tabname in another file

  1. #1
    Registered User
    Join Date
    01-14-2022
    Location
    The Netherlands
    MS-Off Ver
    Office 2016
    Posts
    1

    lookup of tabname in another file

    disclaimer, not native English so naming may not be in accordance to the official English names.

    I have two files. File A does a vlookup in File B, File B has a lot of tabs.

    This is the formula:
    =VLOOKUP(cel;'[File B.xls]Tab01'!range;colum;nottrue)

    Simple and works fine.

    However, I was wondering if i can also have incorparated in this formula the look up of Tab01 it needs to find the data on?

    I have a lot of rows in File A that need to look up information in the various tabs of File B.

    Looking forward to your reply!

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

    Re: lookup of tabname in another file

    To do this you would need to use the INDIRECT function, which converts a text string which represents a range reference into an actual reference which Excel can work with.

    One problem with this function, however, is that it only works with workbooks which are open - can you guarantee that File B will be open in the same instance of Excel?

    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. [SOLVED] used tabname on my formula
    By kangourou01 in forum Excel General
    Replies: 3
    Last Post: 05-11-2017, 10:44 AM
  2. tabname!23:23 and tabname!$23:23 what does it stand for ?
    By rohit23 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-27-2016, 07:50 AM
  3. [SOLVED] Insert tabname every cell (Error)
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2015, 07:17 AM
  4. [SOLVED] Tabname function not dynamic
    By Lythamlatic in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-01-2015, 11:00 AM
  5. Compiling TabName on one Sheet?
    By Petitboeuf in forum Excel General
    Replies: 2
    Last Post: 01-11-2007, 01:27 PM
  6. Tabname Changes
    By Big Rick in forum Excel General
    Replies: 2
    Last Post: 03-02-2006, 01:35 PM
  7. Retreiving TABNAME from within a spreadsheet
    By Bob Harike in forum Excel General
    Replies: 2
    Last Post: 02-02-2005, 06:06 PM

Tags for this Thread

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