Checking and Troubleshooting Formulas

Learn to find out why a spreadsheet formula gives an error or a wrong answer, and to stop it happening again. You will read what each error value means and trace it to its source, inspect formulas with trace arrows, Evaluate Formula, the Watch Window and error checking rules, and control recalculation and circular references, including deliberate loops with iterative calculation. You will then use data validation to keep bad entries out, and build check cells, tests and a clear layout that make a workbook reliable. Examples use Microsoft Excel, with notes for Google Sheets where it differs.

IntermediateLesson 7 of 7 in Spreadsheet Formulas and Functions Course

What you will learn

  1. Read what each error value says about a formula, follow an error back to the cell where it starts, fix the cause instead of hiding it, and spot the wrong results that show no error at all.
    • Recognize each error value and its usual cause
      Name the error values Excel and Google Sheets return, explain what each one means and connect it to the mistakes that most often produce it.
    • Follow an error to its source and fix the cause
      Trace an error value back through the chain of formulas to the cell where it starts, repair the cause there, and use error-handling functions only where an error is expected.
    • Spot silent errors that return wrong numbers
      Recognize formulas that return a believable but wrong result, and find the most common causes: text numbers, incomplete ranges, wrong references, typed-over formulas, wrong units and rounding.
  2. Use the Formula Auditing tools in Excel to see how cells depend on each other, follow a calculation one step at a time, keep key results in view and let the program flag suspicious formulas.
    • Trace precedents and dependents
      Show which cells feed a formula and which formulas rely on a cell, follow these links across levels and sheets, and use them before changing or deleting anything.
    • Evaluate a formula step by step
      Use Evaluate Formula and the F9 key to see the intermediate results of a formula, find the step where it goes wrong and know the limits of these tools.
    • Keep key cells in view with the Watch Window
      Add important results and checks to the Watch Window and follow how their values change while you edit inputs anywhere in the workbook.
    • Use error checking rules
      Let background error checking flag suspicious cells, understand each rule, act on the flags and know when a flag can safely be ignored.
  3. Choose when formulas recalculate, recognize stale results, find and remove accidental circular references, and use iterative calculation safely when a model needs a loop.
    • Choose when formulas recalculate
      Set the calculation mode, recalculate with the right command, and avoid reading or sharing results that are out of date.
    • Find and remove accidental circular references
      Recognize a circular reference, find every cell in the loop and rewrite the formulas so that no result depends on itself.
    • Use iterative calculation on purpose
      Recognize models that need a deliberate loop, set iterative calculation correctly, check that the result settles, and prefer a direct formula when one exists.
  4. Set data validation rules so that input cells accept only sensible entries, guide users with messages and alerts, and find invalid data that got past the rules.
    • Create validation rules for input cells
      Choose the right validation type and condition for each input, including lists and custom formulas, and add a message that tells users what to enter.
    • Set error alerts and catch invalid data that got in
      Choose how strictly invalid entries are handled, write clear alert messages, and find data that breaks the rules because it was pasted, imported or entered before the rule existed.
  5. Explain how spreadsheet errors arise and what they can cost, design workbooks that are easy to check, and build check cells and tests that catch mistakes before results are used.
    • Understand how spreadsheet errors happen and what they cost
      Describe the main types of spreadsheet error, learn from well-documented failures and judge which spreadsheets need the most checking.
    • Design spreadsheets that are easy to check
      Lay out inputs, calculations and outputs clearly, keep formulas consistent and simple, and document the workbook so that others can check and maintain it.
    • Build check cells and test the model
      Add check formulas that confirm totals, counts and balances agree, combine them into one visible status, and test the workbook with inputs whose answers are known.

Troubleshooting Formulas study guide

5 chapters

1

Diagnose error values and silent formula errors

A spreadsheet can fail with an error code or with an ordinary-looking number. Reading the code narrows the search, while tracing its inputs shows where the failure began. Silent mistakes need a wider look at data types, references, units and calculation settings. You will learn to distinguish these problems and choose a repair that keeps the formula useful when the inputs change.

1.1 Recognize each error value and its usual cause

An error value tells you why a formula could not return a valid answer. Read the code before changing anything: a missing lookup match needs a different repair from a deleted reference. An error can also travel into formulas that use the failed cell.

Read the familiar error codes
ErrorWhat to investigateExample
#DIV/0!A zero or empty divisor=B2/C2 when C2 is empty
#N/AA value that is unavailableAn exact lookup with no matching code
#NAME?Text Excel does not recognize=SUMM(B2:B9)
#VALUE!An unsuitable type of valueMultiplying text such as "12 kg"
#REF!An invalid cell referenceA formula pointing to deleted cells
#NUM!An invalid or excessively large number=SQRT(-4)
#NULL!An empty intersection of ranges=SUM(B2:B5 C2:C5)

For division, check the divisor itself. With revenue of 1,250 in B2 and no mass entered in C2, =B2/C2 returns #DIV/0!. Entering 50 kg gives 25 per kg. AVERAGE also divides: a range containing no numbers has a numeric count of zero and returns this error.

For #N/A, inspect both lookup keys. "P-105" and "P-105 " differ because the second contains a trailing space. A number and a text code can look alike while failing to match. A genuinely absent item needs a missing-data decision; NA() can deliberately mark that absence.

Inspect the formula and its inputs

#NAME? can come from an undefined range name, a newer function unavailable in an older Excel version, or a missing colon in =SUM(B2B9). Text needs straight quotation marks: =IF(A2="Yes",1,0) compares A2 with the word "Yes". Without the quotes, Excel tries to interpret Yes as a name.

With #VALUE!, look beyond appearance. A space in an apparently empty cell is still text. Text that Excel can read as a number behaves differently: ="12"*3 returns 36, while a reference to "12 kg" multiplied by 3 fails. Keep the unit in the heading and the numeric value in the input cell.

A deleted column can turn =B2*C2 into =B2*#REF!. Undo immediately to restore the deleted cells; otherwise rebuild the intended reference. An out-of-range lookup index also fails: =VLOOKUP(A2,F2:G50,3,FALSE) requests a third column from a two-column range.

#NUM! includes impossible real-number calculations and formula results beyond Excel's capacity, about 1.8×10308. =10^309 is too large. Search-based functions such as IRR and RATE can also return #NUM! when they fail to find an answer.

The space in =SUM(B2:B5 C2:C5) means intersection, not addition. The two columns share no cells. To add both ranges, use =SUM(B2:B5,C2:C5); to sum the whole block, use =SUM(B2:C5).

Distinguish display, array and service problems

##### is a display problem, not an error value. Double-click the right edge of the column heading to widen it. If the hashes remain because a date or time is negative, inspect the calculation or use a number format that can display the result.

#SPILL! means a multi-cell result cannot fill its intended area. Select the formula to see the outlined spill range; check for occupied cells, merged cells or a formula placed inside an Excel table. #CALC! can arise when FILTER finds no matches and has no if_empty argument.

Linked data can produce #FIELD!, #CONNECT!, #BLOCKED!, #BUSY! or #UNKNOWN!. Read the attached message; #BUSY! commonly clears when data arrives. Google Sheets uses the core error codes too, plus #ERROR! for unreadable formula syntax. A blocked array expansion in Sheets uses #REF! with an overwrite message. Point at an error marker to read its explanation.

Key Takeaways

  • Read the error code and its message before deciding what to repair.
  • Check lookup keys, value types and reference ranges as well as the formula spelling.
  • A space between ranges means intersection; a comma separates arguments.
  • Hashes can mean insufficient column width or a negative date or time.
  • An array needs a clear output area; an Excel spill formula must sit outside a table.
  • A service error may require checking data availability instead of rewriting arithmetic.

1.2 Follow an error to its source and fix the cause

The first error you notice may be a total several steps away from the cause. A missing lookup result in D5 can make =SUM(D2:D9) return #N/A; a dashboard that uses that total then shows the same error. Repairing only the dashboard leaves the failed lookup in place.

Follow the chain upstream
  1. Read the error code in the cell you noticed.
  2. Read that cell's formula and identify its inputs.
  3. Follow the inputs backward until you reach the first failing calculation whose own inputs do not already contain the error.
  4. Repair that calculation or its source data.
  5. Check the totals and other results downstream.

In Excel, Formulas > Error Checking (arrow) > Trace Error helps reveal the route. If a total contains an error from a detail row, inspect that row before editing the total. For a lookup, check whether the code exists, whether extra spaces have been imported and whether both tables store the key in the same form.

Handle an expected absence narrowly
ToolErrors it catchesUseful purpose
IFERROR(value,replacement)Any error valueA deliberately chosen general fallback
IFNA(value,replacement)Only #N/AA missing lookup result
XLOOKUP's if_not_found argumentNo matchA missing item in that lookup

For example, =XLOOKUP(A2,Codes,Prices,"Not listed") labels an absent code while allowing other kinds of failure to remain visible. Test the lookup successfully before adding its fallback.

A broad fallback can conceal a broken formula. In =IFERROR(VLOOKUP(A2,F2:G50,3,FALSE),0), the lookup requests a third column from a two-column range. It returns #REF!, and IFERROR hides that fault as zero. Rebuild the lookup range or column index; the replacement has made the total look usable without fixing it.

For a zero divisor, decide what zero means in the model. =IF(C2=0,"",B2/C2) leaves the result empty-looking when the quantity is zero. That decision is appropriate when a rate is unavailable, but a real zero result has a different meaning from a missing rate.

Choose a replacement that later formulas can use

A substituted zero is a number. It counts in COUNT and in the denominator of AVERAGE. If the known values are 8 and 12, adding a fallback zero changes their average from 10 to about 6.67. That may falsely treat missing information as a measured zero.

An empty text string, "", is ignored by SUM and AVERAGE when it is in a referenced cell. It is still text: if E2 returns "", =E2+1 returns #VALUE!. Check how the result will be used before choosing a fallback.

Keep missing and failed data visible

ISERROR tests for any error, ISNA for #N/A, and ISERR for errors other than #N/A. They return TRUE or FALSE. The check =SUMPRODUCT(--ISERROR(D2:D500)) counts error cells so a hidden or distant failure can trigger a warning.

=AGGREGATE(9,6,D2:D500) sums the range while ignoring errors: 9 selects SUM and 6 selects the ignore-errors option. Use this when error rows are expected and keep an error count beside the total. Otherwise the total can quietly omit a failed row.

Typing the expected number over an error removes the formula. Its dependents may look right immediately, but the typed value will stay fixed when the inputs change. Restore the working calculation and then retest the affected outputs.

Key Takeaways

  • Follow an error backward to its first failing calculation, then check downstream results.
  • Use a lookup-specific fallback when the expected problem is a missing match.
  • Zero and empty text affect later calculations differently.
  • Pair an error-skipping total with an error count.
  • Typing over a formula can turn a visible error into a silent one.

1.3 Spot silent errors that return wrong numbers

A silent error returns a believable number that is wrong. Some causes trigger Excel's error checking, but many need a comparison, a check formula or a review of the calculation's meaning. Start with whether the result makes sense, then inspect the data and references that produced it.

Check values that look like numbers

Suppose A2:A5 contain 120, 80, 45 and 55, with 45 stored as text. =SUM(A2:A5) returns 255 because it skips the text cell. Adding the cells with =A2+A3+A4+A5 returns 300 because arithmetic converts that text number. The disagreement points to a data-type problem.

Default left alignment and a warning triangle are clues. COUNT returns 3 numeric cells while COUNTA returns 4 nonempty cells. Inspect the difference, then use Convert to Number, VALUE, or Data > Text to Columns. A number format alone changes how a cell looks; it does not reliably convert imported text into a numeric value.

