Ravindra BagaleCourses & study guides मराठी Track your progress

5. Data Cleaning A–Z

Excel

5.16 Error Values in Data

Investigate error values without losing the underlying records

Imagine joining a city operations team that tracks orders and sales. The Pune report shows 412 orders and ₹131,840. Nashik reports no orders. Another store reports 25 orders, but the sales lookup shows #N/A. A dashboard still needs to tell the team what is known. Treating every unavailable value as zero can turn a simple source problem into a wrong average.

This lesson uses fictional store data in a workflow inspired by delivery services like Blinkit and Amazon Now. The record IDs, sales figures and source checks are synthetic. You will learn to identify typed Excel errors, distinguish them from pasted strings, trace the calculation that produced one, and create a known-data report with its coverage visible.

  • Identify the cell's real value. Check whether it contains an Excel error, a literal string, a measurement, or an empty cell.
  • Find the earliest failing input. A second formula can repeat an error from a source cell, so inspect the chain before changing the presentation.
  • Record the reason and the next action. Distinguish a confirmed no-order case from a missing master key or an unexpected formula problem.
  • Pair both parts of a ratio. Use sales and order counts from the same included group. Show how much of the intended group is still on hold.

Work out what the cell holds

Excel can display an error value such as #N/A. A formula like =NA() deliberately creates that error. A file can also contain the literal characters #N/A stored as text. These two cells can look the same. An error can propagate into a formula that uses it. Text follows different calculation rules, such as when SUM ignores text stored in a referenced range.

NA() produces an actual #N/A error and ISERROR returns true. A leading-apostrophe literal #N/A displays the same characters but ISERROR returns false.
Inspect two cells that display #N/A and confirm that their value types differ.

Use type checks beside the source

  • ISERROR. Use it to look for actual Excel errors in a referenced cell. A text string with the same characters is a different case.
  • ISNA. Use it for the specific Excel #N/A value. It does not establish which formula or input caused the error.
  • ISNUMBER. Use it to identify numeric measurements for an amount or count check. It returns true for a real zero. A string such as "0" stored as text needs interpretation under the source definition.
  • ISBLANK. Use it to test an empty cell. A cell holding a formula that returns empty text can look blank while containing a formula.
  • Formula bar and recorded source. Inspect the exact cell and formula. If a date or large number shows a row of hash marks, widen the column and check the date or time and display format. The characters shown in the grid may be a display issue rather than a calculation error.

Read the source reason separately from the indicator

Common signals and checks
SignalQuestionCheck first
#DIV/0!Did the formula divide by zero or an empty denominator?Check whether an observed zero and an absent count need different actions.
#N/AIs the required item missing, or did an existing source value carry #N/A?Inspect the exact lookup key, master range and matched result cell.
#VALUE!Did a formula receive a value of the wrong type for the operation?Inspect individual arguments and check whether an input is text, a valid number or an upstream error.
#REF!Is a cell or range reference now invalid?Inspect the formula for a deleted or shifted reference before changing any fallback.
#NAME?Is a function name, range name or other formula token unrecognised?Check spelling, defined names, quotation marks and function availability.
#NUM!Did the input or calculation go outside what the function can represent?Check documented argument limits and value units.
#SPILL!Can a multi-result formula place its values in the intended cells?On a supported edition, inspect the indicated output range for blocking cells or a placement restriction.

These questions are starting points. For example, #N/A does not automatically mean a store is absent. A match may exist while its return cell holds an error. Inspect the lookup key and the actual master record before adding a new row or assigning the missing value to a different store.

What does =ISERROR(B2) establish by itself?

It tells you whether B2 contains an Excel error value. It does not tell you the original source reason or whether the row was meant to have a measured value.

Trace the error through one store report

  1. Read the reported rate

    BLK-XXX-99 shows #N/A in its average order value. Keep its 25 confirmed orders visible.

  2. Inspect the numerator

    The rate formula divides sales by orders. Sales already shows #N/A, so the rate is inheriting the uncertainty from the sales cell.

  3. Check the matching source record

    Search the verified sales master for the exact store ID. In this practice data that ID is absent. Document the absent key and request the relevant source entry.

  4. Publish the covered rate

    Calculate a rate from eligible stores with both sales and orders verified. Record the uncovered 25 orders separately until comparable sales are confirmed.

