+ Reply to Thread
Results 1 to 2 of 2

Cell reference to Workbooks that do not yet exist

  1. #1
    Registered User
    Join Date
    05-01-2019
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    19

    Cell reference to Workbooks that do not yet exist

    Dear all,

    I am creating a rota document that analyises and updates itself on a weekly basis.

    At the moment it contains all the data from every day of the year so far. The rotas are created weekly, with names like:

    w01 - Rota - 020119
    w02 - Rota - 070119
    w03 - Rota - 140119

    and so on for 52 weeks.

    It is fine collecting the data for all the previous weeks, but I want it to reference future weeks as well, that do not exist yet, so that when the workbooks are created and put into the correct location, it will reference them automatically once they are created, like:

    w52 - Rota - 301219


    I have tried with the following formula:

    =IFERROR(INDIRECT('c:/Rotas/July/[w29 - Rota - 290719.xlsm]Monday'!$E12),$E$93)


    The $e$93 is what I want the cell to show if the workbook is not yet created.


    This formula doesn't really work. It keeps asking me to identify the workbook, which I cannot. It then shows what is in E93, but doesn't update even if I later create the workbook. It stays on the E93 reference.

    Is there a forumla I can use that is happy to consider the location of the yet non-existant workbook, which will then automatically update once the workbook is created?

    Thank you in advance, you guys always come through for me.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,659

    Re: Cell reference to Workbooks that do not yet exist

    It would be interesting to see your set-up. This to me sounds like something that PowerQuery might handle in terms of the data collation.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Replies: 10
    Last Post: 02-15-2019, 05:04 AM
  2. [SOLVED] Does a Reference exist?
    By Yoepy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2016, 10:43 PM
  3. Workbooks.open is creating a file if it does not exist
    By jkj115 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2015, 10:06 AM
  4. [SOLVED] Check First IF Sheet Is Exist With The Name Of Cell K7 If exist Then run the code
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-18-2015, 10:08 AM
  5. Excel 2007 : Reference to cell that do not exist?
    By kenwood in forum Excel General
    Replies: 1
    Last Post: 08-08-2011, 04:18 PM
  6. cell reference from other workbooks
    By BigDogTroy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-29-2008, 10:16 AM
  7. Links to other workbooks:cell reference
    By Bru86 in forum Excel General
    Replies: 1
    Last Post: 08-24-2007, 06:02 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