Inspect ranges and copied references

=SUM(B2:B9) leaves out a new value typed in B10. Inserting records inside the existing range helps keep references aligned. An Excel table gives a clearer growing source: =SUM(Sales[Amount]) includes new table rows automatically.

A copied share formula needs its total to stay fixed. =B2/B10 becomes =B3/B11 one row down. Use =B2/$B$10 to let the numerator move while keeping the denominator on B10. Select a reference and press F4 to cycle its relative, absolute and mixed forms.

A lookup can return a wrong match without an error. VLOOKUP defaults to approximate matching when its fourth argument is omitted. Use FALSE or 0 for exact matching, particularly for codes in an unsorted list. XLOOKUP defaults to exact matching.

Find hidden assumptions and overrides

A hard-coded override is a typed value that replaces a formula. Turn on Show Formulas with Ctrl+` to find values interrupting a formula pattern. Home > Find & Select > Go To Special > Constants, with only Numbers selected, highlights typed numbers for inspection; legitimate inputs will be selected too.

Constants buried inside formulas are another risk. =B2*1.08 hides an 8% surcharge. Put the rate in a labeled cell F1 and use =B2*(1+$F$1). A change to F1 then updates every linked calculation, and a reviewer can find the assumption.

Check units, rounding and freshness

A discount of 15% is stored as 0.15. If C2 contains 15 and B2 contains 200, =B2*(1-C2) returns −2,800. Entering 15% gives 170. A negative discounted price is a useful clue to investigate the scale of the percentage input. Keep units in headings, such as "Mass (kg)", so a value can be interpreted correctly.

Three cells storing 1.004 each display 1.00 with two decimal places. Their sum is 3.012 and displays 3.01. Formatting has rounded the view, not the stored amounts. If invoice line amounts must be rounded to hundredths before totaling, use =ROUND(B2*C2,2) on each line. Set precision as displayed permanently changes stored values throughout the workbook and cannot restore the discarded digits.

Finally, check Formulas > Calculation Options. Manual mode can leave old results on screen after inputs change. Recalculate before judging whether a formula has repaired the problem; an unchanged total may be stale instead of logically wrong.

Key Takeaways

  • Compare numeric counts with nonempty counts when imported values may be text.
  • Check the end of a range and the references produced by copying.
  • Use exact lookup matching for exact identifiers.
  • Keep assumptions in labeled input cells and inspect breaks in formula patterns.
  • Number formatting does not change the stored calculation precision.
  • Recalculate before interpreting a result after an input change.
2

Inspect formulas with the auditing tools

Auditing is easier when you can see both the calculation route and its intermediate values. Excel provides several views of the same workbook: dependency arrows, step-by-step evaluation, watched cells and warning flags. Each answers a different question. You will use them to investigate a result, inspect the impact of a change and judge whether a suggested repair matches the workbook’s intended logic.

2.1 Trace precedents and dependents

A formula has two directions of connection. Precedents feed values into it; dependents use its result. Follow precedents to explain an output. Follow dependents to see what a proposed input change or deletion could affect.

Draw the links one level at a time

Select a formula cell and choose Formulas > Formula Auditing > Trace Precedents. The first click shows its direct inputs. Click again to add the inputs of those cells. A range used as one argument appears as an outlined block with one arrow.

For example, B2 contains 60, C2 contains 1.50, D2 contains =B2*C2, E2 contains 40 and F2 contains =D2-E2. D2 returns 90; F2 returns 50. Trace Precedents on F2 first shows D2 and E2. A second click reveals B2 and C2 feeding D2. B2 is an indirect precedent of F2 because its effect passes through D2.

Now select C2 and choose Trace Dependents. The first level reaches D2. The next reaches F2. Changing a unit price therefore affects both revenue and profit. Remove Arrows clears the display; its menu can remove just precedent or dependent arrows.

Read colors and links to other sheets
ArrowMeaningNext action
BlueA link between cells without errorsFollow the calculation
RedA cell causing an errorInspect that source
Black dashed, with a worksheet iconA link to another sheet or workbookDouble-click the arrow to open the reference list

Choose an entry in the reference list to go to the linked location. Open a linked workbook before tracing into it. A black dashed arrow does not itself mean the formula is broken; it tells you that part of the route leaves the current sheet.

Choose a quick inspection view

Press F2 while a formula cell is selected. Excel colors the references and draws matching borders around their ranges. This is useful for seeing whether a total stops one row too soon. Show Formulas, Ctrl+`, displays formulas across the sheet so you can compare neighboring patterns.

Windows shortcuts select connected cells without drawing arrows. Ctrl+[ selects direct precedents; Ctrl+Shift+{ selects all levels of precedents. Ctrl+] selects direct dependents; Ctrl+Shift+} selects all levels of dependents. Go To Special > Precedents or Dependents also offers Direct only and All levels.

Check the impact before deleting

Trace dependents before removing an assumption or column. A result may feed several sheets, even when the current sheet appears to use it nowhere. If Excel finds no dependents in the open workbooks, check whether other workbooks might link to the cell. Closed workbooks are outside this search.

The tracing tools also have limits for charts, pictures, text boxes, PivotTables and named constants. Arrows disappear after edits that change the formula or move, insert or delete cells, so redraw them after a repair. In Google Sheets, edit a formula to see colored references and matching range outlines; use these and the formula text to follow the inputs.

Key Takeaways

  • Precedents supply a formula; dependents use its result.
  • Repeat a trace command to reveal another level of links.
  • A black dashed arrow leads to a reference on another sheet or workbook.
  • Open linked workbooks before tracing into them.
  • Trace dependents before deleting an input or calculation.
  • Redraw arrows after changing the structure.

2.2 Evaluate a formula step by step

A long formula can be valid in syntax and still use the wrong input or branch. Evaluate Formula lets you inspect intermediate results. The useful question is where the calculation first stops matching what the model is meant to do.

Step through the expression

In Windows Excel, select one formula cell, then choose Formulas > Formula Auditing > Evaluate Formula. An underline marks the next expression to evaluate. Click Evaluate to replace it with its result, shown in italics, and repeat.

If the underlined reference contains another formula, Step In opens that calculation. Step Out returns to the original formula, and Restart begins the evaluation again. Use the controls to connect a surprising intermediate value to its source cell.

Consider B2 = 200, C2 = 15 and D2 = =B2*(1-C2). C2 is supposed to hold a 15% discount. Evaluation reveals the sequence:

  1. B2 supplies 200.
  2. C2 supplies 15.
  3. 1-C2 gives −14.
  4. Multiplying gives −2,800.

The unexpected −14 identifies the input scale as the problem. Entering 15% stores 0.15; the multiplier becomes 0.85 and the final price is 170. Changing the final multiplication would leave the incorrect percentage in the model.

Inspect a decision inside a formula

With B2 = 60 and C2 = 1.5, =IF(B2>=50,B2*C2,0) first tests whether 60 is at least 50. The condition is TRUE, so the selected calculation returns 90. If an output unexpectedly returns 0, inspect the condition and its inputs before changing the amount formula.

Parts of IF or CHOOSE that are not evaluated may show #N/A in the dialog. Check the branch actually used and the final result before treating that display as an error in the worksheet.

Preview a selected part with F9

While editing in the formula bar, select a complete expression and press F9. For example, selecting B2*C2 shows the product of those cells. F9 replaces the selected text with its current value in the editing view. Press Esc after this preview to keep the formula unchanged; Enter would save the value in place of the selected expression.

This shortcut helps with one expression, while Evaluate Formula preserves the visible sequence of steps. When a formula is still difficult to inspect, split its stages into helper cells or use LET to give the stages clear names.

Interpret the tool's limits

Step In is unavailable for a reference appearing a second time in the expression or pointing to another workbook. A reference to a blank cell appears as zero during evaluation. Volatile functions such as RAND, NOW, TODAY, OFFSET and INDIRECT recalculate during evaluation, so the preview can differ from the value you first saw in the cell.

The error icon's Show Calculation Steps command opens the same evaluation tool for a failed formula. On a Mac, use helper cells or selected-expression previews to expose stages without the Windows Evaluate Formula dialog. In Google Sheets, inspect the result preview while editing, then use helper cells to expose separate stages of a long calculation. Give each helper a clear label so the intermediate value has an obvious meaning.

Key Takeaways

  • The underlined expression is the next part Evaluate Formula will calculate.
  • Find the first unexpected intermediate result and inspect its inputs.
  • Step In opens a referenced formula; Step Out returns to the original.
  • After an F9 formula-bar preview, Esc preserves the original expression.
  • Blank cells and volatile functions need care when interpreting the preview.

2.3 Keep key cells in view with the Watch Window

The Watch Window keeps important cells visible while you work elsewhere. It is useful when inputs, totals and checks live on different sheets: you can edit an assumption and observe the result without repeatedly switching back to a dashboard.

Add cells worth watching

Open Formulas > Formula Auditing > Watch Window. Choose Add Watch, select the cells, then click Add. The list shows each cell's workbook, sheet, name if defined, address, current value and formula. Each cell can appear once.

Choose a small set that answers a practical question. If you are testing a pricing model, watch the net result and its check status. Watching only the price cell that you are already editing provides little information about what the price affects.

Double-click a watched entry to go to its cell. Select an entry and choose Delete Watch when it is no longer useful. Removing a watch removes the entry from the window; it leaves the worksheet cell in place.

Test an input against a known change

An Inputs sheet contains a quantity of 1,000 and a unit price of 1.50. Costs are 1,100, so the Summary sheet's profit is 400. Add that profit cell to the Watch Window, return to Inputs, and change the price to 1.60.

The price increased by 0.10 on 1,000 units. Revenue rises by 100; with costs unchanged, profit should rise from 400 to 500. Compare this expected movement with the watched result. A value of 400 after recalculation suggests the input is not feeding the output you intended, or the formula has been replaced or changed.

The window displays current calculated values. It does not force recalculation. If Excel is in Manual mode, recalculate before concluding that an input has no effect. Watch a check cell too: a plausible profit can appear beside a failed balance or missing-data check.

Combine watching with tracing

Tracing and watching answer different questions. Trace Dependents shows where an input goes. The Watch Window shows what the selected outputs do when that input changes. Use the route to choose meaningful watches, then change one input at a time and compare the size and direction of the result.

For an intentional circular calculation, watched cells can help you see whether values keep moving after another recalculation. Keep the loop's check visible along with its result so a stopped calculation is not mistaken for a settled one.

Manage a larger review

To add several formula cells, select them first with Go To Special > Formulas, then add the selection as watches. For a focused review, keep the list short enough that the important results remain easy to find.

Watches involving another workbook require that workbook to remain open for its values to be displayed. Keep the workbook and sheet columns visible when cells have similar addresses; "F8" alone does not identify which model you are monitoring.

Key Takeaways

  • Watch outputs and checks whose response you need to observe.
  • Add a watch, edit an input elsewhere, recalculate and compare with an expected change.
  • The Watch Window displays calculated values; it does not force a recalculation.
  • Use tracing to find the route and watching to inspect its effect.

2.4 Use error checking rules

A small triangle in a cell's top-left corner is a reason to inspect it. Background error checking looks for suspicious formulas and data patterns. Green is the default marker color, and selecting a flagged cell opens a warning menu with the reason and possible actions.

Know what the rules look for

Under File > Options > Formulas > Error checking rules, Excel can flag:

  • Formulas returning error values.
  • Inconsistent calculated-column formulas in tables.
  • Years written with two digits.
  • Numbers stored as text or preceded by an apostrophe.
  • Formulas that differ from neighboring formulas.
  • Formulas that omit cells in a region.
  • Unlocked formula cells.
  • Formulas referring to empty cells.
  • Invalid data entered in a table.