Lab 1 · Build a covered average order value from a mixed store report

Goal. Trace two different failures and report an average using the same covered orders in the numerator and denominator. Create sheets Store Review and SalesMaster in a scratch workbook. In Store Review A1:H1 put Store ID, Orders, Raw Sales, Raw AOV, Status, Report AOV, Eligible Orders and Eligible Sales. AOV means average order value. Enter the store IDs and order counts from the table. Use integers and avoid inserting currency symbols into numeric input.

Store Review inputs and raw results
Store IDOrdersRaw sales (₹)Raw AOV (₹)Expected status
BLK-PUN-01412131840320Ready
BLK-NSK-0100#DIV/0!No orders
BLK-XXX-9925#N/A#N/AReview #N/A
BLK-THN-018817600200Ready
  1. Build the master separately. On SalesMaster put Store ID and Sales in A1:B1. Put BLK-PUN-01 and 131840 in row 2, BLK-NSK-01 and 0 in row 3, and BLK-THN-01 and 17600 in row 4. The missing BLK-XXX-99 entry is intentional. Check that the store keys in the master are unique for this period.
  2. Look up raw sales. In C2 of Store Review use the XLOOKUP formula below on a supported edition. If XLOOKUP is unavailable, use =VLOOKUP(A2,SalesMaster!$A$2:$B$4,2,FALSE) for this exact two-column lookup. Fill through C5. Both formulas request an exact match for the controlled keys. An unmatched key should produce an actual #N/A rather than stored text.
  3. Build the deliberately unguarded diagnostic rate. In D2 use the division from the formula list. Copy down and confirm the two expected error types. Raw AOV retains the evidence for this exercise. Check the reference or input cited by each error.
  4. Add the reviewed status and report fields. In E2:H2 use the formulas below and fill down. E checks sales error type and expected numeric inputs before testing whether the order count is a valid denominator. A genuine zero order count with zero sales receives No orders. The worksheet keeps it separate from an unresolved store.
  5. Reconcile to the source scope. Store Review has 525 raw orders across four rows. The two eligible stores contribute 500 orders and 149,440 in eligible sales. The missing master's 25 known orders remain unresolved for this rate. The no-order store contributes zero orders and zero sales with its own status.
C2 =XLOOKUP(A2,SalesMaster!$A$2:$A$4,SalesMaster!$B$2:$B$4)
D2 =C2/B2
E2 =IF(ISNA(C2),"Review #N/A",IF(ISERROR(C2),"Sales formula error",IF(NOT(ISNUMBER(C2)),"Review sales input",IF(NOT(ISNUMBER(B2)),"Review order count",IF(OR(B2<0,MOD(B2,1)<>0),"Review order count",IF(B2=0,IF(C2=0,"No orders","Review sales with no orders"),"Ready"))))))
F2 =IF(E2="Ready",C2/B2,"")
G2 =IF(E2="Ready",B2,"")
H2 =IF(E2="Ready",C2,"")

Copy each formula starting with its leading equals sign into the named cell and use the argument separator required by your installation. E2 uses several nested tests. For a long-lived workbook you can split those tests across smaller labelled helper columns, so a reviewer can inspect sales condition and order condition independently.

Verified sales of 149,440 across 500 eligible orders give 298.88 per covered order. Another 25 known orders have unavailable sales.
The calculation keeps eligible sales and eligible orders aligned for a covered average.

Expected checks. =SUMPRODUCT(--ISERROR(C2:C5)) gives 1. The same test on D2:D5 gives 2. =COUNT(F2:F5) gives 2 calculated store rates. =IF(SUM(G2:G5)=0,"",SUM(H2:H5)/SUM(G2:G5)) gives 298.88 for the covered orders. AVERAGE on F2:F5 gives 260, which is the average of two store rates. The overall covered order rate weights stores by their eligible orders and answers a different question.

Recover and verify. If all sales produce #N/A, inspect the master range and check the IDs for unwanted whitespace or a period mismatch. If the reported rate is close to 284.65, check whether you divided known sales by all 525 orders. This uses an unmatched denominator. If the raw table shows a zero in place of #N/A, check for a fallback that replaced missing sales. Restore the fixture or close the scratch copy after the exercise.

