+ Reply to Thread
Results 1 to 4 of 4

vlookup - sheet of table array from a cell

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2016
    Posts
    187

    vlookup - sheet of table array from a cell

    Hi
    I would like to build a vlookup-formula on such a was that the name of sheet where the name of the table array-sheet comes from a value of a cell.
    The reason why is that I have two sheets with the same structure, but different names (of course), and on the result-sheet I have the a column (a1) that contains the name of the sheet (sample1 or sample2) where the valued is to be searched.

    =VLOOKUP(B1,sample1!D3:E6,2,0)
    In the the result-sheet I have the a column (a1) that contains the name of the sheet (sample1 or sample2) where the valued is to be searched.

    I want the string"sample1" to be replaced by"sample2" in the formula according the value of A. I tried to concatenate-t it, but didn't work out.
    I would appreciate some advice.
    Thanks

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: vlookup - sheet of table array from a cell

    Try:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2016
    Posts
    187

    Re: vlookup - sheet of table array from a cell

    very good, thank you

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: vlookup - sheet of table array from a cell

    Happy to help.
    Thanks for rep.

+ 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. Vlookup Table array shifted one cell down
    By ALEZI in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-29-2016, 10:34 AM
  2. [SOLVED] Using Cell Value for VLOOKUP Table Array
    By kyleflanigan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-03-2014, 09:26 AM
  3. Replies: 4
    Last Post: 03-04-2014, 09:19 PM
  4. [SOLVED] Need to apply vlookup in current sheet with table array from another workbook
    By deepak.sirsale in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2014, 04:26 AM
  5. vlookup table array until the very last cell with value
    By cgaisano in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-17-2013, 02:39 AM
  6. [SOLVED] Vlookup syntax for table array on another sheet:
    By stockgoblin42 in forum Excel General
    Replies: 2
    Last Post: 05-21-2012, 11:27 PM
  7. Replies: 2
    Last Post: 02-23-2011, 07:24 AM

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