These rules cover different problems. A number stored as text may already make a total too low. An unlocked formula cell may calculate correctly today but be vulnerable to an accidental overwrite. A two-digit year can make a date's intended century unclear.

Inspect before accepting a suggested fix

Suppose D2:D6 should multiply quantity and price in the same row. D4 contains =B4*C3 while its neighbors follow the pattern =B2*C2, =B3*C3 and so on. Read the column headings and compare the references: D4 uses the price from the previous row.

After confirming the intended pattern, Copy Formula from Above repairs D4 to =B4*C4. If D4 were a deliberate subtotal, the different formula could be correct. Copying blindly would replace valid logic with a normal detail-row calculation.

The warning menu may offer Convert to Number, Edit in Formula Bar, Help on this Error or Show Calculation Steps. Choose the action that addresses the cause. A triangle disappearing only tells you the flag was resolved or dismissed; check the resulting calculation as well.

Work through flags systematically

Formulas > Formula Auditing > Error Checking walks through flagged cells on the active sheet. Use Previous and Next to examine them in order. In Manual mode, press F9 first so that error values reflect the current inputs.

After verifying a deliberate exception, use Ignore Error for that cell. Reset Ignored Errors in the Formulas options brings ignored workbook flags back for another review. This is useful when taking over a file whose previous owner dismissed warnings.

Each rule can be switched on or off. If one rule consistently flags a valid workbook design, adjust that rule after review. Clearing Enable background error checking hides all of these warnings, including ones that could identify new mistakes.

Add checks for what the rules miss

A formula can follow its neighbors perfectly while repeating the same logic error in every row. A total can use the wrong business definition while returning a valid number. Compare important outputs with known answers and independent totals as part of the review.

In Google Sheets, an error marker and its message help diagnose a formula error. Use check formulas, colored references while editing and a review of input data to investigate silent errors.

Key Takeaways

  • An error-checking flag identifies a risk or suspicious pattern that needs inspection.
  • Check the intended logic before copying a neighboring formula.
  • Ignore a verified exception for that cell; reset ignored errors to review them again.
  • Keep useful rules enabled and recalculate before checking results.
  • A consistent formula pattern can still repeat a logic error.
3

Control calculation and circular references

Before judging a formula, make sure its displayed result is current and that its inputs can be calculated in a clear order. Calculation modes control updates, while circular references can prevent that normal order. You will choose a suitable recalculation command, remove accidental loops and inspect deliberate iterations closely enough to tell whether their results have settled.

3.1 Choose when formulas recalculate

A correct formula can display an old result. Calculation mode controls when Excel updates formulas after their inputs change. Check this setting when a result stays fixed unexpectedly, especially after opening a workbook received from someone else.

Choose the right mode

Open Formulas > Calculation Options, or File > Options > Formulas.

ModeWhat updatesTypical use
AutomaticFormulas affected by a changeEveryday work
Automatic Except for Data Tables, also called PartialAffected formulas, excluding what-if data tablesModels with slow what-if tables
ManualFormulas when you request calculationBatches of edits in a slow model

The data tables in the second option are what-if analysis tools. They are different from ordinary Excel tables of records. Automatic is the default and normally keeps results current as you work.

With B2 = 60, C2 = 1.50 and D2 = =B2*C2, the result is 90. In Manual mode, changing B2 to 80 can leave D2 showing 90. After recalculation, D2 becomes 120. The status bar's Calculate message is a clue that results need updating.

Recalculate at the scope you need

Windows Excel offers several commands:

  • F9, or Calculate Now, updates changed formulas and their dependents in all open workbooks.
  • Shift+F9, or Calculate Sheet, does this for the active sheet.
  • Ctrl+Alt+F9 recalculates every formula in all open workbooks, whether changed or not.
  • Ctrl+Shift+Alt+F9 rebuilds the dependency information and then recalculates everything.

Use workbook-wide calculation when the result relies on inputs or calculations on other sheets. Rebuilding dependencies is a deeper troubleshooting step, not a substitute for correcting a faulty reference.

Check what opening another workbook can change

Desktop Excel shares the calculation mode across open workbooks. The first workbook opened in a session sets the mode. If that file was saved in Manual mode, later files can also stop updating automatically, even if their own formulas are sound. The setting is saved with each workbook. Excel for the web applies the calculation mode to the current workbook instead.

Choosing Manual automatically selects Recalculate workbook before saving. Clearing that box may speed up saving, but it can leave saved outputs inconsistent with the saved inputs. Recalculate before reading, printing or sharing results, and return to Automatic after the slow editing work is finished.

Understand results that change on recalculation

Volatile functions recalculate whenever the workbook recalculates, even when their inputs have not changed. Examples include NOW, TODAY, RAND, RANDBETWEEN, OFFSET and INDIRECT. Many volatile formulas can make a model slow; random values can also change the outputs during a test.

In Google Sheets, use File > Settings > Calculation to inspect calculation settings. Automatic mode responds to spreadsheet changes. Where Manual mode is available, use the Calculate control to update the document. For periodic functions, inspect the available refresh choices, such as on change, every minute or every hour, so time-based and random results update at the intended frequency.

Key Takeaways

  • Manual mode can leave a valid formula showing a stale result.
  • F9 updates changed formulas and dependents across open workbooks; Shift+F9 targets the active sheet.
  • The first workbook opened sets desktop Excel’s calculation mode for the session.
  • Recalculate before using or sharing results.
  • Volatile functions run on recalculation even when their inputs have not changed.

3.2 Find and remove accidental circular references

A circular reference means a formula needs its own result to calculate. The route can be direct, hidden in a range or spread across several cells. With iteration off, Excel cannot resolve that dependency in the usual way.

Recognize three common shapes
ShapeExampleWhere the loop closes
DirectA1 contains =A1+A2A1 uses itself
Inside a rangeF3 contains =SUM(A3:F3)The sum includes F3
IndirectA1 contains =B1+1; B1 contains =A1+1Each cell feeds the other

A circular cell can show zero or its last calculated value. That number can look reasonable even though the dependency is unresolved. Read the warning and status bar instead of using the displayed result to judge the formula.

Locate the route through the cells

Choose Formulas > Formula Auditing > Error Checking (arrow) > Circular References and select a listed address. Read its formula and trace its precedents. For an indirect loop, follow the references until you return to a cell already on the route.

The status bar shows Circular References and may give an address. If the loop is on another sheet, it can show the message without an address. Repair one loop at a time, then check again until the message disappears. More than one loop can exist in the open workbooks.

Repair a total that includes itself

B2:B9 contain eight monthly costs: 420, 380, 515, 290, 610, 455, 330 and 500. The total in B10 was entered as =SUM(B2:B10). B10 is both the result cell and one of its own inputs.

Change the formula to =SUM(B2:B9). Adding the eight costs gives 3,500, and B10 can now calculate from independent inputs. Inspect the final range after correcting it: removing the self-reference but also dropping a valid cost row would leave a silent omission.

Remove a circular dependency in the design

A loop across sheets is harder to see. A Summary total may include a Detail allocation, while that allocation is calculated as a share of the Summary total. Draw the route and identify the quantity the allocation should really use, such as a base amount calculated before the allocation. Build that base from the original inputs and refer to it directly.

Share-of-total columns also need care. A total or percentage row can accidentally join the range it is intended to summarize. Inspect the formulas at the bottom of a copied column, where the row's purpose often changes.

Turning on iterative calculation suppresses the warning and permits loops; it does not repair an unintended dependency. Keep iteration off while removing accidental circles. After the repair, change an input with a known effect, recalculate and verify that the output now responds correctly.

Key Takeaways

  • A circular reference can be direct, contained in a range or indirect through other cells.
  • Use the Circular References menu and trace the path until it returns to itself.
  • Exclude a total cell from the range it sums.
  • Rebuild an unintended feedback route from independent inputs.

3.3 Use iterative calculation on purpose

Some models deliberately feed a result back into its own calculation. Iterative calculation repeats the loop, using each round's values in the next round. Use it for a documented model that needs that feedback, and check whether its results actually settle.

Set both stopping limits

In Windows Excel, open File > Options > Formulas > Enable iterative calculation. On a Mac, use Excel > Preferences > Calculation > Use iterative calculation. The setting affects open workbooks, so account for other files in the session.

Maximum Iterations limits the number of rounds; its default is 100. Maximum Change sets the change threshold; its default is 0.001. Excel stops when it reaches the iteration limit or when the changes are smaller than the threshold. A stop at the round limit can leave an unsettled value on screen.

Follow a bonus loop

Profit before a bonus is 50,000 in B2. The bonus in B3 is =0.1*B4, and profit after the bonus in B4 is =B2-B3. The bonus is therefore 10% of profit after paying it.

Starting with a bonus of zero, successive bonus values are 5,000; 4,500; 4,550; 4,545; 4,545.50; 4,545.45; 4,545.455; and 4,545.4545. The eighth change is 0.0005, below 0.001. The bonus approaches 4,545.45 and after-bonus profit approaches 45,454.55 when displayed to hundredths.

A direct formula is available here. Write the relationship as:

b=0.1(50,000−b)

Then 1.1b=5,000, so b=5,000/1.1. =0.1*B2/1.1 calculates the bonus without a loop or an iteration setting. Use a direct formula when it expresses the same model clearly.

Distinguish settling from stopping

A loop converges when its values approach one stable value. A bonus set to 100% of after-bonus profit would alternate between 50,000 and zero from the same starting point. It never settles, even though solving the equation directly gives 25,000.

Inspect changes across rounds and recalculate to see whether the result continues moving. Check the original relationship too: the final bonus should equal the chosen share of the resulting after-bonus profit. Choose a threshold appropriate to the quantity being modeled; a displayed two-decimal value can hide movement in stored digits.

Include a restart control

An error can circulate even after its original bad input has been repaired. Add a labeled switch B1 and write the bonus as =IF($B$1=1,0.1*B4,0). Set B1 to 0 and recalculate to clear the loop, then set it to 1 and recalculate to restart. This switch is a circuit breaker.

Keep deliberate loops small, label their cells, document why they exist and watch both the results and a settling check. Iteration also permits accidental loops, so review new formulas for unintended circular references. Google Sheets provides iterative settings under File > Settings > Calculation, using an iteration count and threshold.

Key Takeaways

  • Iteration repeats a deliberate loop until a change threshold or round limit stops it.
  • Reaching Maximum Iterations can leave a result that has not settled.
  • Use a direct formula when it expresses the same relationship.
  • A circuit breaker clears and restarts a loop after an error.
  • Document intentional loops and inspect for accidental ones.
4

Control inputs with data validation

Good input controls begin with a clear description of what a cell should hold. A quantity, discount, date and product code need different rules, and users need messages that explain the allowed entry. You will build those rules, choose an appropriate alert and check existing or pasted values afterward. This connects guidance at entry with checks on the data the workbook actually contains.

4.1 Create validation rules for input cells

Data validation attaches an entry rule to an input cell. A useful rule follows the meaning of the input: whole items, a measured decimal, an allowed date or a choice from a list. An input message tells the person entering data what the rule expects.

Choose a type and condition

Select the input range, then choose Data > Data Tools > Data Validation. On Settings, choose an Allow type, a condition under Data, and any limits. The selection receives the rule.

TypeAppropriate input
Whole numberA count of complete items
DecimalA mass, rate or percentage
ListA choice from allowed labels
Date or TimeA value in an allowed period
Text lengthA code with a length limit
CustomA condition expressed by a formula
Any valueNo entry restriction