Lab 2 · Compare real errors, text markers, zeros and empty cells

Goal. Label similar looking cell contents, then test what different totals include. Make a scratch sheet Type Tests with Case, Input and Type in A1:C1. Enter the seven inputs exactly as described. Values with an equals sign are formulas. For case T-02 use a leading apostrophe to force text entry in Excel. Leave the cell for T-04 physically empty.

Expected input classification
CaseEntryExpected type
T-01=NA()Actual #N/A
T-02'#N/AReview text
T-030Number
T-04Leave B5 emptyEmpty cell
T-05=""Empty text
T-06="abc"+1Other Excel error
T-07125Number
  1. Test the first two cells. =ISERROR(B2) returns TRUE for T-01. =ISERROR(B3) returns FALSE for T-02. Use =ISTEXT(B3) to check that the literal was stored as text.
  2. Classify the whole set. Paste the C2 formula from its equals sign into C2. Fill down through C8. Each row should show the type from the table. Compare the truly empty input with the empty text formula in the formula bar.
  3. Count at three levels. Seven fixture IDs are present in A. COUNT on B2:B8 gives two for the numbers 0 and 125. COUNTA gives six because it includes errors, text and the formula returning empty text. The formula combining SUMPRODUCT and ISERROR returns two because it counts actual errors.
  4. Test three summaries separately. The plain SUM of B2:B8 encounters a genuine error. The AGGREGATE sum with option 6 gives 125 from the two available numbers. Its corresponding average gives 62.5 because the counted numeric zero is included. Mark both as known-value summaries with two numeric inputs rather than complete results for seven records.
  5. Troubleshoot and reset. If the literal gives ISERROR TRUE, recreate it as text and verify your input. If the zero gives ISNUMBER FALSE, check whether it was entered into a Text-formatted cell or with a leading apostrophe. Remove any extra test modifications or restore the worksheet for the next exercise.
C2 =IF(ISERROR(B2),IF(ISNA(B2),"Actual #N/A","Other Excel error"),IF(ISBLANK(B2),"Empty cell",IF(ISNUMBER(B2),"Number",IF(B2="","Empty text","Review text"))))
Actual-error count =SUMPRODUCT(--ISERROR(B2:B8))
Known sum =AGGREGATE(9,6,B2:B8)
Known mean =AGGREGATE(1,6,B2:B8)

Function number 9 requests SUM and function number 1 requests AVERAGE. Option 6 asks AGGREGATE to ignore error values in this simple reference. It does not diagnose or correct those cells. A known typed zero remains a valid number and affects the mean. A displayed blank or fallback string requires its own status and count.

Find the earliest point where the value became unavailable

Count affected cells separately from affected records

In Store Review, one #N/A appears in the raw sales column. The same error appears again in the rate for the same store. The Nashik row produces a separate #DIV/0! in its rate. Counting the cells across C2:D5 gives three errors. Counting the affected store records gives two. If the report says there are three affected stores, someone may spend time searching for an extra nonexistent store. Name precisely which unit your count reports.

To identify the affected row once, place =OR(ISERROR(C2),ISERROR(D2)) in I2 and fill through I5. Expect FALSE for Pune, TRUE for Nashik, TRUE for the unknown store, and FALSE for Thane. =COUNTIF(I2:I5,TRUE) returns 2. A single row-level flag can link to multiple cases. Keep the sales diagnosis and the rate diagnosis available when deciding what each flag means.

Three useful counts from the same store fixture
UnitResultInterpretation
Typed error cells across Raw Sales and Raw AOV3One source error, one repeated error and one separate denominator error
Store rows with at least one typed error2Two store records need review of an error or a no-activity cause
Store rows with an unresolved sales source1The controlled missing store case needs action from the master owner

Inspect dependent formulas and their inputs

  1. Select one symptom. Start on D4 of Store Review. In the formula bar you should see =C4/B4. Read the two input addresses before adding a guard.
  2. Check the inputs individually. B4 is the numeric order count 25. C4 is already #N/A. This means the rate has a missing numerator under the current lookup. Fixing the denominator would not supply the missing sales.
  3. Trace one step upstream. C4 looks for the store ID in the sales master. Confirm that the key is compared to the key column, that the result column is valid and that both ranges represent the same reporting period.
  4. Inspect source identity. Find the raw key exactly and check the expected store, month, amount and unit with source evidence. A partial label or approximate ID can match the wrong store.
  5. Recalculate and compare. After the source is confirmed, record what changed. Check the input status, the dependent rate and all totals that used the earlier value.

