+ Reply to Thread
Results 1 to 4 of 4

Use cell value as workbook name in vlookup range

Hybrid View

  1. #1
    Registered User
    Join Date
    12-04-2013
    Location
    SC
    MS-Off Ver
    Excel 2010
    Posts
    10

    Use cell value as workbook name in vlookup range

    I have the following formula that works. However, I would like to automatically change a portion of it depending on the cell value.
    Let's say in cell A1 the user types in "IS 12-19-13" I would like to change the workbook name "IS 12-18-13" in the formula.

    =IFERROR(VLOOKUP(BQ17,'[IS 12-18-13.xlsm]Summary'!$B$3:$D$21,3,FALSE),0)

    Is this possible?
    Last edited by vlady; 12-19-2013 at 10:00 PM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Formula Help

    First: poor thread title. Most threads in this subforum need help with formula. Be a little more specific in future.

    Now, to your problem: yes, it's possible. Use:

    Formula: copy to clipboard
    =IFERROR(VLOOKUP(BQ17,INDIRECT("'["&A1&".xlsm]Summary'!$B$3:$D$21"),3,FALSE),0)
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    12-04-2013
    Location
    SC
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Formula Help

    Sorry for the poor thread title. This is my first time here. I will be more specific with my upcomming posts.

    Thank you for your help with my formula issue.

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Use cell value as workbook name in vlookup range

    Moderator's Note:
    I change your title that describe your problem.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    Regards,
    Vladimir
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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