Conditions include between, not between, equal to, not equal to and the greater-than or less-than comparisons, with or without equality. Limits can be numbers, references or formulas. For an end date in C2, choose Date, greater than or equal to, =B2 to require it to be on or after the start date in B2.

A quantity rule of Whole number, between 1 and 500, rejects 0, 501 and 12.5 when paired with an enabled Stop alert. For a discount, Decimal between 0 and 0.3 permits 0% to 30%. Typing 15 fails; typing 15% stores 0.15 and fits the allowed range.

Build a list that stays usable

Choose List and supply comma-separated choices such as Small,Medium,Large in US settings, or a source range such as =$H$2:$H$5. Select In-cell dropdown to display the choices.

A source maintained in an Excel table can grow as items are added to its column. Use a defined name pointing to that table column when needed to supply the validation source. A plain fixed range, including a name that points to fixed cells, needs its end reference updated when a new choice is added below it. Check Formulas > Name Manager when the list uses a name.

Write a custom rule for the active cell

A Custom formula returns TRUE for a valid entry and FALSE for an invalid one. Write it for the active cell of the selection. Relative references then adjust for the other cells; dollar signs keep a common range fixed.

For A2:A500, =COUNTIF($A$2:$A$500,A2)=1 permits an ID only when it occurs once. The count range stays fixed while A2 changes to A3, A4 and so on. =LEN(A2)=8 checks an eight-character code. =ISNUMBER(SEARCH("@",D2)) checks for an @ character, though that character alone is not a complete test of an email address. =AND(C2>=DATE(2026,1,1),C2<=DATE(2026,12,31)) tests the stated date interval without relying on a typed date format.

Guide entry and manage the rules

On Input Message, use a title and a practical direction such as "Discount: enter a percentage from 0% to 30%." This message appears when the cell is selected; it blocks nothing. Ignore blank permits an empty entry.

Use Home > Find & Select > Data Validation to select cells with rules. Paste Special > Validation copies rules without copying contents, and Clear All in the dialog removes a rule. In Google Sheets, use Data > Data validation > Add rule and choose a criterion such as a dropdown, date limit, valid email or Custom formula is.

Key Takeaways

  • Choose a validation type that matches the meaning and unit of the input.
  • Percentage limits use their stored decimal values.
  • Write a Custom formula for the active cell and lock shared ranges.
  • A fixed list source needs updating when choices are added outside its range.
  • An input message guides entry; the alert settings control rejection.
  • Copy rules with Paste Special > Validation.

4.2 Set error alerts and catch invalid data that got in

A rule defines a valid entry; its error alert decides what happens when someone types an invalid one. Validation also needs a follow-up check because copied, imported or existing data can break a rule without producing an entry alert.

Set the right alert behavior

On the Data Validation dialog's Error Alert tab, enable the alert and choose its style.

StyleWhat the user can doSuitable purpose
StopRetry or cancel the invalid entryA requirement that must hold
WarningKeep the entry with Yes, edit with No, or cancelAn unusual value that needs confirmation
InformationKeep with OK or remove with CancelAdvice that permits exceptions

Use an enabled Stop alert for a required product code or a quantity that must be whole. Warning and Information allow users to keep values outside the rule. Write a helpful message, such as "Quantity must be a whole number from 1 to 500."

Inspect values after pasting

Validation messages act on direct entry. Existing values are not rejected merely by adding a rule, and changes produced by formulas can also escape an entry alert. Copying or filling can bypass validation. An ordinary paste may also replace the destination's rule with the source cell's rule or lack of one.

Paste Special > Values preserves the destination rule, but do not rely on the paste displaying an alert for every invalid value. After importing or pasting, inspect the stored rules and run a check on the resulting data.

For example, paste the quantities 12, 0, 45, 600, 7.5 and 30 into a column allowing whole numbers from 1 to 500. With that rule retained, Data > Data Validation (arrow) > Circle Invalid Data marks 0, 600 and 7.5. Correcting an invalid value removes its circle. Clear Validation Circles hides the markers without repairing the data.

Repeat the whole rule in a check

A bounds-only test misses a fractional value such as 7.5. It can also miss text. To check B2 while accepting blanks, put this helper in C2 and copy it down:

=IFERROR(OR(B2="",IF(ISNUMBER(B2),AND(B2>=1,B2<=500,B2=INT(B2)),FALSE)),FALSE)

The formula accepts an empty cell. For a numeric entry, it checks both bounds and whether the number equals its integer part. Text entries return FALSE. The outer IFERROR makes an error-valued input return FALSE too, keeping that invalid entry visible as a failed check. Each helper should therefore return TRUE only for a blank or a whole number from 1 through 500.

=COUNTIF(C2:C200,FALSE)=0 gives a single TRUE when none of those helpers reports failure. In the six-value example, three helpers return FALSE. Keep the helper range aligned with the input range as records are added.

Combine controls at different stages

Use validation on inputs, lock formula cells and protect the sheet against accidental overwrites, and show checks near the outputs. Each control catches a different route to a mistake. In Google Sheets, Show a warning keeps an invalid entry and marks it, while Reject the input refuses it; choose the behavior that matches the input's requirement.

Key Takeaways

  • Only an enabled Stop alert blocks an invalid direct entry in Excel.
  • Warning and Information allow the user to retain an exception.
  • After pasting, inspect rules and check the resulting values.
  • Circle Invalid Data marks values that break rules still attached to their cells.
  • A whole-number check must test the type, the bounds and the integer condition.
5

Reduce spreadsheet risk with sound design and checks

A workbook’s reliability depends on its design and review as well as its formulas. Hidden assumptions, incomplete transfers and repeated manual steps can produce believable errors with serious consequences. You will examine documented failures, organize inputs and calculations for inspection, and build checks and tests that make problems visible before someone relies on the outputs.

5.1 Understand how spreadsheet errors happen and what they cost

Spreadsheet risk is the chance that a spreadsheet mistake leads to a wrong decision, loss, report or damaged reputation. The amount of checking should reflect both the chance of an error and the consequences of using a wrong result. A payroll model needs closer review than a personal shopping list.

Recognize different causes
Error typeWhat goes wrongExample
MechanicalA slip in typing or selectingClicking a price from the previous row
LogicThe calculation uses the wrong reasoningDividing by a sum when an average is required
OmissionSomething needed is left outA total range excludes the last records

Design weaknesses increase future risk even when today's numbers are correct. A rate buried inside dozens of formulas is easy to miss during an update. Missing units make correct-looking inputs hard to interpret. Manual copying introduces opportunities to leave out or duplicate records.

Research on operational spreadsheets has repeatedly found errors in many large workbooks. Builders can be confident in their work while overlooking their own mistakes. EuSpRIG, the European Spreadsheet Risks Interest Group, brings researchers and practitioners together to study these problems and controls.

Learn from an incomplete averaging range

A 2013 re-analysis of Carmen Reinhart and Kenneth Rogoff's 2010 debt-and-growth work identified a spreadsheet average using rows 30–44 instead of 30–49. Five countries were omitted from that calculation. This was an omission error: the formula returned a number from an incomplete range.

The re-analysis reported average growth of about 2.2% for countries with debt above 90% of GDP, compared with the published −0.1%. That difference also reflected disputed data exclusions and weighting choices; it was not the effect of the range error alone. Range inspection and comparison with the intended country list address the spreadsheet fault.

Check the meaning of the denominator

In 2012, JPMorgan Chase's "London Whale" trades led to losses of about 6.2 billion US dollars. The bank's review found multiple problems, including manual spreadsheet work in a risk model. One calculation divided by the sum of two values when their average was intended. The larger denominator roughly halved measured volatility and lowered the apparent risk.

A valid number and a tidy formula were insufficient. A reviewer needed to compare the formula's operation with the model's intended definition. The spreadsheet fault was one part of the wider risk-management failure.

Check that all records arrived

In October 2020, Public Health England reported that 15,841 positive COVID-19 cases from September 25 through October 2 had been missing from daily reporting. The transfer process used older Excel files that exceeded a capacity threshold. The affected people had received their test results; the failure concerned reporting and contact-tracing transfer.

File capacity is a practical control issue. An .xls sheet holds at most 65,536 rows; an .xlsx sheet holds 1,048,576 rows and 16,384 columns. Compare source and destination record counts after a transfer, including totals for batches split across files.

Prioritize review where the stakes or opportunities for error are high: large models, complex formulas, several editors, workbook links, repeated copying, weak documentation and time pressure. These failures all show why a visible error code is only one signal to check.

Key Takeaways

  • Mechanical, logic and omission errors need different kinds of inspection.
  • An incomplete range can return a valid-looking number.
  • Compare a formula with the intended definition, including its denominator.
  • Reconcile record counts after transfers and check file capacity.
  • Give high-stakes and complex workbooks more testing and independent review.

5.2 Design spreadsheets that are easy to check

An easy-to-check workbook makes its assumptions and calculation route visible. Someone reviewing it should be able to find what may be edited, what is calculated and where the final results appear. Clear structure also makes later changes less likely to introduce silent errors.

Give inputs one visible home

Separate inputs, calculations and outputs onto sheets or clearly labeled areas. Enter each assumption once and have every relevant formula refer to it. Use a distinct fill color for inputs together with labels that identify their purpose.

For example, a pay formula =C5*18.5+D5*18.5*1.5 hides both a rate and an overtime factor. Put them in named input cells Rate and OT, then use =C5*Rate+D5*Rate*OT. With 38 normal hours, 4 overtime hours, Rate = 18.50 and OT = 1.5, normal pay is 703 and overtime pay is 111, giving 814. Changing Rate to 19.00 updates the two parts to 722 and 114, giving 836.

A reviewer can now locate the assumption directly. Future rate changes need one input edit instead of an uncertain search through every formula.

Label units and keep the calculation readable

Use headings such as "Mass (kg)" and "Time (h)". Keep one unit per column. If source data mix grams and kilograms, convert them into the common unit before combining them; a total cannot identify that an unlabeled 500 was meant to be grams.

Keep formulas consistent down a calculation column. Review the pattern's logic by hand, check how its references change when copied, then inspect exceptions and the range boundaries. Consistency reduces the work of inspection, but the same wrong formula can be copied perfectly into every row.

Use helper columns for stages that would make one formula difficult to read, or name stages with LET. A clear left-to-right and top-to-bottom flow makes it easier to follow a result back to its inputs.

Let the data area grow safely

Store records in an Excel table and use structured references such as =SUM(Sales[Amount]). New table rows then join the total automatically. Compare the imported record count too: a growing total cannot include records that never reached the workbook.

Avoid merged cells inside records, hidden values and text formatted to disappear. Keep necessary links to other workbooks identifiable and review them under Data > Workbook Links, called Edit Links in some versions. Every external dependency adds another place where values can be stale or unavailable.

Leave a useful record for the next person

Create a first sheet giving the purpose, owner, version, date, sources and important assumptions. Record meaningful changes in a short log and keep earlier versions through clear file names or version history. When a result changes unexpectedly, this history helps locate the change that caused it.

Add data validation to input cells. Lock formula cells and protect the sheet so ordinary editing stays in the intended inputs. These controls support the structure: labels identify where to work, validation checks typed entries and locked formulas reduce accidental overwrites.

Key Takeaways

  • Separate inputs, calculations and outputs so the route is easy to follow.
  • Enter each assumption once in a labeled input cell.
  • Keep one unit per column and use readable calculation stages.
  • Check a formula pattern’s logic as well as its consistency.
  • Use tables for growing record lists.
  • Document sources and changes, and protect formula cells against overwrites.

5.3 Build check cells and test the model