On a supported desktop edition, a formula auditing tool can help draw references from cells that contribute to a formula. In Excel for Windows you can use the Evaluate Formula tool for a staged view. The direct manual method remains useful when you only have a few fields or an edition without the tool. Follow the referenced cells and stop where you first find missing evidence or a failed calculation.

Locate error-valued formulas without deleting cells

In a scratch workbook, select C2:D5. On an Excel edition where Go To Special shows the Formulas category, select it and keep only Errors selected among its result types. The controlled fixture has three formula result errors in that range. The tool selects matching cells for inspection. Leave the source values in place. You can log addresses, filter a helper status or take notes before deciding how to repair each case.

Go To Special can also select constant cells by stored type if your edition offers those category boxes. A pasted actual error constant can differ from pasted text containing a marker such as "#N/A". An error filter is therefore insufficient when a source system writes literal status strings. Lab 2 shows the separate test for those strings. Use a bounded range and the appropriate typed checks rather than relying on visual similarity.

Why can a single missing key create two worksheet error cells?

Sales receives #N/A in the lookup. The rate calculation uses that failed sales value and propagates the same error. Fixing the verified sales input can fix both results simultaneously.

Use a fallback that matches the business condition

Check the denominator directly when the rule is known

If the business says average order value is undefined when orders is zero, test for that condition before dividing. A zero denominator with zero sales can be a valid no-activity record. A zero denominator with nonzero sales may indicate timing, version or data scope mismatch. An absent or text denominator may indicate incomplete feed entry. Keep those conditions distinct while producing a clean display.

A formula that says =IFERROR(C2/B2,"No orders") applies the same text fallback to all errors it catches. In the practice sheet it would label both the no-activity row and the missing-sales row No orders. That second label would contradict the 25 known orders. A guarded formula can test numeric sales and order count and return a reason field. This preserves the decision a supervisor needs to make.

Choose how narrowly a lookup fallback should apply

IFNA supplies a fallback for the actual #N/A error. Other Excel failures such as #REF! remain visible. This can help when a missing result is an expected condition. However, IFNA cannot tell whether #N/A came from no match or was already stored in a matched return value. A label like "Review unavailable result" is a safer first response until the source check establishes the reason.

In editions with XLOOKUP, its optional if not found argument can provide a specific result when no match is found. Try =XLOOKUP(A4,SalesMaster!$A$2:$A$4,SalesMaster!$B$2:$B$4,"Key missing") in an unused test cell in Store Review. For the controlled missing ID that returns the string Key missing. Retain the original C4 formula as a raw comparison and keep the review status distinct. Confirm the master keys are unique and inspect a matching row's actual sales cell because a key match alone cannot make the sales current, complete or numeric.

Use IFERROR when a particular worksheet presentation needs a final message for multiple known error cases. Keep the underlying formula, typed error and diagnostic information accessible in a separate area. A workbook user should be able to recover the source reason without taking apart the entire report. If a fallback returns text, decide whether downstream formulas should ignore it, show a coverage gap or flag an unresolved measure.

Test bad source structure separately from a missing record

Try two independent scratch formulas. =IFNA(NA(),"Review missing value") displays Review missing value. =IFNA(1/0,"Review missing value") preserves #DIV/0! because that is a different error. Replacing IFNA with IFERROR in the second test would return the fallback. This comparison explains why narrow handling helps an analyst preserve unrelated execution problems.

For a broken-reference exercise, in a scratch sheet place 10 in A2 and =A2+5 in B2. Verify 15 and make a copy of the sheet. In the copy delete column A and inspect the remaining formula, now shifted left. Its reference to the deleted cell yields #REF!. Restore the column using Undo in that scratch copy. If you simply clear the source cell instead of deleting the referenced column, the reference still exists and the formula may calculate differently. This demonstrates how input contents and address validity can fail independently.

  • Expected absence. Show a clear label and keep an uncounted numeric candidate until real evidence arrives.
  • Invalid formula structure. Repair the calculation or reference and recheck its dependents.
  • Unverified master match. Confirm key, period and actual value. A visually similar label is not evidence of identity.
  • Valid measured zero. Retain the numeric zero when it is the documented outcome. It can affect denominators even if the amount adds nothing.
