+ Reply to Thread
Results 1 to 3 of 3

Using a Cell Value to Reference a Sheet in a Formula

  1. #1
    Registered User
    Join Date
    04-05-2013
    Location
    Gurnee, IL
    MS-Off Ver
    MS365 (PC) Version 2310
    Posts
    51

    Using a Cell Value to Reference a Sheet in a Formula

    I'm trying to use HLOOKUP on a spreadsheet with multiple tabs that are named as weeks of the year. Is it possible to reference a cell value in the HLOOKUP formula that represents the tab name? In this example (=VLOOKUP(A5,Sheet2!A1:K24,3,0)), instead of listing "Sheet2!" in the formula, reference a cell in place of Sheet2! where I can enter different tab names.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Using a Cell Value to Reference a Sheet in a Formula

    Take a look at the INDIRECT function.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Using a Cell Value to Reference a Sheet in a Formula

    More specifically, with the sheet name (Sheet2 in your example) in cell Z1, try this:

    =VLOOKUP(A5,INDIRECT("'"&Z1&"'!A1:K24"),3,0)

+ 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. Formula to make cell reference as name of sheet
    By gassiusmax in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2015, 12:32 PM
  2. Reference Cell as Sheet Name in Formula
    By johnctholen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-19-2014, 05:45 PM
  3. [SOLVED] Use cell reference on one sheet as a sheet name in a formula on another sheet
    By GavJ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-10-2013, 05:06 AM
  4. Use cell value as reference to sheet in formula?
    By bluegnu in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-19-2013, 02:23 PM
  5. Dragging formula, change sheet reference, but not cell reference
    By Kalilaya0419 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2013, 04:50 PM
  6. How can I reference a cell in on sheet as a formula in another
    By hanburym in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-18-2012, 12:17 PM
  7. [SOLVED] Need formula for sheet & cell reference
    By MPH in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-16-2005, 09:07 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