A check cell tests a condition that should hold, returning TRUE or "OK" when it does and a failure signal when it does not. Decide what could go wrong, then design a check that could detect that fault. Repeating the same calculation with the same range repeats its mistakes too.

Compare totals by independent routes

Cross-footing compares totals calculated across rows with totals calculated down columns. For three regions over four quarters, use these values:

RegionQ1Q2Q3Q4Row total
North120135150140545
South9095110105400
West75808590330
Column total2853103453351,275

With region totals in F2:F4 and quarter totals in B5:E5, =SUM(F2:F4)=SUM(B5:E5) returns TRUE. Each route gives 1,275.

If the Q4 total leaves out West, it becomes 245. The quarter totals now add to 1,185, while the row route still gives 1,275. The gap of 90 matches West's Q4 value and points to a range to inspect. A check tests agreement between the routes; it still needs both routes to be sensibly constructed.

Allow for stored decimal precision

Spreadsheets store numbers in binary. A calculation such as =1*(0.5-0.4-0.1) can return a tiny value near −2.78E−17 instead of exact zero. Comparing decimal totals with strict equality can therefore produce a failure caused by tiny stored differences.

For amounts rounded to hundredths, a check such as =ABS(SUM(F2:F4)-SUM(B5:E5))<0.005 accepts differences smaller than half a hundredth. Alternatively, round both totals to the required precision before comparing. Choose the tolerance to match the quantities; investigate a difference that exceeds it.

Match the check to the risk

A reconciliation compares a total with an outside source, such as a statement or source report. A record-count check compares loaded rows with the export count. COUNT and COUNTA can help reveal text in a numeric column. A balance check tests a required relationship such as assets equaling liabilities plus equity.

A plausibility check, =COUNTIF(B2:B200,"<0")=0, tests for negative quantities. An error check, =SUMPRODUCT(--ISERROR(D2:D500))=0, tests that no error values are present. Neither replaces a reconciliation: a plausible, error-free total can still be incomplete.

Show failures and test the response

Collect Boolean checks in H2:H8 and combine them with =IF(AND(H2:H8),"All checks OK","CHECK FAILED"). Put the status near the outputs, apply clear conditional formatting and add it to the Watch Window during testing.

Use simple inputs with known answers, then try zero, a blank, a negative number and the largest allowed value. Change one input at a time and predict the direction and size of the response. Test that a deliberately introduced fault makes the relevant check fail, then restore the valid input.

Ask another person to review formulas, constants, range ends, dependencies, circular references and calculation settings. Passing checks gives evidence about the conditions tested; independent review can find important assumptions those checks did not cover.

Key Takeaways

  • Build checks around specific failure risks.
  • Cross-footing compares totals from row and column routes.
  • Use an appropriate tolerance or rounding for decimal comparisons.
  • Reconcile both totals and record counts with independent sources.
  • Keep a combined check status visible near outputs.
  • Test known answers, edge cases and whether checks detect a deliberate fault.
  • Include a review by someone other than the builder.

Troubleshooting Formulas examples

5 Walkthroughs

1

Repair an error and check the result

14 steps
Read error signals, follow a failed result upstream and investigate ordinary-looking totals.
  1. 1
    IntroductionStart with the result you can see

    A dashboard can show an error value even when its own formula is correct, because of error propagation. It can also show an ordinary number built from incomplete data: a silent error, which no code flags.

    You will work backward from visible symptoms, repair their source and then challenge the resulting total. Keep the formula in place while you investigate: its references tell you where the result came from.

  2. 2
    ExplanationUse the code to narrow the search

    An error value identifies a failed calculation. #DIV/0! points to division by zero or an empty divisor. #N/A commonly points to a missing lookup match. #REF! points to an invalid reference.

    Read the cell's message as well as the code. A lookup with an absent key and a lookup requesting a nonexistent column need different repairs, even though both prevent a price from being returned.

  3. 3
    ExampleInspect a missing price

    A delivery sheet looks up code "M-28". The source list contains "M-28 " with a trailing space, and the exact lookup returns #N/A.

    Compare the keys character by character and check their stored types. The extra space explains why these two visible labels fail to match. Correct the source key or clean the imported key, then rerun the lookup; changing the amount formula would not repair this mismatch.

  4. 4
    ChallengeChoose the right investigation

    A formula contains =VLOOKUP(A2,J2:K30,4,FALSE) and returns #REF!. Would cleaning spaces in A2 address the stated fault? What must be inspected?

    ---reveal---

    No. J2:K30 has only two columns, while the formula requests column 4. Inspect the intended return column and range, then repair that reference. A key mismatch would commonly produce #N/A; this formula has an invalid column request before that issue is resolved.

  5. 5
    ExampleFollow the error through the total

    The repaired delivery lookup is in D8. Before the repair, D8 returned #N/A, the total =SUM(D2:D12) also returned #N/A, and a dashboard linked to the total showed the same code.

    This is error propagation: later formulas use the failed result. The total's range can be correct while one included input fails. Follow the inputs backward until you reach the first faulty calculation.

  6. 6
    ExampleVerify the repair downstream

    After the source key is corrected, D8 returns a price. Check the line amount, then the delivery total and dashboard.

    Each step should now give a value consistent with its inputs. If the dashboard still fails, inspect its remaining inputs; repairing one source does not rule out another fault elsewhere. Do not type a remembered total over the dashboard formula, because that result would stop updating.

  7. 7
    TipKeep the fallback narrow

    If an unlisted product is an expected case, a tested lookup can use IFNA or XLOOKUP's missing-match argument to show "Not listed".

    A blanket IFERROR also catches structural faults such as #REF!. Turning every error into zero could make incomplete prices look like free items. Choose the fallback by the meaning of the missing result and by what later formulas will do with it.

  8. 8
    ChallengePredict the fallback’s effect

    Two known delivery times are 6 h and 10 h. A third missing time is replaced with zero before AVERAGE is calculated. What average results, and what is wrong with interpreting it as the average of known times?

    ---reveal---

    The average is about 5.33 h: AVERAGE counts the replacement zero as a third number. The two known times average 8 h. The fallback has added an observation that was never measured as zero, pulling the result down.

  9. 9
    ConnectionSeparate syntax, values and display

    #NAME? can come from an undefined name or misspelled function. #VALUE! can come from text such as "4 kg" used in arithmetic. #SPILL! points to an array that cannot fill its intended area.

    A cell showing ##### needs a different check: widen its column, then inspect whether a negative date or time is causing the hashes. These hashes are a display problem rather than an error value.

  10. 10
    ExplanationChallenge an ordinary-looking total

    A silent error returns a plausible number. Look for text numbers, short ranges, shifted references and typed-over formulas.

    Three amounts are 48, 32 and text "20". A total using SUM returns 80 because the text cell is ignored. The displayed total gives no error code. Comparing a numeric count with the number of expected records helps identify the missing contribution.

  11. 11
    ExampleUse the counts to find the text

    For those three nonempty cells, COUNT returns 2 and COUNTA returns 3. Inspect the extra nonnumeric entry and convert the text "20" to a number.

    The sum then becomes 100. The count difference was a clue, not the repair itself. Applying a number format alone does not establish a numeric stored value; check the cell after conversion and recalculate the total.

  12. 12
    ChallengeKeep the denominator fixed

    E2 contains =D2/D15, where D15 is the grand total. What should E2 contain before copying it down, and why?

    ---reveal---

    Use =D2/$D$15. D2 must move to D3 and later rows, while the grand total stays at D15. Leaving both references relative moves the denominator too; fixing both would repeat the first row's share. Inspect the copied formula in the next row to confirm the adjustment.

  13. 13
    ChallengeReview a repaired report

    A report is now free of error codes. Its last record was added below a fixed sum range, and its discount input contains 12 where 12% was intended. What two silent faults still need repair?

    ---reveal---

    Extend the total to include every intended record, or use a growing table reference. Correct the discount to 12%, stored as 0.12, and check its effect on the final amount. Both faults can produce numeric results, so the absence of error codes does not resolve them.

  14. 14
    RecapRead, trace, repair and test

    Use the error code to choose the investigation, follow the calculation back to the source and verify the outputs after repair.

    Then inspect ordinary-looking results too: confirm the records included, the input types, the copied references and the scale of percentages. A useful repair restores a calculation that will still work when the next input changes.

2

Inspect a price model with auditing tools

16 steps
Follow dependency routes, inspect a discount calculation and watch outputs while reviewing warnings.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionChoose a view for your question
  2. 2
    ExplanationRead the route into a result
  3. 3
    ExampleFollow the price forward
  4. 4
    ChallengeInterpret a dashed arrow
  5. 5
    ExampleExpose the discount multiplier
  6. 6
    ExampleRepair the input and evaluate again
  7. 7
    TipPreview without freezing the expression
  8. 8
    ChallengeCheck the branch that runs
  9. 9
    ExplanationKeep the margin and checks in view
  10. 10
    ExamplePredict before editing
  11. 11
    ChallengeExplain an unchanged watch
  12. 12
    ExplanationRead the warning before fixing it
  13. 13
    ChallengeReview a deliberate exception
  14. 14
    ConnectionUse flags with explicit checks
  15. 15
    ChallengePut the investigation together
  16. 16
    RecapMatch the tool to the evidence
3

Update results and solve a deliberate loop

15 steps
Distinguish stale results from circular dependencies and inspect an iterative bonus calculation.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionCheck freshness before logic
  2. 2
    ExampleRecognize an old result
  3. 3
    ExplanationChoose the calculation scope
  4. 4
    ChallengeExplain a changed workbook mode
  5. 5
    ExplanationFind a route back to the same cell
  6. 6
    ExampleRepair the total’s input range
  7. 7
    ChallengeRepair an indirect allocation loop
  8. 8
    ExampleState the intended bonus relationship
  9. 9
    ExampleFollow the first rounds
  10. 10
    Key InsightSolve the same relationship directly
  11. 11
    ExplanationRead both stopping limits
  12. 12
    ChallengeJudge a stopped loop
  13. 13
    TipBuild a clean restart
  14. 14
    ChallengeSeparate two uses of iteration
  15. 15
    RecapKeep updates and dependencies explicit
4

Validate an input column and inspect a paste

12 steps
Create a rule, select its alert behavior and repeat the full condition in a check.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionControl what the input means
  2. 2
    ExampleCreate the quantity rule
  3. 3
    TipTell the user what to enter
  4. 4
    ChallengeChoose a percentage rule
  5. 5
    ConnectionHandle choices and related inputs
  6. 6
    ExplanationChoose whether an exception can stay
  7. 7
    ExampleInspect pasted quantities
  8. 8
    ExampleRepeat every part in a helper
  9. 9
    ChallengeCount the failed entries
  10. 10
    ConnectionMake the result easy to find
  11. 11
    ChallengeInvestigate missing circles
  12. 12
    RecapCheck entry and stored data
5

Review a workbook with independent checks

13 steps
Connect risk to review effort, organize assumptions and test whether checks expose an omission.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionDecide what a wrong result could cost
  2. 2
    ExplanationIdentify the route to a mistake
  3. 3
    ChallengeMatch the review to the failure
  4. 4
    ExampleExpose a shared assumption
  5. 5
    TipMake records and units readable
  6. 6
    ChallengeFix a mixed-unit column
  7. 7
    ExampleBuild two routes to a total
  8. 8
    ExampleIntroduce one omission
  9. 9
    Key InsightChallenge the shared source too
  10. 10
    ChallengeUse a tolerance in both directions
  11. 11
    TipShow the status beside the result
  12. 12
    ChallengeReview a green status
  13. 13
    RecapMake the review repeatable

