+ Reply to Thread
Results 1 to 3 of 3

Error checking/evaluation of a formula with errors (not the formula's output)

  1. #1
    Registered User
    Join Date
    08-27-2012
    Location
    Santa Ana, CA USA
    MS-Off Ver
    Excel 2010
    Posts
    43

    Error checking/evaluation of a formula with errors (not the formula's output)

    Hello, all.

    What I am looking for is a way to check a large formula for errors. Not in erroneous calculations or output, but syntax error(s) or parenthesis errors and the like within the formula itself. In this situation a coworker is working on a very nice and functional set of workbooks. He tends to solve things with formulas. Earlier he asked me to look over his formula and the thing is HUGE. I mean like need-to-open-the-formula-window-11-more-lines huge (he has it currently saved as text) so a tiny detail like an extra parenthesis or something is very hard to find. When he tries to drop it in the formula window he gets an error saying there is a problem in the formula, and excel will not let him close the cell (with the error'd formula in it) so he can use F9 or click Evaluation under the formula tab.

    I tried unchecking "Enable background error checking" as well as "Cells containing formulas that result in an error" as a last ditch effort to no avail. If there was a way to make excel allow the broken formula to be entered without complaining, that would be super.

    Any advice? Thank you 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,724

    Re: Error checking/evaluation of a formula with errors (not the formula's output)

    Perhaps you could post the formula here so we can see what you mean. There are usually many ways of reducing very long formulae to more manageable sizes.

    Pete

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Error checking/evaluation of a formula with errors (not the formula's output)

    1 tool that I make extensive use of, is the Fx button to the left of the formula bar. Click the cell with the formula, click Fx and w window opens up that will help you walk through the various parts of the formula.

    Another technique is to break the formual down into "lines" using ALT Enter. Break each logical part of the formula onto a line, and indent to show the relationships, something like this (this is just an example to demonstrate)...
    =SUMIF(Sheet1!$B$3:$B$22,$A3,
    ..... Sheet1!E$3:E$22)
    +SUMIF(Sheet1!$G$3:$G$22,$A3,
    ..... Sheet1!J$3:J$22)
    +SUMIF(Sheet1!$L$3:$L$22,$A3,
    ..... Sheet1!O$3:O$22)
    If you upload the text formula. I will take a look for you
    Last edited by FDibbins; 06-24-2015 at 08:45 PM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Formula error for checking cells
    By NickT83 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 07-21-2015, 09:06 AM
  2. Help with nested if formula and error checking
    By barnesbrian813 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-09-2013, 11:37 AM
  3. Replies: 0
    Last Post: 08-14-2009, 11:13 AM
  4. how to Ignore formula Error Checking?
    By dlh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2008, 03:09 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