+ Reply to Thread
Results 1 to 4 of 4

Changed named range not updating in formulas

  1. #1
    Registered User
    Join Date
    06-05-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    9

    Question Changed named range not updating in formulas

    Hey, all. First, let me apologize for not uploading a copy of the spreadsheet. It has some company info that can't be public. That being said, here's the scenario:
    - Excel 2010
    - Workbook has a named range, we'll call it named_range on sheet1 referencing cells A1:B100.
    - Sheet2 has a slew of formulas that reference named_range.
    - All is happy and joyful, everything calculates as expected.
    - User updates the named range to instead include sheet1, cells C1:D100.
    - All formulas on sheet2 now give the #Value! error.
    - Formula example: =SUMPRODUCT(named_range, 'Sheet3'!$A$1:$B$100)/SUM(named_range

    What I've tried:
    - CTRL+ALT+SHIFT+F9, SHIFT+F9, and F9 to recalculate all formulas. No dice.
    - Find and replace "=" with "=" also does nothing.
    - Calculation Options are set to automatic.
    - If we delete the formula and retype exactly the same (case and all), the formula works.
    - Copying the formula out of the formula bar, deleting the cell contents, and pasting the formula back in still yields the #Value! error.

    So I thought maybe it was something with the named range and tried recreating it...nope, same results. Also, any named range does this, not just named_range.

    I'm lost . Thank you for any help, in advance.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: Changed named range not updating in formulas

    You need to look at the Scope of the second named_range - it might be defined as having worksheet scope rather than workbook scope, and so it will not be accessible in a different sheet.

    Hope this helps.

    Pete

  3. #3
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Changed named range not updating in formulas

    Hi,

    When you say "User updates the named range to instead include sheet1, cells C1:D100." precisely what is the new named range? I presume just =Sheet1!A1:D100, correct?

    And have you verified that there are no text entries (including numbers formatted as text) or error values in C1:D100 which, when added in to the named range, result in this #VALUE! error?

    Regards
    Click * below if this answer helped

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

  4. #4
    Registered User
    Join Date
    06-05-2013
    Location
    Oklahoma
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Changed named range not updating in formulas

    Scope was correct as well as the defined range. As it turns out, the user had defined the 'Sheet3'!$A$1:$B$100 section incorrectly and had included some invalid data in there. Thanks for the assistance, all.

+ 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. Adding row to a named range-updating the named range address
    By kjsconv in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-12-2013, 11:22 PM
  2. Array formulas referencing a named range or named table
    By anrichards22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-03-2013, 11:59 PM
  3. Dynamic named ranges and updating where formulas pick from
    By Muammar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2012, 08:50 AM
  4. updating new named ranges in existing formulas
    By carsto in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-12-2007, 12:11 PM
  5. Why is my spreadsheet not updating changed formulas?
    By Robertson in forum Excel General
    Replies: 1
    Last Post: 03-08-2006, 07:45 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