+ Reply to Thread
Results 1 to 4 of 4

#ref error sheet not yet created

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    oakhurst
    MS-Off Ver
    2010
    Posts
    11

    #ref error sheet not yet created

    hi, i have a workbook that i use to generate daily sheets with totals. i want those totals to go into a different workbook. my issue is when i creat formulas for the different days in the cummilative workbook i cant reference a sheet in the daily work book that has not been created yet. im capable of waiting everyday and then changing formula in cummilative but other users will not be able to.

    here is an example =[masterfile.xlsm]12-10!$H$16 now for the next row i need it to be =[masterfile.xlsm]12-11!$H$16 and so on. i would like to update the cummalitave so that as the sheets in the other workbook are created it automatically updates any ideas?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: #ref error sheet not yet created

    to eliminate the #ref error showing, you could wrap the reference in iferror()

    =iferror([masterfile.xlsm]12-10!$H$16,"")

    it may still try and look for the file/sheet when you enter it, but will stay blank afterwards
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-05-2012
    Location
    oakhurst
    MS-Off Ver
    2010
    Posts
    11

    Re: #ref error sheet not yet created

    how do i get excel to accept the formula it pops up with dialoge box saying formula contains invalid references. im assuming it is because the next date is not created yet
    =IFERROR('[masterfile.xlsm]12-17'!$H$16,"") does not accept it because 12-17 is not created yet???

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: #ref error sheet not yet created

    correct, the formula is looking for a sheet that does not (yet?) exist

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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