When does a fallback communicate the wrong reason?

When it converts several different errors into one diagnosis. In the fixture, No orders would be misleading for an unresolved store that already has 25 recorded orders.

Build the reader-facing table from confirmed values and explicit statuses

Keep number columns ready for calculations

The F, G and H report helpers use an empty text result when a row is outside the ready group. A sheet can show a dash in a separate display area and still keep machine-readable numeric measures with their status fields. Readers see why a result is absent. Summaries can count the exact intended rows. State whether the intended downstream use is calculation, export or simple display.

For measures in a range, SUM and AVERAGE can ignore text cells and true empty cells. COUNT counts numeric cells in the referenced range. COUNTA can also count an empty string because that cell contains a formula result. This is why you should choose an explicit row marker or status for the denominator of a completion chart. A visually empty cell need not be an empty record.

Option 6 in the AGGREGATE lab skips actual errors for that aggregation. It gives a known result but leaves the missing amount unresolved. A filtered or hidden row also needs a clear inclusion policy, because AGGREGATE offers distinct options for errors and hidden rows. Use a selected direct range and the documented option. Never infer your final sample size merely from a total that happens to evaluate.

Reconcile the known report as a source owner fixes the master

Make a second version of the scratch exercise where the missing store's sales are confirmed as ₹5,000 for the same period. Append BLK-XXX-99 and 5000 to SalesMaster row 5. Extend the lookup source through row 5 before filling the formula on Store Review. A value added beyond the fixed range is still unavailable to that original formula. A structured table can support a repeatable practice design, but always verify the query or formula actually includes the appended row.

With the verified record included, C4 now gives 5000 and D4 gives 200. Its E status becomes Ready. The raw sales error count becomes zero and the raw AOV error count becomes one because the no-order row remains without a defined raw rate. Three store rate rows qualify in F. Known eligible orders increase from 500 to 525 and known eligible sales increase from 149,440 to 154,440. The covered average order value becomes about ₹294.17 when shown to two decimals. The average of the three store rates gives ₹240, which still describes stores equally.

The improved coverage can reduce the reported average because the newly included orders are below the earlier average. A release note should distinguish a coverage change from a change in the previously reported stores. Keep the rule and exact previous counts so the new rate can be explained without inferring that an established store's sales decreased.

  1. Validate the new row. Check its exact store ID, period and amount. Confirm it is the unique approved sales entry for those orders.
  2. Verify the changed count. Check the formerly missing result, one remaining no-order calculation and the transition to 525 covered orders.
  3. Verify unaffected controls. Pune remains 320, Thane remains 200 and Nashik stays a confirmed zero-order row with no rate.
  4. Version the reported worksheet. Record the source date, verified value, old scope, new scope and remaining unresolved cases. Restore the practice fixture when done.
Why did the covered rate decrease even though known sales increased?

The new group added 25 orders with a rate of ₹200, below the earlier ₹298.88. The numerator and denominator both increased and their weighted ratio decreased. Record the expanded coverage.

Apply the review to three small changes

Work from saved copies of the two lab sheets. Each task changes one input or rule, so the expected result can prove what that change did. Restore the known fixture before experimenting with a second case.

  1. Prove a literal error marker behaves differently. In Type Tests replace the real #N/A from T-01 with literal text using a leading apostrophe. Check. The actual error count drops to one. Another numeric measure has not appeared. Count the two text markers explicitly if that is a separate requirement.
  2. Test an invalid denominator. In Store Review change the Nashik order count from zero to text Pending in a scratch copy. Check. The report flag requests a review of the order count. The previously confirmed no-activity status cannot be inferred from the new value. Restore the numeric zero after checking.
  3. Repair the master with actual evidence. Use the independently confirmed ₹5,000 case and add it to the source. Check. Verify that the upgraded range reaches the row and that the correct store and period are included. The known order denominator reaches 525.
  4. Test a missing sales marker that looks like zero. On a copy of Type Tests compare a blank, a formula returning empty text and a numeric zero when counted. Check. COUNT sees the numeric zero. A source row still exists in all three scenarios when its ID is present. A known-coverage measure needs that distinction.

