15. Final Project: FreshGo Maharashtra Monthly Report
15.2 Stage 1 – Clean the Raw Export
Give every source order a documented outcome
The FreshGo report needs accurate totals, and the export contains three very different kinds of trouble. Padding and case obscure some matches. Two physical records are replays of orders already present. One recorded amount has never been supplied. A learner can fix the first, exclude the confirmed replays and hold the pending amount for a source decision. Those choices have different effects on a report, so give each one a separate reason instead of treating them all as bad rows.
Use the September project inputs. All observations are fictional. The starting worksheet should still have 15 rows, with SourceRow 1 through 15, two documented date arrangements and a pending amount text. Work on a separate sheet or query. The outcome is an approved order table for stage two, a review log for exceptions and a reconciliation any classmate can reproduce.
A cleanup rule should tell you what changed and why. Keep the raw cell, the resulting typed value and the source row reference when a decision affects a calculation or an exclusion.
Protect the meaning of the original fields
- One source row is a physical record. A normalized order ID is the business key in this course project. Use both to diagnose replays.
- Specified DMY or MDY is part of the date evidence. A cell's display style cannot establish which arrangement a source used.
- Known Amount is a numeric recorded amount that meets the accepted input convention. Pending is unresolved even when Qty × a reference price suggests a possible amount.
- Known Duration is an observed value. A blank duration does not show a fast delivery, and it need not disqualify a known sale.
- An approved city alias map changes the display label and establishes a consistent grouping. An unknown spelling can request review without losing the original.
Start a helper table and make type changes visible
Make a working copy of the raw data on a sheet named Review. On an editable range create a worksheet Table with headers and name it tblReview. Append helper columns instead of editing the copied 14 raw fields. If you choose the optional Power Query route later, the worksheet formulas are a comparison model rather than a second mandatory transformation. Keep the input labels as supplied, including the spaces in Order Date and Delivery Mins.
Normalize the order ID and map only approved cities
=UPPER(TRIM(SUBSTITUTE([@[Order ID]],UNICHAR(160)," ")))
Enter this in the Approved ID helper column. The innermost operation changes a nonbreaking space into an ordinary space when one is present. TRIM removes ordinary exterior spaces and condenses repeated ordinary interior spaces. UPPER standardizes approved key casing. This is appropriate for the BLK code scheme in our fixture, where spaces inside a code are not valid. For a different identifier system where spaces or letter case carry meaning, change the rule before reusing it. The canonical IDs of SourceRows 1 and 3 become BLK-9001.
Put the seven approved text mappings in an independent tblCityMap Table with Source Key and City columns. Use PUNE, NASHIK, NAGPUR, KOLHAPUR, SOLAPUR, SAMBHAJI NAGAR, and AURANGABAD. Use the six city names from Targets as the output values, with the last two keys both mapping to Sambhaji Nagar. Exact matching on the normalized input picks a mapping rule you can name. A different input such as Puen does not enter a Pune report until someone approves it.
=XLOOKUP(UPPER(TRIM([@City])),tblCityMap[Source Key],tblCityMap[City],"Review city",0)
Use the formula in Approved City. If XLOOKUP is unavailable, match the normalized key against the two-column map with an exact lookup supported by your app, or compare it manually for each synthetic row. Do not treat an unsupported function and a missing mapping as the same condition. Write down which implementation you used and confirm seven distinct keys map to six approved cities.
Parse dates based on the source's declared arrangement
Try SourceRow 1 and 2 independently before filling a helper column. For the first: the two left digits are day 14, the two middle digits are month 09 and the four right digits are year 2026. The second has month 09 on the left and day 14 in the middle. Both produce the same date. Formatting two different stored values to a similar looking style would not prove their equivalence, so compare year, month and day after conversion.
One worksheet route uses columns called Year Part, Month Part, Day Part and Shape OK. They make the parsing steps inspectable before constructing the approved date. Here the small exercise expects four digit year 2026 and exactly the two documented input patterns. The double minus converts digit text to a number where possible. A zero or FALSE on an incompatible row is a signal for the later guard.
Year Part: =IFERROR(--RIGHT([@[Order Date]],4),0)
Month Part: =IFERROR(--IF([@[Date Order]]="DMY",MID([@[Order Date]],4,2),LEFT([@[Order Date]],2)),0)
Day Part: =IFERROR(--IF([@[Date Order]]="DMY",LEFT([@[Order Date]],2),MID([@[Order Date]],4,2)),0)
Shape OK: =AND(LEN([@[Order Date]])=10,
OR(AND([@[Date Order]]="DMY",MID([@[Order Date]],3,1)="-",MID([@[Order Date]],6,1)="-"),
AND([@[Date Order]]="MDY",MID([@[Order Date]],3,1)="/",MID([@[Order Date]],6,1)="/")))
Enter each formula after the colon in the corresponding helper column. To construct the date, create Date Candidate, then Approved Date. DATE can roll some incorrect month or day values forward rather than raising an error. Check reconstructed components against the parsed components. A strict production parser should also enforce the full expected input shape and acceptable years and handle all declared formats. The worksheet route below is scoped to the supplied digit-pattern fixture and its invalid-calendar examples, with a human comparison of source text.
Date Candidate: =IFERROR(DATE([@[Year Part]],[@[Month Part]],[@[Day Part]]),0)
Approved Date: =IF(AND([@[Shape OK]],[@[Year Part]]=2026,
YEAR([@[Date Candidate]])=[@[Year Part]],
MONTH([@[Date Candidate]])=[@[Month Part]],
DAY([@[Date Candidate]])=[@[Day Part]]),
[@[Date Candidate]],"Review date")
Apply a date display format to Approved Date for the accepted cells. The displayed order can follow your local preferences because the output stores dates. On a scratch row, set DMY and 31-09-2026. The candidate can roll to 1 October, but Approved Date must show Review date because the day and month do not match the input parts. If you are working without worksheet formulas, follow the same evidence manually or use the explicit-format query route below.
Use a known amount convention and isolate pending values
For this exercise remove the approved leading Rs. token, leave the rest as the amount candidate and parse comma-grouping under the accepted amount convention. Inspect forms like 1,299, 120 and Rs. 450. In a different source, comma could be the decimal separator. Letter fragments that happen to resemble a currency label should not be removed globally. Limit the conversion to confirmed forms using the original text as evidence.
Amount Candidate: =IF(LEFT(TRIM([@Amount]),3)="Rs.",TRIM(MID(TRIM([@Amount]),4,99)),TRIM([@Amount]))
Approved Amount: =IF([@[Amount Candidate]]="","Review amount",
IFERROR(NUMBERVALUE([@[Amount Candidate]],".",","),"Review amount"))
On this fixture SourceRow 1 returns number 450, SourceRow 2 returns 1299 and SourceRow 15 says Review amount. Guard empty text before conversion, because NUMBERVALUE of an empty string returns zero. This helper models the known fixture forms. For a new feed validate inputs before relying on the parser alone. NUMBERVALUE can accept percent text and ignore some separator or space characters. In this project those unapproved forms would need review, even if a number could be returned.
Keep empty measurements distinguishable from zero
=IF([@[Delivery Mins]]="","",
IF(ISNUMBER([@[Delivery Mins]]),
IF([@[Delivery Mins]]>=0,[@[Delivery Mins]],"Review duration"),
"Review duration"))
Use this in Approved Mins. Test row 2 or 12. The helper returns an empty string display so the missing value remains unknown during review. A typed number 12 remains measurable. A text pending in a new duration cell requests review, rather than pretending to be missing in the raw input. When creating the final clean Table with pasted or imported values, verify both missing numeric cells remain either truly empty or unmistakably excluded by the timing measure. A formula-produced empty string and a truly blank cell do not act the same under every counting function. Stage three defines timing with explicit numeric eligibility.
Define Approved Status with =PROPER(TRIM([@Status])) for the three recognized result labels Delivered, Cancelled and Returned. Confirm all three before use. The formula changes case; a new field value such as Undelivered still needs status review. Do not let an approximate status test match Delivered as a substring inside another value.
Follow one batch from raw text through approval
Preserve the raw attributes
SourceRow 1 uses mixed case, outer spaces and a currency token. Record the unchanged raw values and use helper columns to construct a clean candidate.
Compare the canonical order against a repeated key
SourceRow 3 has the same canonical ID. Compare parsed date, approved city, amount and all other relevant order attributes, not just the ID. Both records describe the same ₹450 delivered order.
Pick and record a disposition
Retain SourceRow 1 as the earlier approved record. Mark SourceRow 3 as a verified replay of it. A later same-key record with a changed amount would need review instead.
Reconcile the consequences
Two raw rows contribute ₹900 of known input. One approved order contributes ₹450, and one replay contributes ₹450 to the excluded ledger. No purchase or rupee disappears without an explanation.
Decide which rows are approved, replayed or held
Raise the flag before removing anything
Use =COUNTIF(tblReview[Approved ID],[@[Approved ID]]) to see repeat keys in the helper table. Counts greater than one surface a set to inspect. Filter to BLK-9001 and BLK-9005. For each, compare approved date, city, area, store, product, quantity, typed amount, timing, recognized status and any relevant source evidence. Formatting-only differences do not change the order meaning here. When all values agree, keep the lower SourceRow because the exercise uses it as the earlier intake. Record the retained record in the review log.
When a repeated key has a business-field conflict, hold the affected candidates until a verified source decision resolves the conflict. A later row might correct the first one. It might be a separate item line under a changed grain, or a data joining problem. A sort order or a Remove Duplicates button cannot choose between those possibilities. Practice preserving both records for an analyst to inspect before finalizing the approval population.
Test the decision order in a future batch
A good repeatable review starts with a stage that checks the shape of the file. Today Date Order exists and the code list explicitly accepts DMY and MDY. Tomorrow the import might rename the column to Format or remove it for a source that sends numbers as already-typed dates. A formula with a broken header should show a problem. A successful-looking query that silently drops the missing field needs the same attention. Identify required inputs, verify their headers and type, and establish a stop or review condition before passing rows to the order rules.
Inside a compatible batch the rules also have an order. Confirm that each raw row is traceable, normalize fields by the current approved map, produce type candidates, and screen for repeated keys and invalid values. A repeat group with amounts still unresolved cannot be established as a confirmed replay simply by comparing two identical Review amount labels. That label says the parser lacks reliable output. It is not proof that the real amounts match. Retain the source evidence, record the unresolved reason and ask which rows and values the owner confirms.
- Check every approved amount is numeric and falls inside the active business contract. For this fixture values are nonnegative and represented in the documented amount patterns. Accepting a value because it parsed does not check whether the business would allow it.
- Make sure approved quantity is a positive whole number and store code and product can be identified from the directory. If a valid key later returns a surprising label, review source consistency rather than rewriting a transactional field from a convenient lookup.
- Decide how to handle a missing duration versus an invalid duration value. The baseline has only the known blanks and valid numbers. An invalid future value needs a separate reason and a measurement eligibility decision.
- Record how a source update gets approved. Reconsider all affected records from a conflicted order group and update the scope note. A new money value can affect both counts and amounts if it releases a held order.
Use precise reasons for the original three exclusions
- SourceRow 3, BLK-9001, has the same canonical purchase evidence as SourceRow 1. Status is Replay and the original value ₹450 stays in the known excluded ledger.
- SourceRow 14, BLK-9005, agrees with SourceRow 6 after standardization. Status is Replay and ₹340 stays in the excluded ledger.
- SourceRow 15, BLK-9013, cannot provide a reviewed recorded amount. Status is Hold. Its reason is unresolved amount and no numerical value is assumed.
All other original rows are approved, including two Delivered rows without timing. The exception log should record SourceRow, normalized ID, disposition, reason and the authoritative matching row when relevant. It is safer to include a “would affect” note for an unresolved issue than to make the reviewer infer which dashboard card is at risk. The raw owner can identify the affected transaction without a contact placeholder in the note.
Produce the approved Orders table and prove the transition
Build Orders from rows marked Approved. If your source range is already an Excel Table loaded by a query, use and rename that Table to tblOrders. If using manual copy, filter the Review sheet to Approved and verify your method copies only the intended visible records. A simple way on this tiny fixture is to enter the approved SourceRow list next to the output and compare all selected IDs against it. Create a Table once on the clean range, using the headers you intend to keep. Confirm it has 12 data rows after any filter is cleared.
Choose the output headers before making lookups
Use SourceRow, Order ID, Order Date, City, Area, Store ID, Product, Qty, Amount, Delivery Mins, Status in that order. For Order ID, Order Date, City, Amount, Delivery Mins and Status, take the reviewed values. Copy the verified Area, Store ID, Product and Qty alongside them. Keep numeric amounts and date values in their own types; trailing or blank-string placeholders should never become zero when they are copied. The dashboard does not need raw Customer or Phone. Preserve both only in the local synthetic intake if needed to reproduce the reviewed evidence.
- Check that the set of retained SourceRows is 1, 2, 4 through 13 inclusive. SourceRows 3 and 14 are replays and 15 remains held.
- Verify the 12 approved rows represent 12 unique order IDs. Confirm well-formed source examples such as BLK-9009 still appear when the original status text used lower case.
- Check the output uses genuine dates. The approved dates start 12 September and end 16 September, while both SourceRows 1 and 2 display 14 September under the same chosen format.
- Set Amount to a suitable rupee format as a display choice after checking that each approved amount is numeric, including 1299 and 1040. Compare the count of numeric Amount cells with the count of approved rows.
- Confirm all six city names and only those six are present. Verify SN01 and SN02 appear under the approved Sambhaji Nagar label even though the raw inputs used two city labels there.
- Check Delivery Mins for the two known missing durations: IDs BLK-9002 and BLK-9011. The primary table will later support a separate measurement count even though those rows stay in delivered sales.
Record the output Table's ownership before you move to the next stage. A manual Table can accept a reviewed scratch row after you check it, but a query-loaded Table is refreshed from its defining steps. If your coworker types a correction into a loaded result, a later refresh can replace the scratch edit. Correct the upstream input through the proper review, or maintain an explicit decisions table that the query reads. Rerun the exact source-row checks after the next refresh so the live record and its documented reason stay together.
Make the row and known-money checks independent
It is possible to pass the row count and fail the value check. The wrong ₹340 approved purchase might be replaced by a valid ₹450 purchase, keeping the count while increasing the amount by ₹110. You can also pass the money check and fail the row or ID check if two same-valued entries are interchanged. That is why the final cleanup proves the intake rows, per-disposition counts, per-disposition known amounts and one stable key check.
On a Checks sheet calculate the counts with COUNTIF on the Disposition column and a separate count of physical SourceRows in the Review table. Run SUM over the numeric Amount column in Orders. Calculate known amounts in the replay group via SUMIF on Disposition and Approved Amount in Review. A text value like Review amount is ignored by a numeric sum, which is useful only when a separate unresolved count is visible. Pair a zero difference with that count so a reviewer never mistakes silently omitted text for known zero money.
- Rows. The rule is 15 observed = 12 approved + two replays + one hold. Count any missing or unexpected decision label as a review issue, not a fourth silent exclusion.
- Known amount. The known intake ₹5,969 equals ₹5,179 approved plus ₹790 replay. That equality is not an assertion about the unknown pending amount.
- Status controls. Ten Delivered orders sum to ₹4,699, the single Cancelled amount is ₹240, and the single Returned amount is ₹240. Add the three groups back to the approved ₹5,179.
- Missing duration. Two Delivered rows have no recorded duration. The eight measured Delivered orders remain separate from cancellation and returns, even when those other statuses have numeric durations.
Write three controls that react to different faults
=COUNT(tblReview[SourceRow])
=COUNT(tblReview[Approved Amount])
=SUM(tblReview[Approved Amount])-SUM(tblOrders[Amount])-SUMIF(tblReview[Disposition],"Replay",tblReview[Approved Amount])
For the baseline these return 15, 14 and 0. The first counts physical trace values, the second counts numeric candidates including replay copies, and the third evaluates the known amount residual for the baseline where the only held row is unknown. In Lab 2 the same residual is nonzero unless you subtract known held amounts as well. You can implement that next version by adding a second SUMIF for Hold. Always retain an unresolved amount count separately. A comparison should state what a nonzero or an unexpected result means before it appears on a dashboard.
A useful debug version also checks totals by record. Sort comparison results by SourceRow in a scratch sheet, and match each approved key back to the one selected input. If a summary of missing durations says two, inspect the IDs of those two and whether the clean duration fields are blank or numeric zeros. A case where the missing-row count stays two but the missing keys change is a data issue, even though the headline count is unchanged. Following identifiers through the pipeline gives you a narrower repair than replacing the summary.
Find an explanation before correcting arithmetic. If approved amount is higher by exactly ₹790 and 14 rows were approved, both confirmed replays may have been left inside the report. Confirm the membership by SourceRow. If the row count is 13 and the known amount still equals ₹5,179, check whether the pending row has been assigned 0 or a formula-produced blank. Both conditions can hide inside a valid displayed currency total.
Optional route · Apply the same rules in Power Query
Use a compatible Excel build with the Power Query features required for your input. Choose Data and the From Table/Range command on an input Table or import the tab-delimited source with a supported connector. Keep that input separate from the cleaned output. In the editor, preserve unconverted column types for raw dates and amounts before adding derived columns. Automatic type detection can infer one pattern across mixed source values, so check the actual Applied Steps after loading the first preview.
Add columns the student can trace
Preserve SourceRow as a whole number, retain raw text and add a custom column for clean dates. In the Custom Column formula field, use the expression below after naming the column Approved Date. This uses the exact field names in the practice table and explicit formats for both arrangements. Before publishing, type the resulting column Date and keep any null record visible in a review output.
try (
if [Date Order] = "DMY" then
Date.FromText([Order Date], [Format="dd-MM-yyyy", Culture="en-IN"])
else if [Date Order] = "MDY" then
Date.FromText([Order Date], [Format="MM/dd/yyyy", Culture="en-US"])
else null
) otherwise null
A null Approved Date is a signal for review. It is not a date of zero or a missing record to skip. Keep the original string and Date Order flag next to it while diagnosing. With mixed layouts a single Change Type using Locale operation over the entire column may not express the row-level rule. Explicit per-row parsing is one way to respect the stated arrangement. For the accepted Amount values, follow the same agreed token and separator rule, and verify at least one amount with a group comma. Retain an error or null flag on the unresolved text rather than treating errors as data to delete.
Group compatible records without losing the review trail
A repeat key check can group by Approved ID and inspect the member rows. Compare their canonical order attributes within each group. Where all members match, explicitly identify the minimum SourceRow within that verified group as the one to approve. Mark the remaining group records as Replay. Handle conflicts separately with review evidence. Do not depend on the order in which a downstream query happens to retain a row. Power Query documents that general duplicate removal need not preserve a particular record, and some optimizations can affect assumptions based on sorting alone. Selecting by a named field after verifying equality makes the policy inspectable.
For a small class project another legitimate route is to prepare a local reviewed-disposition Table keyed to SourceRow, then match that table to the typed query result. For every published input row there should be one matching approved disposition. Confirm every unresolved or multiply matched record is held out until reviewed. Appending a changed input without refreshing the decisions requires a fresh check. If new rows have no disposition, expose them in the review output instead of treating blanks as approvals.
Load approved records and maintain a review output
Separate the filtered approved projection and the review projection. Load the approved one as a worksheet Table named tblOrders with the required columns. Keep held and replay records in a separate worksheet or trace table where you can explain source IDs and known amounts. Validate the loaded result directly, especially at least one affected order and total. A Query Editor preview is useful visual feedback and an appropriate place to diagnose transformations. The downstream report reads the loaded data or the defined model source, so check whichever output your PivotTables actually use.
Lab 1 · Produce the September control ledger
Prerequisites. Start from the five project inputs and verified raw capture. Use an editable local copy. Choose the worksheet helper route above or the compatible query route. Have a Scratch Checks sheet and raw Order Date strings still available before you begin.
- Create Approved ID, Approved City, Approved Date, Approved Amount, Approved Mins and Approved Status. Use the intermediate columns needed to manage types. Test SourceRow 1 and SourceRow 2 before filling every row.
- Compare the source and derived values side by side. Expect SourceRow 1 to show BLK-9001, Pune, 14 September, 450 and 11 minutes. Expect SourceRow 2 to show BLK-9002, Sambhaji Nagar, 14 September, 1299 and unknown timing.
- Trace the two repeat keys. Mark SourceRow 3 Replay of 1 and SourceRow 14 Replay of 6, keeping the evidence for both interpretations. Mark SourceRow 15 Hold for unresolved recorded amount.
- Build the clean Orders Table, choose the correct data types and reject any accidental non-approved rows. Confirm 12 rows and order keys, six cities, ₹5,179 amount and precisely two missing Delivered durations.
- Reconcile known raw 5,969 = approved 5,179 + replay 790. Show one pending amount explicitly. Then show the independent breakdown of status counts and amounts. Keep both outputs within the displayed sample date range.
- Highlight one representative source-to-approved trace with SourceRow, original text, parsed date, city, amount and disposition. Add a second exception trace so a classmate can judge the review behavior rather than only a successful parse.
Expected result. The observed input and published report each match their intended controls, with every exclusion mapped to a reason. An invalid value cannot silently become an eligible zero or a new group. The approved Table is ready for lookups in stage two.
Troubleshoot. If 14 orders appear, inspect replay comparison and final filter/copy. If all dates look correct but the count differs, compare the two mixed input styles and check that no content was silently converted before extraction. If the report groups Aurangabad separately, trace the mapping input and city column actually being published. Compare both exact labels and counts.
Finish. Save the transformed local copy and the original intake separately. Keep the known totals, unresolved amount count and exception notes together. Remove only temporary visual aids you no longer need.
Lab 2 · Test a conflicting repeat key and a calendar error
Prerequisites. Use an isolated copy of the reviewed exercise. Keep the original numbers visible in a comparison sheet, including 12 approved rows and ₹5,179 approved amount. This is an intentional diagnostic variation and will not become the source for later stages.
- In the raw copy only, replace SourceRow 3's known recorded amount with
Rs. 500while keeping the same BLK-9001 business key. Publish neither repeat candidate until the conflict is independently resolved. Observe how the original known order and its candidate exchange a replay decision for a held pair. - In SourceRow 4, replace 12-09-2026 with
31-09-2026under DMY. Mark the row Hold when checking the candidate against year, month and day, or confirm explicit parsing places it in review. Keep its known ₹120 amount in the held-known count. - Write the updated intake outcome. The 15 physical rows split into 10 approved, one replay and four held. The holds are SourceRows 1 and 3 with conflicting amounts, row 4 with an invalid date and row 15 with unresolved money.
- Compute the revised known intake ₹6,019 because the replay copy of ₹450 became a conflicting recorded amount of ₹500. Remove the former published ₹450 and ₹120 from approved. It becomes ₹4,609. The remaining replay amount is ₹340. Known holds total ₹1,070 from 450 + 500 + 120, with one additional unknown amount. Verify 4,609 + 340 + 1,070 = 6,019.
- Write one source question for each of the two new issues. The order conflict asks which amount is authoritative. The date error asks for the correct business date, not permission to use the candidate's rollover date.
- Before going on, reopen or restore the untouched baseline copy and check the original 12 approved and ₹5,179 controls. The scratch outcome is useful documented evidence of error handling and must remain labeled as diagnostic.
Expected result. The repeat-key condition alone cannot misclassify the ₹500 as a confirmed replay, and the invalid date cannot quietly enter as October. Both issues appear in the ledger with their different causes.
Troubleshoot. If the report keeps one conflicting BLK-9001 simply because it appears earlier, review the equality decision before applying minimum SourceRow. If the invalid date appears as 1 October, compare output components to parsed day and month. If the known total fails to balance, include the held known values and list the unknown separately.
Finish. Keep diagnostic outcomes only if marked scratch. Do not load this conflicting batch into the published practice workbook or later stages.
Practice · Explain a failed input check
Before revealing the feedback, choose one mismatch below and write the hypothesis you would test first. Use the original SourceRow information when explaining it. A good investigation can be repeated even by a classmate who used a different cleaning tool.
The known money is right but an extra order was approved. What might explain it?
A pending amount could have been silently converted to zero or left blank while its row entered the approved population. Check BLK-9013 membership and confirm approved amounts are numeric and known.
The second date became a locale error. Which two fields help you diagnose it?
Use the preserved date string and its Date Order value. SourceRow 2 is 09/14/2026 under MDY. Verify the case for that explicit layout rather than guessing from computer settings.
The raw business key is duplicated. Which comparison comes before picking an original?
Compare the canonical order attributes. Retain the minimum SourceRow only for a verified identical replay group. Conflicting candidates require a traceable review decision.
A repeat value has a different city alias but the same approved city. Can it be a replay?
Yes, if the alias is explicitly verified and all other relevant attributes agree. Preserve the raw city evidence and the approved mapping for review.
Quiz · Choose a cleanup action you can justify
1. Which date arrangement applies to SourceRow 2? A. DMY. B. MDY. C. The desktop locale regardless of the input tag.
B. The source explicitly says MDY and the text is 09/14/2026. The tagged layout is the evidence used in the course.
2. The pending amount should be A. Replaced with zero. B. Filled from reference price. C. Held with its original text.
C. The source recorded amount remains unknown. The review status stops it entering approved sums without inventing a value.
3. Which best identifies a confirmed replay? A. Key and canonical order evidence agree. B. The row is below another. C. The amount is the same as one other order.
A. Matching a key is an investigation trigger. Confirm the relevant values describe the same purchase before excluding a physical record.
4. What is the target known-money reconciliation? A. ₹4,699 + ₹790 = ₹5,969. B. ₹5,179 + ₹790 = ₹5,969. C. ₹5,179 alone is known intake.
B. The approved part covers all statuses. The known replay amounts belong to the raw ledger and are excluded from approved amount.
5. Why compare DATE output to input components? A. DATE might roll an invalid day forward. B. A valid date cannot be stored in Excel. C. Check visual alignment only.
A. The result may look like a normal calendar date while coming from an invalid combination. The round-trip comparison detects the mismatch.
6. Which delivery rows stay in approved sales? A. Only measured ones. B. The two missing-time rows with known approved values as well. C. Every row marked Delivered in raw data, including holds.
B. Known commercial evidence is independent of the duration field. Held rows are outside the approved population regardless of status text.
Interview practice
- What made your process auditable?
- I retained source rows and original values, added typed candidates beside them, and marked approved, replay or held with a reason. Reviewers can reproduce the row and known-money ledger independently.
- How did you deal with mixed dates?
- I kept the raw strings, used the source's DMY or MDY tag and validated calendar components. Rows with unapproved or unparseable values remain visible for review.
- How would you keep a replay rule from deleting legitimate order lines?
- I would establish the intended grain first, then compare relevant canonical fields within repeated keys. For line data I would distinguish an order key from the row or line key before choosing exclusions.
- When should one result use a separate missing-value count?
- When the sum or rate can ignore values that are meaningful gaps. My report paired a known amount total with unresolved count and paired timed performance with coverage.
- How did you test cleanup rules beyond the ordinary cases?
- I used a scratch amount conflict and an impossible date. Both had clear expected review outcomes and I verified the revised row and money totals before returning to the baseline.
- Which decisions belong outside automated parsing?
- A parser can produce candidates and errors. A new city alias, an unclear date arrangement or an amount conflict needs source evidence before the business decision becomes part of the published data.
Revision cards
- Preserve. Keep unchanged raw values and SourceRow before calculating typed results.
- Parse. Use explicit source arrangement and check the extracted day, month and year after constructing a date.
- Classify. Comparisons use reviewed canonical attributes. An unknown alias remains visible for review.
- Retain. Use earlier SourceRow only inside confirmed replay groups, not when order attributes disagree.
- Reconcile. Explain row counts and known amount before using the approved table for new calculations.
- Measure. An unknown duration stays unknown while the approved delivered order can still contribute to recorded amount.
Official sources
Continue practising: explore the existing Excel Task Hub for additional exercises.