+ Reply to Thread
Results 1 to 5 of 5

How to keep references valid, when cell does not exist yet

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to keep references valid, when cell does not exist yet

    For example I have Sheet 1

    I have a formula in sheet 1
    =Sheet2!A1

    But Sheet 2 does not exist. It will not exist until I run a program to create the sheet and populate the data.

    However after I run the program I get #ref


    How can I keep the reference valid until I can get the sheet created?



    Thanks,
    Jay

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: How to keep references valid, when cell does not exist yet

    you could put this before the formula ' that will deactivate it. Then when it exists do a find and replace and that may work.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to keep references valid, when cell does not exist yet

    Use

    =INDIRECT("Sheet2!A1")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: How to keep references valid, when cell does not exist yet

    =INDIRECT("Sheet2!A1")

  5. #5
    Registered User
    Join Date
    05-07-2014
    Location
    Houston
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to keep references valid, when cell does not exist yet

    Is there a way to get indirect to work when explicitly stating the workbook?


    =INDIRECT("'C:\Folder1\[Workbook1.xlsx]Sheet2'!$B$3")
    Last edited by MTSkibum; 05-07-2014 at 01:05 PM.

+ 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. Lsit From Data Validation References Sheet That Doesn't Exist!
    By clattenburg cake in forum Excel General
    Replies: 2
    Last Post: 07-25-2013, 11:49 AM
  2. Creating cell references for files that do not exist yet
    By utahmoose in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-03-2013, 11:55 AM
  3. Replies: 1
    Last Post: 01-29-2012, 01:19 PM
  4. Cell References data that doesn't exist?
    By hokeyplyr48 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-31-2008, 05:41 PM
  5. Replies: 4
    Last Post: 06-18-2006, 01:10 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