+ Reply to Thread
Results 1 to 6 of 6

#REF! issue when replacing data on sheet 1 out of 2

  1. #1
    Registered User
    Join Date
    04-25-2012
    Location
    Scottsdale, AZ
    MS-Off Ver
    Excel 2010
    Posts
    8

    Exclamation #REF! issue when replacing data on sheet 1 out of 2

    Hi,

    I am having this problem. I have an advanced excel formula on SHEET2 that is referencing SHEET1.

    If I change out data on SHEET1, every field in SHEET2 shows #REF!.

    Is there a way I can lock down the formula on SHEET2, or create a work around to avoid #REF! when replacing data on SHEET1?

    Thanks,
    Arba

  2. #2
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: #REF! issue when replacing data on sheet 1 out of 2

    Please post your workbook
    If I helped, please don't forget to add to my reputation. (click on the star below the post)

    If the problem is solved, please: Select Thread Tools (on top of your 1st post) -> Mark this thread as Solved.

    Failure is not falling down but refusing to get up.

  3. #3
    Registered User
    Join Date
    04-25-2012
    Location
    Scottsdale, AZ
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: #REF! issue when replacing data on sheet 1 out of 2

    The reason I did not post my workbook is because I assume this is the same for any workbook, or formula. If the data is removed or replaced it no longer has a reference point.

    Please find attached,

    Untitled.xlsx

  4. #4
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: #REF! issue when replacing data on sheet 1 out of 2

    Quite right. That's just the nature of formulas.

    But it does seem to look Ok. What exactly do you do to cause the #ref?

  5. #5
    Registered User
    Join Date
    04-25-2012
    Location
    Scottsdale, AZ
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: #REF! issue when replacing data on sheet 1 out of 2

    The first sheet is an export from a 3rd party software I am testing, the second sheet is an import to my local database in the broken out format I needed it in.

    Since I have SHEET2 created, all I have to do is copy/paste data on SHEET1 and it will automatically populate SHEET2 without much more structuring.

    EDIT: This would be a frequent task, so I'm trying to find a way to avoid #REF! where possible for 'slower' end-users.

    EDIT: In my second sheet, is it possible to lock down the fact that A3 is referencing A2, and will always be? Whether or not it contains data? Instead of making A3 reference #REF! when it's removed or replaced?
    Last edited by Arba; 04-27-2012 at 01:22 PM.

  6. #6
    Forum Contributor Russell Dawson's Avatar
    Join Date
    03-01-2012
    Location
    Yorkshire, England
    MS-Off Ver
    2007
    Posts
    608

    Re: #REF! issue when replacing data on sheet 1 out of 2

    If I understand you correctly you are importing a file into sheet1 and then to put it into a correct format for export to your database you are copying into sheet2 which manipulates the data before export.

    Is your example a true representation of what you have when data is received? I have an idea. Is the crucial task to separate the reference "SC[2],EO[1],FL[1]" into SC 2 EO 1 FL 1 ?

    It can be done with Text to columns and a macro could be devised to deal with this as long as the source is always in the same format. You may have considered this and eliminated it but thought I'd mention it.

+ 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