Troubleshooting Formulas practice questions

50 Practice Questions in 5 sets

Set 1: Follow formulas and explain results10 Practice Questions

Question 1 of 10

A unit-price lookup uses =VLOOKUP(A4,H2:I60,3,FALSE). What should be repaired?
  1. The number format applied to the result cell.
  2. The exact-match setting or the sorting order.
  3. The text spacing or numeric type of the key.
  4. The return-column index or the lookup range.
Show answerHide answer
Answer: D
H2:I60 contains two columns, so a request for column 3 is outside the range and returns #REF!. Use the intended return column within that range, or expand the range to include it. Cleaning the key cannot repair an invalid column index.

Question 2 of 10

C2 contains =B2/B14. The total in B14 must stay fixed when the formula is copied down. What formula should C2 use?
  1. =$B$2/B14
  2. =B2/B$2
  3. =B2/$B$14
  4. =$B$2/$B$14
Show answerHide answer
Answer: C
Locking B14 keeps the denominator on the total while B2 changes to B3, B4 and so on. Locking both references would repeat the first row’s share in every row. The numerator must follow the current record, while the shared total must stay fixed.

Question 3 of 10

B2:B7 contain 8, 0, 90, 4.5, text "12" and a blank. The intended rule permits blanks or whole numbers from 1 through 90. A copied helper uses =OR(B2="",IF(ISNUMBER(B2),AND(B2>=1,B2<=90),FALSE)). How many failures does it report now, and how many should a full-rule helper report?
  1. 2 now; 3 with the full rule.
  2. 2 now; 2 with the full rule.
  3. 1 now; 2 with the full rule.
  4. 3 now; 4 with the full rule.
Show answerHide answer
Answer: A
The helper rejects zero and text "12", but accepts the in-range fraction 4.5 because it lacks an integer test. That gives two failures now and three when the whole-number condition is added. The blank is deliberately allowed, so counting it as another failure changes the intended rule.

Question 4 of 10

An import is expected to contain 18 records. An ordinary paste loads 17, including out-of-range quantities. Circle Invalid Data shows no circles, and the destination cells no longer have validation rules. What must be resolved before accepting the input?
  1. Count 18 table rows including the header, and keep current validation.
  2. Reconcile the one-record gap, and accept the uncircled quantities.
  3. Restore and test the rules, then let validation settle the source gap.
  4. Restore and test the rules, and reconcile the one-record source gap.
Show answerHide answer
Answer: D
The missing rules explain why Circle Invalid Data cannot test the intended conditions. Restoring them allows inspection of the loaded quantities, while the source count separately shows one record still to reconcile. Passing validation for the loaded subset would leave that completeness problem unresolved.

Question 5 of 10

You need ordinary formulas to update immediately after inputs change. What calculation mode should you choose?
  1. Manual.
  2. Automatic.
  3. Iterative.
  4. Precision as displayed.
Show answerHide answer
Answer: B
Automatic mode recalculates formulas affected by an input change. Manual waits for a calculation request and can leave old values on screen. Iteration controls repeated calculations of circular references; it does not replace the ordinary Automatic setting.

Question 6 of 10

A2:A6 contain IDs "R", "S", "R", "T" and "U"; A7:A8 are empty. A Custom rule =COUNTIF(A2:A6,A2)=1 is applied with A2 active. Why can the duplicate in A4 pass, and how should the rule be repaired?
  1. Its count range stays at A2:A6; change the test from =1 to >=1.
  2. Its count range shifts to A4:A8; fix the range as $A$2:$A$6.
  3. Its tested ID shifts to A6; fix the tested reference as $A$2.
  4. Its tested ID stays at A2; make both the range and tested ID absolute.
Show answerHide answer
Answer: B
At A4 the relative range has shifted to A4:A8, so it misses the earlier "R" in A2 and counts the current "R" only once. Fix the comparison range while letting the tested ID follow its row. Fixing the tested ID too would make every row test A2 instead of itself.

Question 7 of 10

You select an expression in the formula bar and press F9 to preview its value. What should you press to keep the original formula?
  1. F4.
  2. Tab.
  3. Enter.
  4. Esc.
Show answerHide answer
Answer: D
Esc cancels the temporary edit and preserves the original expression. Enter would commit the previewed value in place of the selected formula part. That could freeze an input-dependent calculation even though its current result looks correct.

Question 8 of 10

Thirty formulas contain the same fixed packing fee. The fee changes several times a year. What design makes updates easier to check?
  1. Put the fee in one labeled input cell and reference it.
  2. Keep the fee in every formula and color the output cells.
  3. Hide the fee formulas on a sheet without input labels.
  4. Replace the formulas with current results before each update.
Show answerHide answer
Answer: A
One labeled input makes the assumption visible and gives each formula the same source. Updating individual embedded copies risks missing one, even if the results are colored consistently. The reviewer should check that every intended calculation refers to the shared fee.

Question 9 of 10

Product codes are intentionally stored as text, but a numeric amount column also contains imported text numbers. Both have error-checking flags. How should the reviewer act?
  1. Disable all background checking, then rely on matching display formats in both columns.
  2. Convert both codes and amounts to numbers, then ignore any changed identifiers.
  3. Verify and ignore the valid code flags; convert the text amounts to numbers.
  4. Ignore both columns because the code column establishes that text is intentional.
Show answerHide answer
Answer: C
The same warning can indicate different needs: text preserves an identifier, while numeric amounts must participate in calculations. Verify the code convention, dismiss those valid exceptions and convert the amount cells. Treating both columns alike could alter identifiers or leave totals omitting text amounts.

Question 10 of 10

Rules were added after a quantity column had been filled. No entry alert appeared. How can the existing values be inspected against those rules?
  1. Use Clear Validation Circles.
  2. Use Circle Invalid Data.
  3. Use Reset Ignored Errors.
  4. Use Remove Arrows.
Show answerHide answer
Answer: B
Circle Invalid Data marks current values that break the rules attached to their cells. Adding a rule does not automatically display entry alerts for existing data. Clear Validation Circles only hides those markers; it does not run the check or repair the values.
Set 2: Find errors and check inputs10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

E6 contains =C6-D6. Which cells are its direct precedents?
  1. E6 and C6.
  2. C6 and E7.
  3. E6 and D6.
  4. C6 and D6.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

You need all formulas in every open workbook recalculated even if Excel does not mark them as changed. Which Windows shortcut fits?
  1. Shift+F9.
  2. Ctrl+Alt+F9.
  3. F9 alone.
  4. F9 while editing a selected expression.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A new analyst must choose which workbook needs the most review. What combination raises spreadsheet risk most directly?
  1. Clearly labeled inputs, tested formulas and documented changes to sources.
  2. Simple personal lists, one editor and low-consequence sorting decisions.
  3. Separate inputs and outputs, consistent formulas and independent reconciliation.
  4. Complex shared formulas, repeated manual transfers and high-stakes outputs.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

The Watch Window lists F8 from both a Budget sheet and a Forecast sheet. You need to inspect the Forecast formula while keeping both watches. What action should you take?
  1. Double-click the Forecast entry to go to its cell.
  2. Add Forecast!F8 a second time to open its formula.
  3. Edit the Forecast watch value to open its worksheet.
  4. Delete the Budget watch so Forecast becomes active.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

North has period amounts 140, 160 and 180; South has 90, 110 and 135. The three column-total formulas return 230, 270 and 180. What omission is indicated, and what grand total should both routes give after repair?
  1. North’s third-period 180 is omitted; the total should be 860.
  2. South’s second-period 110 is omitted; the total should be 790.
  3. South’s third-period 135 is omitted; the total should be 815.
  4. South’s third-period 135 is omitted; the total should remain 680.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A formula divides total mass by the number of containers. The count cell is empty. What error is the division likely to return?
  1. #NUM!
  2. #N/A
  3. #DIV/0!
  4. #VALUE!
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An invalid quantity is kept after the user clicks Yes on its alert. What alert style allowed that action?
  1. Warning.
  2. Input Message.
  3. Stop.
  4. Information.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Inputs are on one sheet and a margin check is on another. You need to observe the check while trying several input values. What tool fits this task?
  1. Draw only the input cell’s precedent arrows.
  2. Select all numeric constants on the input sheet.
  3. Dismiss the check cell’s background warning.
  4. Add the check cell to the Watch Window.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A source export has 124 records totaling 2,480. The loaded table has 120 totaling 2,300. Its two internal totals agree. What discrepancy must be reconciled, and can the internal agreement resolve it?
  1. Four records and 45 in value; agreement within the subset resolves the gap.
  2. Four records and 180 in value; agreement within the subset leaves the gap unresolved.
  3. Eight records and 180 in value; the gap proves both internal totals are arithmetically wrong.
  4. Four records and 180 in value; agreement within the subset validates completeness.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

An iterative model reaches its maximum of 100 rounds while its values are still changing substantially. What does the displayed result represent?
  1. The last calculated value, which may still be unsettled.
  2. A converged answer, because the stopping limits are interchangeable.
  3. The exact solution, because all 100 rounds were completed.
  4. A zero value, because Excel discards unfinished iterations.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Repair calculations and controls10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Evaluate Formula shows 1-D5 becoming −24 in a discount calculation. D5 was meant to contain 25%. What input change repairs the scale?
  1. Enter 25% in D5.
  2. Enter 24 in D5.
  3. Enter −24 in D5.
  4. Enter 1.25 in D5.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

B3 holds 150 units, C3 a price of 2.00, D3 =B3*C3 and F3 =D3-250. Tracing C3’s dependents first reaches D3, then F3. Other workbooks are closed. What should an edit to 2.20 produce, and what can this trace establish before removing C3?
  1. F3 should become 80; no further links can exist outside the trace.
  2. F3 should become 330; closed-file links still need investigation.
  3. F3 should become 80; closed-file links still need investigation.
  4. F3 should become 30; the trace covers all links from closed files.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A date cell displays ##### even after its column has been widened. Its formula subtracts a later date from an earlier one. What should you inspect next?
  1. The date’s decimal places.
  2. The text-number warning.
  3. The column’s width setting.
  4. The negative date result.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A bonus is defined as all of the profit remaining after that bonus, with profit before bonus of 18,000. Iteration alternates between 18,000 and 0, yet repeated runs of 100 rounds show the same final value. What should a reviewer conclude and use as the direct answer?
  1. The repeated display establishes convergence; the direct bonus is 18,000.
  2. The repeated display can hide oscillation; the direct bonus is 9,000.
  3. The repeated display can hide oscillation; the direct bonus is 0.
  4. The repeated display establishes convergence; retain whichever endpoint appears.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