For an optional dynamic array check on a supported edition, create a blank scratch area outside an Excel Table. Enter Block in A3. Put =SEQUENCE(3) in A2. In a supporting version, the result must place three numbers in A2:A4, so the text in A3 blocks the expansion and Excel can show #SPILL!. Remove or move the scratch obstruction and expect 1, 2 and 3. If the function is unsupported or a different placement restriction applies, use the main labs instead. This is a grid placement case, separate from unavailable sales data.

Find text placeholders without propagating real errors

A legacy reporting tool may send the text #N/A as a placeholder. The same Excel column can contain calculated errors after extra formulas have been added. You want to count the marker strings distinctly from actual Excel errors. A simple comparison against the marker can encounter a real error if it evaluates every row as though it were text. Test the input type first and compare text only in the suitable branch.

Match one documented literal marker

Return to B2:B8 of Type Tests and enter =IF(ISTEXT(B2),EXACT(B2,"#N/A"),FALSE) in D2. Fill down. ISTEXT tells Excel whether the current contents are text. If they are, EXACT checks the allowed marker with exact case. If they are a number, an actual error or an empty cell, return FALSE. Expect TRUE only on T-02, where you typed literal #N/A. The formula returning empty text passes the type check but does not match the marker. A directly typed or calculated Excel error remains separate in the original field.

Count matches with =COUNTIF(D2:D8,TRUE). The result is one. The lab had two typed errors and one literal source marker. The text audit and the typed error audit add up to three signals in this particular test, with no row counted twice by those two tests. A real workbook might have other markers such as Pending or Unavailable. List those explicitly if the source gives them defined meanings.

  • Probe a missing-value control. The true empty cell never matches the literal marker. It still represents a missing input under the definition of this task.
  • Probe a numeric control. Both 0 and 125 produce FALSE. Do not assign them a placeholder status.
  • Probe a case mismatch. In a scratch copy use the text #n/a. EXACT returns FALSE for the uppercase literal test. Set the actual match method from the source contract.
  • Probe an unexpected string. A note beginning with a hash may still be ordinary text. Flag defined whole values rather than assuming all hash-prefixed strings mean failure.

If an introductory practice task asks you to count strings starting with a hash, use its given text-only dataset and answer that precise question. On a mixed column, ordinary string formulas can meet a real Excel error. Add a type guard or prepare a separate subset when you apply the idea to your own feed.

Why do the literal and typed error counts use different tests?

The two values have different types. A guarded text comparison can identify the marker string. ISERROR identifies the Excel error value itself.

Review the master itself before relying on the lookup output

A master list often feels authoritative because it is the named source. Its key and measure can still need separate checks. A key may appear twice, a return amount can be empty, or the match could belong to an earlier period. Inspect the source values explicitly when saying what a report covers. The store demo uses one unique typed amount per listed store for the same period.

Add a readiness helper alongside the return column

On a scratch copy of SalesMaster, place =IF(ISERROR(B2),"Check source error",IF(ISNUMBER(B2),"Numeric sales","Missing or nonnumeric sales")) in C2 and copy through all master rows. It checks the source field without interpreting a missing entry as a real zero. Check uniqueness and period separately. In the initial scenario Pune, Nashik and Thane all show Numeric sales. That status includes the known Nashik zero.

Replace Thane's actual numeric amount with an empty master cell in the scratch copy. The status changes to Missing or nonnumeric sales. Add a separate lookup of that source status if it is needed on Store Review. The key is still present. The readiness change comes from missing sales, and the known orders alone do not justify retaining a measured rate. Restore 17,600 after your check.

When a source enables more than one record per key, learn its grain before choosing a lookup. If it records one row per store and month, a store ID alone may be insufficient. A single lookup returning one match will not automatically establish the correct accounting period. The lookup must match the required record, such as a unique combined store and period key confirmed by the feed owner. Check for multiple matches before treating one returned amount as a complete summary.

Send the owner a small, reproducible exception list

