Auditing Formulas in Excel
Vinayak Jadhav
?? Certified Microsoft Power BI Data Analyst Associate?? Certified Microsoft Office Specialist? Non IT Professional Driving Digital Transformation ?? Generate your several Income sources
When Excel can not perform an operation or when there is an error in a formula, it shows an error. Some common errors are
??? #NAME? error. Occurs when Excel does not recognize text in a formula. Usually happens when you misspell the name of a function.
???? #VALUE! error. Occurs when a formula has the wrong type of argument. Usually happens when you try to performs mathematical operations with cells that does not contain numbers.
???? #DIV/0! error. Occurs when a formula tries to divide a number by 0 or an empty cell.
??? #REF! error. Occurs when a formula refers to a cell that is not valid. Usually happens when a formula refers to a deleted cell.
???? #NUM! error. Occurs when a formula or function contains invalid numeric values. For example when trying to calculate the square root of a negative number.
In complex formulas it could be difficult to detect the error. Fortunately, Excel provide some tools for tracking down errors.
Tracing formulas
The simplest procedure to trace formulas is double click a cell with a formula. This will show the cells referenced by the formula marked in different colours.
领英推荐
Another possibility is to trace precedents or dependents references. If you select a cell with a formula and click the Trace Precedents button of the Formula Auditing panel on the ribbon’s Formulas tab, Excel will show arrows to the cells that affect the value of the selected cell. And if click the Trace Dependents button of the Formula Auditing panel on the ribbon’s Formulas tab, Excel will show arrows to the cells that are affected by selected cell. To remove the arrow simply click the Remove Arrows button of the Formula Auditing panel on the ribbon’s Formulas tab.
Example This animation shows how to trace a formula to calculate the price of product without discount, with discount but without taxes and with discount and taxes.
Error checking
If some formula have an error, you can check where the error come from selecting the cell with the error and clicking the Error Checking button ?of the Formula Auditing panel on the ribbon’s Formulas tab. This will display a dialog with the formula expression, an explanation of the error and several options. If the error is in the selected cell you can click the option Show Calculation Steps to evaluate the formula (see the section Formula evaluation). But if the error is in a cell that affects the selected cell you can click the option Trace Error. This will show red arrows to cells where the error come from.
Example This animation shows how to check an error in a formula to calculate the price of product without discount, with discount but without taxes and with discount and taxes.
Formula evaluation
In general, you can evaluate any formula, even if it has no error, selecting the cell with the formula and clicking the Formula Evaluation button ?of the Formula Auditing panel on the ribbon’s Formulas tab. This will display a dialog where you can evaluate the formula step by step.
Example This animation shows how to check an error in a formula to calculate the price of product without discount, with discount but without taxes and with discount and taxes.
AI & Tech Content Creator ????|| AI Enthusiast ?? || Sharing Latest AI Tools ?|| Helping Client's to Grow their Business ?? || DM for Promotion ??|| SDLC || STLC || Software Test Engineer specializing ||
11 个月It's always insightful to dive into the world of data analytics. Your newsletter on "Mastering Data Analytics" is a valuable resource for professionals seeking to enhance their skills in Excel formulas. Vinayak Jadhav