D11 contains =SUM(D3:D11), and D3:D10 are the intended inputs. What repair removes the accidental loop without omitting an input?
  1. Move the unchanged formula to D10.
  2. Enable iteration and retain =SUM(D3:D11).
  3. Change D11 to =SUM(D3:D9).
  4. Change D11 to =SUM(D3:D10).
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An existing table totals 460. New records contain numeric 35 and text "25". The table grows, and its structured-reference SUM becomes 495, but a fixed-range check stays at 460. The source total is 520. What repair addresses both disagreements?
  1. Convert the text amount and extend the check’s range; both totals should become 520.
  2. Add the text amount to the check as a fixed 25; leave the table result at 495.
  3. Convert only the text amount; keep the check at 460 because it describes the earlier range.
  4. Extend only the check’s range; both totals should become 495 and the source gap can be ignored.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Three detail rows contain 36, 84 and #REF!. An output column uses IFERROR to turn errors into zero, so its average is 40 and its error count is zero. The broken reference should return 60. What average should a source repair produce, and why was the zero error count insufficient?
  1. 60; the zero error count had verified the source reference.
  2. 90; the repaired average should exclude the failed row.
  3. 60; the fallback had hidden an unresolved source amount.
  4. 40; repairing the source leaves the average unchanged.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A cell must hold a count of complete packages from 1 through 60. What validation type and condition fit?
  1. Text length, between 1 and 60.
  2. Whole number, between 1 and 60.
  3. Whole number, greater than 1.
  4. Decimal, between 1 and 60.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Two independently calculated amount totals can differ by tiny binary-storage effects. Differences below 0.005 are acceptable for this check. What formula tests that tolerance?
  1. =ABS(TotalA-TotalB)<0.005
  2. =ABS(TotalA-TotalB)>0.005
  3. =TotalA-TotalB<0.005
  4. =ABS(TotalA+TotalB)<0.005
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A dashboard and its source total both show #N/A. In the detail range, only one lookup shows #N/A; the others return numbers. Where should the repair begin?
  1. Put IFERROR around the dashboard total.
  2. Replace the dashboard formula with its last value.
  3. Remove the failed detail row from the total.
  4. Inspect the failed detail lookup and its key.
Show answerHide answer

Save this lesson to see this answer.

Set 4: Investigate hidden faults10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A bonus equals 25% of profit after paying the bonus. Profit before the bonus is 45,000. What bonus follows from the intended relationship?
  1. 10,000.
  2. 8,437.50.
  3. 11,250.
  4. 9,000.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

You open a workbook saved in Manual mode first, then open a second workbook in the same desktop Excel session. The second workbook’s formulas stop updating. Why?
  1. The second workbook retained a separate mode that no other file can affect.
  2. The second workbook switched to the mode used by Excel for the web.
  3. The first workbook set the shared calculation mode to Manual.
  4. The first workbook transferred its setting only to the active worksheet.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A formula warning was ignored last week. You now want to review that warning again along with other dismissed flags. What command helps?
  1. Clear All in the Data Validation dialog.
  2. Reset Ignored Errors in the Formulas options.
  3. Remove Arrows in the Formula Auditing group.
  4. Clear Validation Circles in the Data tab.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Discounts from 0% through 18% are allowed. What Decimal validation bounds match these stored values?
  1. 0 and 0.18.
  2. 0 and 1.18.
  3. 0 and 18.
  4. 0.18 and 1.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Missing product codes should display "Not stocked", while broken references must remain visible. How should a working exact-match lookup handle this?
  1. Use ISERR to replace errors other than #N/A.
  2. Use IFERROR to replace every error with that label.
  3. Replace missing matches and broken references with zero.
  4. Use IFNA or the lookup’s missing-match argument.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A flagged formula differs from its neighbors because it is a correctly calculated subtotal. How should that flag be handled?
  1. Turn off every background error-checking rule for the file.
  2. Verify the subtotal, then ignore the error for that cell.
  3. Convert the subtotal formula to a fixed numeric value.
  4. Copy the normal detail formula into the subtotal cell.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A mass column combines 0.8 kg, 750 g and 1.1 kg as the numeric entries 0.8, 750 and 1.1. The sum is valid and error checking shows no faults. What total in kg should a unit repair produce, and why did formula checking miss this?
  1. 751.9 kg; a valid SUM establishes that all entries already use the same unit.
  2. 1.90075 kg; converting grams requires dividing the entered mass by 1,000,000.
  3. 2.65 kg; the formula can correctly add values entered at incompatible scales.
  4. 2.65 kg; changing every cell to a two-decimal number format performs the conversion.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A line amount should equal its base times one plus a shared surcharge rate. The workbook is fully recalculated after each edit. With base 50 and rate 10%, it shows 55. After the rate changes to 20%, it stays 55; after the base changes to 60, it becomes 66. What diagnosis and corrected amount fit these tests?
  1. The calculation still uses 10%; link the shared rate to obtain 72.
  2. The calculation uses 20%; retain its references and recalculate to obtain 66.
  3. The base reference is fixed at 50; unlock that reference to obtain 60.
  4. The whole amount is a typed override; keep it at 66 after restoring the formula.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

D3 contains =B3*C3 and G3 contains =D3-F3. You want to see all effects of changing C3. How should you begin?
  1. Select C3 and trace dependents through two levels.
  2. Select G3 and remove its dependent arrows.
  3. Select C3 and trace precedents through two levels.
  4. Select D3 and trace only its direct precedents.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A model defines a bonus as 20% of after-bonus profit, with profit before bonus of 48,000. A repaired input has left #VALUE! circulating. The model has an off switch that makes the bonus formula return zero. What restart and settled bonus fit the model?
  1. Off and recalculate, then on and recalculate; bonus 9,600.
  2. Off and recalculate, then on and recalculate; bonus 8,000.
  3. Reset only the displayed error cell to 8,000; keep the loop running.
  4. Switch off then on without recalculating between; bonus 8,000.
Show answerHide answer

Save this lesson to see this answer.

Set 5: Review a model from source to output10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A workbook regularly receives new sales records below the current data. Its total uses a fixed cell range, and the newest rows are sometimes left out. What design change reduces this recurring omission?
  1. Keep the fixed range and hide rows added below it until the next reporting period.
  2. Keep the fixed range and copy its total formula into the newest record row.
  3. Store records in a table but retain the original fixed range for every future total.
  4. Store records in a table and total its Amount column with a structured reference.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Detail!D4 allocates 10% of Summary!B8. Summary!B8 equals the base input of 720 plus Detail!D4. The allocation should be 10% of the base only and keep updating when that base changes. What repair and resulting allocation and summary match that intention?
  1. Keep the loop and enable iteration; allocation 80, summary 800.
  2. Reference the base in Detail!D4; allocation 72, summary 792.
  3. Remove the allocation from Summary!B8; allocation 72, summary 720.
  4. Replace Detail!D4 with a fixed 72; allocation 72, summary 792.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A watched profit is 260 for 400 units at 1.10, with costs of 180. In Manual mode, the price changes to 1.30 but profit stays 260. After F9 it becomes 340; an independent source report gives 360. What does this test establish, and what remains unresolved?
  1. The price change adds 80 as expected; the source comparison still has a 20 gap.
  2. The price change adds 100 as expected; the source comparison now agrees.
  3. The price change adds 80 as expected; this validates the whole reported profit.
  4. The price change adds 20 as expected; the remaining 80 is a stale-value effect.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A risk model measures a change from 84 to 116 against the average of those two values. Its formula instead divides the change by their sum. An alert should fire above 25%. What corrected percentage and alert result follow?
  1. 16%; the alert should remain off.
  2. 16%; the alert should fire.
  3. 32%; the alert should fire.
  4. 32%; the alert should remain off.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A report total leaves out the final eight records because its range stops too soon. What type of error does this illustrate?
  1. A mechanical error.
  2. An omission error.
  3. A logic error.
  4. A display error.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A formula was =B5*C5*(1-D5), with B5 = 40, C5 = 3 and D5 = 10%. While editing, an analyst selected B5*C5, pressed F9, then Enter. B5 is later changed to 50. What result and repair fit the edited formula?
  1. It returns 108; replace the entire formula with the fixed value 135.
  2. It returns 120; restore only D5 to obtain the discounted result.
  3. It returns 135; retain the saved 120 because the input link remains live.
  4. It returns 108; restore B5*C5 to obtain 135.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A2:A5 contain 42, 18, text "30" and 10. What do SUM(A2:A5) and COUNT(A2:A5) return?
  1. 70 and 3.
  2. 100 and 4.
  3. 100 and 3.
  4. 70 and 4.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An Excel FILTER formula should return four rows, but a note occupies one of its output cells. What repair addresses this cause?
  1. Move the formula inside an Excel table.
  2. Widen the column containing the formula.
  3. Move the note out of the spill range.
  4. Replace the filter condition with FALSE.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Columns B and C hold start and end dates. Each end must be on or after its own start. Rows 2–4 have date pairs June 5/June 9, June 20/June 15 and June 10/June 22 in the same year. End dates in C2:C4 use the Custom rule =C2>=$B$2, applied with C2 active. Which row wrongly passes, and what rule repairs the comparison?
  1. Row 4; use =C2>B2 for the selected range.
  2. Row 3; use =C2>=B2 for the selected range.
  3. Row 3; use =$C$2>=$B$2 for the selected range.
  4. Row 2; use =$C$2>=B2 for the selected range.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A1 contains =B1+2, B1 contains =C1*3 and C1 contains =A1/3. Why does this create a circular reference even though none of the formulas names its own cell?
  1. Each formula is independent since none names its own address.
  2. A1 is a valid fixed input, so C1 cannot close a loop.
  3. Only B1 is circular because the factors of 3 cancel out.
  4. A1 depends on B1, which depends on C1, which depends on A1.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

75 Key Terms, each with its definition

A

Absolute reference
An absolute reference fixes its column and row with dollar signs, keeping the referenced address unchanged when a formula is copied.
The formula used $F$1 so every copied row continued to use the same labeled surcharge rate.
AGGREGATE
AGGREGATE is an Excel summary function with options to ignore selected kinds of values, including errors, while calculating a result.
The error-skipping sum had an error count beside it so unresolved rows remained visible to users.
Automatic calculation
Automatic calculation updates formulas affected by an input change as you work, keeping ordinary dependent results current.
The line amount immediately reflected the corrected quantity without a separate Calculate Now request.

B

Background error checking
Background error checking is Excel’s ongoing use of enabled rules to flag suspicious formulas or data with a small cell-corner marker.
A green triangle prompted inspection of a formula using the previous row’s price instead of its own.

C

Calculation mode
Calculation mode determines when formula results update, allowing automatic updates or calculation requested by the user.
Opening a Manual-mode workbook first caused another workbook opened later in the same desktop session to wait for recalculation too.
Change log
A change log records meaningful workbook edits and their versions, helping reviewers trace a changed result back to the alteration that caused it.
A reviewer linked the new margin difference to the logged change in the cost-allocation formula.
Check cell
A check cell tests a specific required condition and returns a pass or failure signal, without changing the result it is inspecting.
The output sheet showed a failed count check even though its financial total appeared reasonable.
Circle Invalid Data
Circle Invalid Data is an Excel command that marks current values breaking their attached validation rules, including preexisting invalid entries.
After an import, circles identified zero quantities and fractions in a whole-number input column.
Circuit breaker
A circuit breaker is a model switch that resets an iterative loop to clean values, allowing a circulating error to be cleared before restart.
The analyst switched the loop off and recalculated before switching it on again after repairing an input.
Circular reference
A circular reference occurs when a formula depends on its own result, directly or through a chain that returns to the same cell.
The total range included the total cell itself, preventing a normal calculation from independent inputs.
Convergence
Convergence is the approach of successive iterative results toward a stable value, allowing the model’s feedback calculation to settle.
In a looping bonus model, the bonus moved above and below its final value with smaller differences on successive rounds.
Cross-footing
Cross-footing compares a grand total assembled from row totals with one assembled from column totals, exposing disagreement between routes.
The region route exceeded the quarter route by the amount in one cell omitted from a quarter’s sum.
Custom validation formula
A Custom validation formula returns TRUE for valid input and FALSE for invalid input, with references written for the active cell.
The rule kept the comparison range fixed while testing each row’s identifier for duplicates.

D