For each outstanding record provide the source sheet or export, store ID, reporting period, field, exact observed value or error, and the likely failed condition. Include one requested action. For BLK-XXX-99 the action is to confirm the sales amount and period in the master for its 25 orders. For a broken formula reference the action is to restore the intended input range and verify unaffected controls. These requests help the source owner recreate the problem.

Share the smallest necessary set of rows and avoid sending full unrelated exports. After the fix, log the previous and new amount coverage. If a report already went out with the known-data qualifier, take the same definition and reconcile the newly covered group before reissuing it. Keep the older output visible as an earlier version so its metrics can be explained later.

Check your understanding

1. What does =NA() generate?

A. A numeric zero. B. Literal text with two letters. C. An actual #N/A error.

Answer C. Excel's NA function returns a typed #N/A error, so ISERROR is TRUE. The same visible text can be intentionally stored as text and behave differently.

2. What does IFNA preserve in =IFNA(1/0,"Review")?

A. #DIV/0! B. The text Review. C. Zero.

Answer A. IFNA handles actual #N/A. Here the calculation fails because its denominator is zero.

3. Which orders belong in the initial covered rate denominator?

A. The 25 orders with missing sales. B. The 500 orders included in known eligible sales. C. All 525 regardless of sales coverage.

Answer B. The numerator and denominator must describe the same covered orders. The other 25 stay in the source coverage check.

4. Why can COUNTA see a result that looks empty?

A. It treats every cell in a range as occupied. B. It counts cells containing error values only. C. A formula that returns empty text still supplies a value that COUNTA counts.

Answer C. Compare a truly empty cell with a formula containing a pair of quotation marks. Their appearances can be similar and their contents differ.

5. What does an AGGREGATE sum with option 6 resolve in the lab?

A. It calculates a known sum from the remaining numeric values. B. It finds the missing actual sales. C. It changes the error cells to zero.

Answer A. The specified aggregate ignores error-valued entries. It leaves the source errors and reporting coverage to be handled separately.

6. Which result best captures one source error that produced two dependent errors?

A. Three separate data records are automatically wrong. B. There are repeated error cells and one underlying case to inspect. C. The row can be removed from its source.

Answer B. One error can propagate across several dependent cells. Count the affected records as well as the cells, then follow the input chain.

Interview questions with explained answers

When would you use both ISERROR and ISTEXT?

A pasted feed and a formula report can show identical #N/A markers with different types. I use ISERROR for typed Excel errors and a guarded text check for defined literal markers. I compare a known real error, literal and good numeric zero to test the classification.

How would you fix #N/A on an average order value?

I inspect both inputs to find where the error starts. If the sales lookup is already #N/A, I verify the key, range, period and source value. An expected missing key gets a clear review status and an omitted numeric rate until the sales evidence arrives.

What makes a known-value aggregation trustworthy?

I state its selection rule, count the included numeric values and provide each unresolved row's expected action. An aggregate that skips errors can support a partial total. I separately check whether that known amount actually covers the entire intended population.

Why might an average of store rates differ from overall average order value?

The first gives each store equal weight. A per-order result divides total eligible sales by total eligible orders. That gives larger store order groups proportionally more influence. I use the rate that matches the reporting question and align the numerator and denominator.

How do you prove a repair worked beyond clearing the visible error?

I compare the first failing input, the formula result and downstream summaries with expected values. For the new store record I verify that the range includes the correct period, that unresolved orders become covered, and that unaffected known stores still show their original rates.

Quick recall cards

  • See the actual type

    Literal text, Excel error, empty cell and zero can produce different results.

  • Trace the cause

    Follow the formula references until you find the first failing calculation or missing source.

  • Handle narrowly

    Use an expected denominator guard or a specific lookup fallback, and keep unexpected failures reviewable.

  • Pair the coverage

    Spend and count used in one ratio should cover the same eligible orders.

  • Check after refresh

    Verify new source rows fall inside the actual range, and test an unchanged result alongside the fix.

  • Known total

    Skipping an error helps compute a partial figure. Record its denominator and unresolved records.

The next lesson shapes repeated month columns into a single period column. Bring the same habits with you: preserve source IDs, distinguish missing values from measured zeros, and compare the coverage before and after reshaping.

Official Microsoft references

Continue practising: explore the existing Excel Task Hub for additional exercises.