+ Reply to Thread
Results 1 to 6 of 6

#REF! Errors after copying formula to new sheet

  1. #1
    Forum Contributor Big.Moe's Avatar
    Join Date
    03-15-2012
    Location
    Corea, Maine, USA
    MS-Off Ver
    Excel 2010
    Posts
    244

    #REF! Errors after copying formula to new sheet

    I'm sure someone has a one click solution to this, but I've been pulling my hair out trying to solve this issue:

    After copying a block of cells to a new sheet, and using the REPLACE command under the EDIT menu to change the sheet references in the formula, all cells give me a #REF! error. The crazy thing is that I have checked the formulas and the references and they are all correct. On top of it, all I have to do to correct this is click on any cell with the error, then click on the formula bar (anywhere in the formula will do), and then press ENTER. No changing anything, just click-click-ENTER and whammo! no more #REF! error for that cell.

    Here's the original of a sample formula:
    =IF('Jan 12'!E$37=0,0,F$9/'Jan 12'!E$37)

    and here is the copied version after changing sheet names:
    =IF('Jan 11'!E$37=0,0,F$9/'Jan 11'!E$37)

    Nothing earth shattering, so I'm stumped. If I only had a couple formulas to do this with, I would just go ahead and do it, but I have quite a few. Plus, I would like to know what's going on just for future reference (no pun intended).

    Thanks.

  2. #2
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: #REF! Errors after copying formula to new sheet

    how about press F9?
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

  3. #3
    Forum Contributor Big.Moe's Avatar
    Join Date
    03-15-2012
    Location
    Corea, Maine, USA
    MS-Off Ver
    Excel 2010
    Posts
    244

    Re: #REF! Errors after copying formula to new sheet

    Nope, tried that.

  4. #4
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: #REF! Errors after copying formula to new sheet

    Can you upload a sample workbook with the #REF error? So we can check on it. Thanks

  5. #5
    Forum Contributor Big.Moe's Avatar
    Join Date
    03-15-2012
    Location
    Corea, Maine, USA
    MS-Off Ver
    Excel 2010
    Posts
    244

    Re: #REF! Errors after copying formula to new sheet

    You won't believe it, I saved a copy of my workbook and cleared those cells (because I had gone ahead & fixed them), then recopied the same exact block of cells to the same exact sheet, replaced all the sheet references, and now it works like a charm!!

    Sorry, I just cannot reproduce the problem....weird.

    This has happened to me before though. It's as if the references just do not update to the new cell on the new sheet after being copied, even though the sheet refs have been changed to the new sheet.

    Oh well, I apologize for taking up your time.

  6. #6
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: #REF! Errors after copying formula to new sheet

    Haha,no problem. I experience before. Same steps but result different just like your situation.

+ 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