Data validation
Data validation is a rule attached to a cell that defines acceptable input, such as a numeric range, allowed list item or formula condition.
A whole-number rule restricted the package count to the permitted interval before the order was totaled.
Dependent
A dependent is a formula cell that uses another cell’s value, directly or through a chain, and may change when that source changes.
The profit calculation was an indirect dependent of the unit price through the revenue formula.
Direct circular reference
A direct circular reference occurs when a formula includes its own cell address, either explicitly or inside one of its referenced ranges.
The sum in F9 referred to F2:F9, so F9 was one of the very inputs it was trying to add.
Display precision
Display precision is the number of digits shown by a cell’s format, which can differ from the stored value used in calculations.
The displayed line values appeared to total 6.00, but their unrounded stored values summed to 6.01.

E

Edge case
An edge case is an input at a boundary or an unusual permitted condition, used in testing to reveal behavior ordinary values may not show.
The test used zero, a blank and the largest allowed quantity before the workbook was put into use.
Error checking rule
An error checking rule is a configurable test Excel uses to flag a possible problem, such as text numbers, omitted cells or unlocked formulas.
The unlocked-formula rule drew attention to a calculated cell that could be overwritten during entry.
Error propagation
Error propagation is the passing of an error through formulas that use the failed result, so one source fault can affect many outputs.
A failed detail lookup also made the department total and its linked dashboard return an error.
Error test
An error test returns TRUE or FALSE for a selected kind of failure; ISERROR tests all errors and ISNA tests only #N/A.
An error-test helper identified failing rows before the reviewer inspected their source formulas.
Error value
An error value is a formula result indicating that a valid answer could not be calculated, with a code identifying the kind of failure.
A dashboard’s #N/A result led the reviewer to a missing product code in the lookup that supplied its detail figures.
EuSpRIG
EuSpRIG is the European Spreadsheet Risks Interest Group, a community of researchers and practitioners studying spreadsheet risks and controls.
The team used spreadsheet-risk research to support independent review of its most consequential models.
Evaluate Formula
Evaluate Formula is an Excel auditing tool that exposes intermediate results by calculating a selected expression one part at a time.
The first unexpected multiplier revealed that a discount input had been typed at the wrong scale.

H

Hard-coded override
A hard-coded override is a typed value placed over a formula, leaving a result that no longer responds to the original calculation’s inputs.
One row stayed unchanged after a price edit because its formula had been replaced by yesterday’s amount.
Helper cell
A helper cell holds one stage of a larger calculation, making that stage’s value and meaning easier to inspect before the final result.
Separate helpers showed the discount multiplier and discounted amount without a long nested formula.

I

IFERROR
IFERROR is an Excel function that returns a chosen replacement whenever its first expression returns any kind of error value.
The reviewer removed a broad fallback to expose the broken reference that had been displayed as zero.
IFNA
IFNA is an Excel function that replaces only #N/A errors, allowing unrelated faults such as invalid references to remain visible.
The missing-item label appeared for an absent code while structural errors still showed their own codes.
Ignore blank
Ignore blank is a data-validation setting that permits an empty cell, allowing optional inputs to remain unfilled without failing the rule.
The optional quantity field could be blank, while any entered quantity still had to meet its limits.
Ignored error
An ignored error is a warning a user has dismissed for a cell after review; the formula or value itself remains in the worksheet.
Reset Ignored Errors restored the old flags so the new reviewer could inspect the earlier exceptions.
Inconsistent formula
An inconsistent formula differs from the pattern of nearby formulas or a table’s calculated column, which can indicate a mistake or a valid exception.
The subtotal differed intentionally, so its warning was dismissed only after the range was verified.
Indirect circular reference
An indirect circular reference occurs when several cells depend on one another in a loop, so a result eventually feeds back into itself.
A detail allocation used a summary total that already included that allocation, closing the loop.
Indirect precedent
An indirect precedent supplies a formula through one or more other formula cells, rather than appearing directly in the final expression.
The hourly rate fed the pay subtotal, which then fed the department total being investigated.
Information alert
An Information alert is an Excel validation response that provides advice while allowing an invalid entry to be retained by choosing OK.
The workbook informed the user about an unusual value without requiring it to be changed.
Input cell
An input cell holds a value or assumption supplied to the model, ideally labeled, entered once and referenced by every relevant calculation.
The overtime factor had one named input so a policy change could update all employee calculations.
Input message
An input message is guidance displayed when a validated cell is selected, explaining what to enter without itself blocking a value.
The discount cell’s message asked for a percentage between 0% and 20%, making the expected scale clear.
Intermediate result
An intermediate result is a value produced during a calculation before the final answer, useful for locating the first step that goes wrong.
The final total was negative because an earlier percentage subtraction had already produced −11.
Iterative calculation
Iterative calculation repeatedly recalculates a circular model until a change threshold or a maximum number of rounds stops the process.
A model whose bonus depends on after-bonus profit reused the latest after-bonus profit to calculate the bonus in the next round.

L

List source
A list source supplies the choices allowed by List validation, using typed items, a cell range or a suitable named reference.
The reviewer expanded a fixed source range after a new department was added below its last cell.
Logic error
A logic error uses the wrong reasoning or calculation method, so the formula may be syntactically valid while expressing the wrong relationship.
Dividing by a sum produced half the intended result when the definition required division by an average.

M

Manual calculation
Manual calculation waits for an explicit calculation request, which can speed up edits but leave displayed results out of date.
The total still showed its old value until the analyst pressed F9 after changing the quantity.
Maximum Change
Maximum Change is Excel’s stopping threshold for changes between iterative results, used together with the limit on calculation rounds.
A threshold of 0.001 required changes smaller than a thousandth before the change limit stopped the loop.
Maximum Iterations
Maximum Iterations is the upper limit on repeated calculation rounds, which can stop a loop even when its values have not settled.
A loop reached the allowed round count while its output was still alternating between two values.
Mechanical error
A mechanical error is a slip in entering data or selecting cells, such as mistyping a number or clicking the wrong row’s reference.
The formula used the neighboring price because the author selected the wrong cell while building it.

N

Number stored as text
A number stored as text is a text entry that looks numeric but may be ignored by functions such as SUM when read from a cell range.
The numeric count was lower than the nonempty count because one imported amount was text.

O

Omission error
An omission error leaves required data, steps or factors out of a spreadsheet, often producing a normal-looking but incomplete result.
A total excluded the last week’s deliveries because the range ended before those records began.

P

Plausibility check
A plausibility check tests whether a result or input falls within sensible limits, such as quantities that must not be negative.
A negative discounted price triggered investigation of a percentage entered at the wrong scale.
Precedent
A precedent is a cell that supplies a formula with a value, either directly in its expression or through another calculation in the chain.
The quantity and price cells were direct precedents of the line amount calculated from them.

R

Reconciliation
A reconciliation compares related totals or records obtained by independent routes, such as a loaded total and the original source report.
The imported amounts were reconciled with the export before the dashboard was released to users.
Record-count check
A record-count check compares the number of loaded records with an expected source count to expose missing or duplicated data.
All internal totals agreed, but the export count showed that three source records had not been loaded.

S

Sensitivity test
A sensitivity test changes an input and compares the resulting output movement with the direction and size expected from the model.
Raising the price by 0.20 for 50 units should increase revenue by 10 when the quantity stays fixed.
Show Formulas
Show Formulas is an Excel display mode that shows worksheet formulas in place of their results so neighboring calculation patterns can be inspected.
The reviewer used Ctrl+` to spot a typed amount interrupting the formulas in the revenue column.
Silent error
A silent error is a mistake that returns an ordinary-looking but incorrect result, often requiring a check or review to detect it.
The total omitted the latest delivery even though the cell displayed a normal numeric result.
Spreadsheet risk
Spreadsheet risk is the chance that a spreadsheet mistake causes a wrong decision, loss or report, considered alongside the severity of its effects.
A shared pricing model received more review because a wrong rate could affect many customer quotations.
Stale result
A stale result is a displayed or saved formula value that has not been updated to reflect the current inputs used by the calculation.
The printed forecast was outdated because the Manual-mode workbook had not been recalculated.
Step In
Step In is an Evaluate Formula control that opens the calculation inside a referenced formula cell when that reference can be inspected.
The reviewer stepped into a subtotal formula, then used Step Out to return to the original output.
Stop alert
A Stop alert is an Excel validation response that refuses an invalid direct entry when enabled, offering the user Retry or Cancel.
A fractional package count was rejected with a message explaining the required whole-number range.
Structured reference
A structured reference identifies an Excel table or its columns by name, keeping formulas tied to the table as its records grow.
The total used Sales[Amount] so new rows added to the sales table joined the calculation automatically.

T

Tolerance
A tolerance is the allowed size of a difference in a numerical check, chosen to suit the quantity and precision of the calculation.
The check used an absolute gap below 0.005 to allow tiny binary-storage differences in hundredth-based amounts.
Tracer arrow
A tracer arrow is a visual link Excel draws between related cells to show where formula inputs come from or where results are used.
A second click on Trace Precedents exposed the earlier inputs feeding the first level of calculations.

V

Validation criterion
A validation criterion states the type and condition an input must satisfy, including its limits, permitted choices or custom formula test.
The end-date criterion required a date on or after the start date stored in the same record’s row.
Volatile function
A volatile function recalculates whenever the workbook recalculates, even when its inputs are unchanged; examples include RAND and NOW.
The simulation changed on recalculation because its formulas drew new random values from RAND().

W

Warning alert
A Warning alert is an Excel validation response that asks for confirmation but allows the user to keep an invalid entry by choosing Yes.
An unusually large order could be retained after confirmation because the rule permitted exceptions.
Watch entry
A watch entry is one selected cell in the Watch Window, identified by its workbook, sheet, address and optional name, with its value and formula.
Double-clicking the watched reconciliation entry took the reviewer directly to the check cell.
Watch Window
The Watch Window is an Excel panel listing chosen cells and their calculated values and formulas while you work elsewhere in the workbook.
The analyst watched the final result and check status while testing inputs on a different worksheet.
Workbook documentation
Workbook documentation records the purpose, owner, version, sources and assumptions so others can understand, review and maintain the model.
The opening sheet explained the price source and the date from which the current rate should apply.

#

#CALC!
The error #CALC! indicates a calculation-engine case Excel cannot handle, such as an empty FILTER result without an empty-result argument.
A filter with no matching records needed an if_empty argument to return a suitable message.
#DIV/0!
The error #DIV/0! means a calculation attempted division by zero, including an empty divisor or an average with no numeric observations.
The cost-per-kg formula failed because no mass had been entered in the cell used as its divisor.
#N/A
The error #N/A means a required value is unavailable; it commonly occurs when an exact-match lookup cannot find the requested key.
The lookup returned #N/A because the imported identifier contained an extra trailing space.
#NAME?
The error #NAME? means Excel does not recognize text in a formula, such as an undefined name, misspelled function or unquoted text.
Changing SUMM to SUM repaired the unrecognized function name in the monthly total formula.
#NULL!
The error #NULL! can mean that the space operator requested an intersection of ranges that have no cells in common.
The sum used a space between separate columns when a comma separating its arguments was intended.
#NUM!
The error #NUM! means a numeric calculation is invalid, too large to store or unable to find an answer through its search process.
The formula =SQRT(-9) returns #NUM! because a negative number has no real square root.
#REF!
The error #REF! means a reference is invalid, often because source cells were deleted or a requested lookup column is outside its range.
Deleting the source column left a broken reference in the formula that calculated the line amount.
#SPILL!
The error #SPILL! means an Excel formula cannot place its multi-cell result in the intended spill area, which may be blocked or unsuitable.
Moving a note out of the outlined output area allowed the array formula to fill all its result cells.
#VALUE!
The error #VALUE! means a formula received an unsuitable type of value, such as nonnumeric text where arithmetic needs a number.
A multiplication failed when the quantity cell contained "7 kg" instead of the numeric value 7.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started