Home > Formulas > Functions > Audit
|
Here are a few of my favourite ways to troubleshoot Excel formulas in a workbook. Use keyboard shortcuts to show or hide formulas. Spy on cells with the Watch window. Jump from a formula cell, to its precedent or dependent cells. Fix minor problems, before they grow bigger! |

If you're having problems with worksheet formulas in Microsoft Excel, do some quick troubleshooting, to look for the problem.
On the Excel Ribbon, there are several built-in tools and commands, in the Formula Auditing group. In the sections below, see my tips for using these tools, so you can fix minor problems, and get back to work!

Watch this short video, to see a few of my favourite commands and shortcuts for auditing and troubleshooting formulas. There are written steps below the video, and on the FORMULATEXT function page.
Video Timeline
Most of the time, you can see the formula results on a worksheet.
Occasionally though, you might want to show the formulas in the cells, instead of the results. This can be an easy way to do some quick formula troubleshooting.
For example, in the screen shot below, results are showing, and cells' formulas can be seen, one at a time:

Instead of checking cell formulas one at a time, you can use the Show Formulas feature, to see all of the worksheet formulas.
The quickest way to show or hide formulas on the worksheet is with a keyboard shortcut:
Ctrl + `

In the screen shot below, the Show Formulas setting has been turned on.
For troubleshooting, you can quickly scan down the columns, to see if the formulas look consistent.

If you prefer to use commands from the Excel Ribbon, follow the steps below, to turn the Show Formulas setting on or off.
Later, you can use the Show Formulas command again, to turn Show Formulas OFF

When the formulas are displayed in a worksheet, all the dates are displayed as numbers, instead of a date format. They will return to date formatting when the Show Formulas setting is turned off. Other numbers will be displayed with General format, while formulas are showing.
Here is the worksheet, with dates and number formatting displayed.

Here is the same worksheet, with dates and number formatting removed, because formulas are showing. All dates and numbers are displayed in General format.

If you select a cell that contains a formula, you can use keyboard shortcuts to go to either its precedent or dependent cells.

If you select a cell that contains a formula, you can use Ribbon commands to trace its precedent or dependent cells. These commands create arrows on the worksheet, to trace the connections between formulas
Blue arrows will show the path to the precendent cells.

Blue arrows will show the path to the dependent cells.
In the screen shot below, the tax calculation in cell F5 is dependent on the total calculation in cell E5

If a precedent or dependent cell is on a different sheet, a worksheet icon will appear at the beginning of the arrow.

To remove the arrows, after you finish troubleshooting, click the Remove Arrows command on the Ribbon's Formulas tab.

Do you ever use the Watch window, to keep an eye on the results in one cell, while changing the data in another part of the workbook?
I used it while working in a client’s price list file, where there was a multiplier on one sheet, and the final price on another sheet. With the final price in the Watch Window, I could change the multiplier, and immediately see the effect on the price! That was much easier thatn flipping back and forth between the worksheets.
To add cells to the Watch Window, follow these steps:

After you add cells to the Watch Window, each cell is listed separately, in the Watch Window list.

If necessary, you can adjust the Watch Window size, column widths, and location, so it's easier to see the cell information.
Window Size: To change the window size, point to its border, and drag in or out.
Column Width: Point to the dividing line between the column headings in the watch list. When the pointer changes to a two-headed arrow, drag left or right, to adjust the column widths

Watch List Location: Usually, the Watch Window floats over the worksheet. However, you can also dock the window at the top, bottom, right or left of the worksheet.
Get the sample Audit Formulas workbook. The zipped Excel file is in xlsx format, and does not contain any macros. The FORMULATEXT function is available in Excel 2013 and later versions.
Last updated: June 20, 2025 7:23 PM