Results 1 to 3 of 3

Reference cell value in a different workbook where the sheet name is defined by a cell

Threaded View

  1. #1
    Registered User
    Join Date
    09-28-2017
    Location
    York, England
    MS-Off Ver
    2013
    Posts
    2

    Reference cell value in a different workbook where the sheet name is defined by a cell

    Hi,

    I have a total of 6 workbooks that each have 12 sheets January to December, 5 of the workbooks hold data and the 6th is to collate data from all the other workbooks!

    I am trying to reference a cell in a workbook where the sheet name is defined by a cell value. I can directly reference it by using the formula:

    ='[Dept 1.xlsx]January'!N32

    So the workbook with the formula in is called "Overview", in cell m11 I can use the formula to look into the second workbook called "Dept 1" and on the sheet called "January" in cell N32 is the data I require. which works!

    What I would like to do is modify the formula so that the sheet name in the "Dept 1" workbook is defined by cell "I5" in the "Overview" workbook. this is because there are 366 cells to reference in January. I would like to be able to copy the page, change the value in I5 (overview) to February so it pulls up the data from Dept 1 February workbook on the overview workbook sheet February.

    I have looked at indirectly referencing the cells but not had much luck, can anyone suggest another way to try?

    I have attached 2 sample workbooks if that helps.

    Thanks in advance
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using a cell reference to open a specific sheet within a closed workbook
    By heliwiggy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2014, 12:15 PM
  2. Replies: 3
    Last Post: 10-07-2013, 03:34 PM
  3. Need to write data from a row to another workbook sheet defined by cell value
    By newbie-excel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-03-2013, 01:10 PM
  4. how to set up a workbook file, sheet, and cell reference as parameters
    By LesterRMartin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-26-2012, 03:17 PM
  5. [SOLVED] copy active sheet, create new workbook, name new workbook based on cell reference
    By jm0392 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2012, 07:12 PM
  6. Reference Workbook and sheet from a cell using VBA
    By Xrull in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-24-2009, 06:18 AM
  7. Cell reference or defined name for a sheet
    By negcx in forum Excel General
    Replies: 2
    Last Post: 01-13-2009, 07:34 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