+ Reply to Thread
Results 1 to 8 of 8

Checking for error by seeing which cells update upon re-calculating

  1. #1
    Registered User
    Join Date
    02-05-2012
    Location
    Arizona, USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Checking for error by seeing which cells update upon re-calculating

    What I have is a very large Excel 2010 worksheet with hundreds of cells containing formulas.

    I am trying to correct an error (i.e. debug) that I made in calculating a certain quantity (not an Excel error, just my error in writing a formula or logic statement in the worksheet). Therefore the Error Checking button in the Formula tab is not applicable.

    The only way I can find the cell(s) that need to be corrected is for Excel to show which cells changed in value upon the sheet re-calculation resulting from the input of a certain number. Then I can go to each cell, one at a time, to debug.

    Is there any way I can command Excel to highlight or list all cells which change in value upon re-calculation?
    Last edited by AELLC; 02-05-2012 at 02:57 PM. Reason: typos

  2. #2
    Forum Contributor
    Join Date
    04-07-2009
    Location
    Rowley
    MS-Off Ver
    Excel 2007
    Posts
    326

    Re: Checking for error by seeing which cells update upon re-calculating

    If there is some type of keyword that is in the formula
    you could use the regular Find button.

    If your looking for a formula with the keyword ISBLANK or VLOOKUP
    just click the Find & Select button on the ribbon, the select Find button and enter your keyword.

  3. #3
    Registered User
    Join Date
    02-05-2012
    Location
    Arizona, USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Checking for error by seeing which cells update upon re-calculating

    xenix, neither is the case. It is a worksheet that I have been modifying for years to increase its functionality, and somehow an error crept in, of which I just noticed today.

    I have no idea what is causing the error. The only way I can debug it is to see which cells update, otherwise it may take a very long time.

  4. #4
    Forum Contributor
    Join Date
    04-07-2009
    Location
    Rowley
    MS-Off Ver
    Excel 2007
    Posts
    326

    Re: Checking for error by seeing which cells update upon re-calculating

    If you know that your getting an error amount in a specific cell,
    then how about the Trace Precedent?

  5. #5
    Forum Contributor
    Join Date
    04-07-2009
    Location
    Rowley
    MS-Off Ver
    Excel 2007
    Posts
    326

    Re: Checking for error by seeing which cells update upon re-calculating

    The only other way I can think of is to create a duplicate sheet
    and use Conditional Formatting to see which cells differ between the two sheets
    when you make changes to the first sheet.

  6. #6
    Registered User
    Join Date
    02-05-2012
    Location
    Arizona, USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Checking for error by seeing which cells update upon re-calculating

    Right now I am comparing 2 worksheets that are only named differently, in order to de-bug this.

    I am doing the trace precedent but it isn't easy because the precedents are so many in number and they branch all over.

    I am wondering if there is an Excel add-in that helps compare the 2 open worksheets.
    Last edited by AELLC; 02-05-2012 at 06:13 PM. Reason: update on progress

  7. #7
    Registered User
    Join Date
    02-05-2012
    Location
    Arizona, USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Checking for error by seeing which cells update upon re-calculating

    OK, the bug may be in a data-validated cell where there is a drop-down list consisting of one blank and a series of numbers 4,6,8, etc.

    Does Excel consider the "blank" to be text rather than a number?

  8. #8
    Registered User
    Join Date
    02-05-2012
    Location
    Arizona, USA
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Checking for error by seeing which cells update upon re-calculating

    I think this is solved, so no need to kick it around further. I did it by switching calculation to manual and comparing the 2 open sheets.

    Just to be sure, the data-validated cell is now followed by a calculation that multiplies it by 1, so the result is either zero or a number>0, never a blank cell.

+ 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