+ Reply to Thread
Results 1 to 7 of 7

Formula Error when creating Dynamic graph.....

Hybrid View

  1. #1
    Registered User
    Join Date
    10-01-2013
    Location
    Dallas
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: A formula contains one or more errors.....

    I removed the lock on the file, and i also removed some of the extra names i was using when attempting to fix the error myself

    If you would be kind enough to look it over again

  2. #2
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: A formula contains one or more errors.....

    Quote Originally Posted by whylucky View Post
    I removed the lock on the file, and i also removed some of the extra names i was using when attempting to fix the error myself
    If you would be kind enough to look it over again
    For each name reference (exp1 and temp1), copy the referenced formula and paste it in some cell temporarily to allow you to debug it.

    They return a #REF error because the last parameter evaluates to zero. OFFSET(...,0,0) is not a valid reference.

    Aside.... Using OFFSET in a named reference is bad enough, performance-wise. All such references are evaluated every time Excel (re)calculates anything in the workbook.

    To make matters worse, you use COUNTA(B:B) and COUNTA(C:C). That causes Excel to examine all 65536 rows (xls file) of those columns every time Excel (re)calculates anything in the workbook. If you ever "upgrade" the file to xlsx, that will 1,048,576 rows. Ouch!

    You should consider using INDEX:INDEX instead of OFFSET. And if you must use COUNTA, use a limited range references, something that is more reasonable (but appropriate for your purposes, a judgment call). For example, COUNTA($C$1:$C$1000).
    Last edited by joeu2004; 01-27-2016 at 10:11 PM. Reason: INDEX:INDEX, etc

+ 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. Replies: 2
    Last Post: 06-24-2015, 08:41 PM
  2. Formula Errors! Help please!
    By conwayroger25 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-19-2014, 11:55 AM
  3. If contains formula with index match formula produces errors
    By Nicole Matthews in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-31-2013, 07:39 PM
  4. Formula Errors
    By Oly Steel Man in forum Excel General
    Replies: 1
    Last Post: 08-25-2011, 10:35 AM
  5. Replies: 9
    Last Post: 03-16-2010, 03:34 PM
  6. Formula errors
    By MeSteve in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2006, 06:42 PM
  7. Excel Throwing Circular Errors When No Errors Exist
    By MDW in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2006, 09:20 AM

Tags for this Thread

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