+ Reply to Thread
Results 1 to 6 of 6

How to: Return values from another sheet but vlaue not change with insert of row

  1. #1
    Registered User
    Join Date
    09-08-2008
    Location
    Cayman Islands
    Posts
    18

    How to: Return values from another sheet but vlaue not change with insert of row

    I've attached a worksheet to help explain what I need. I've searched and found many answers from Offset, Index, Indirect. Neither work, at least with me, to return the results I need.

    If you look on Sheet1 G2 - it's blank
    Look on the sheet Test A3 - it has May 8 2012

    I need Sheet1 G2 to always reference Test A3 even after I insert a row. So basically once I insert a row it should return a null value. What I will do then is enter data from the next day in Test A3 which will update in Sheet1 G2.

    based on my spreadsheet you'll see that I need to do this for more cells but I think once I get the formula for one I can manipulate the remaining.

    Any help would be greatly appreciated as I need this for our generator scheduling at work.
    Attached Files Attached Files

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to: Return values from another sheet but vlaue not change with insert of row

    Hi

    Did you try?

    =INDIRECT("Test!A3")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: How to: Return values from another sheet but vlaue not change with insert of row

    Hello

    Try this, will return "" if A3 is blank

    =IF(LEN(INDIRECT("Test!A3"))=0,"",INDIRECT("Test!A3"))

  4. #4
    Registered User
    Join Date
    09-08-2008
    Location
    Cayman Islands
    Posts
    18

    Re: How to: Return values from another sheet but vlaue not change with insert of row

    Thanks!!!!!!!!!!!!
    Both worked. Only difference the indirect returns a value of jan-00 after I insert whereas the second suggestions leaves the field blank which is preferred. Thanks again

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: How to: Return values from another sheet but vlaue not change with insert of row

    You are welcome

    And if you prefer "blank" cell, try this.

    =IF(INDIRECT("Test!A3")=0,"",INDIRECT("Test!A3"))

    And pls, don't forget to mark your thread, as Solved!

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to: Return values from another sheet but vlaue not change with insert of row

    The alternative to INDIRECT() (which is volatile) would be INDEX() (not volatile):

    =IF(INDEX(Test!A:A,3)="","",INDEX(Test!A:A,3))

+ 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