
Step 1 of 8
Establish an Unchanged Source Copy
Create and verify an unchanged source copy before any sales-register cleaning begins.
Learning path · Level 4 · Tutorial 1
Clean a small sales register you create in Excel or LibreOffice Calc while retaining an unchanged source copy. Standardize text, repair supported numeric and date conversions, and resolve blanks and duplicates without inventing missing information or deleting legitimate records.
Establish an Unchanged Source Copy
Create and verify an unchanged source copy before any sales-register cleaning begins. 3 min
Normalize Spaces with a Helper Column
Normalize ordinary spaces in the Clean worksheet through a reviewable helper column, then commit only values while preserving the source copy. 4 min
Standardize Only Confirmed Category Aliases
Standardize confirmed category aliases in the working copy with narrowly scoped Find and Replace operations. 2 min
Convert Amounts Without Damaging Identifiers
Convert supported text amounts on Clean with explicit separator settings, while preserving text SaleIDs and the genuinely missing amount. 4 min
Interpret Dates Only When Evidence Supports It
Convert documented date text with an explicit DMY interpretation while retaining and flagging the ambiguous date token. 4 min
Resolve Blanks Without Inventing Data
Resolve evidence-supported blanks on the working copy, preserve unsupported blanks, and document both decisions clearly. 3 min
Remove Only a Confirmed Duplicate
Use complete-record evidence to remove only the one confirmed duplicate from Clean while preserving the unchanged source copy. 4 min
Audit and Save the Cleaned Register
Perform a final audit of the cleaned sales register, reconcile the retained records and known-amount subtotal, document unresolved exceptions, and save the local workbook. 4 min

Step 1 of 8
Create and verify an unchanged source copy before any sales-register cleaning begins.
Cleaning should never erase the record you received. In this workbook, Source is the unchanged source copy: it is both a recovery point and evidence of the original export. Make every later correction only in Clean.
Use Audit to record what changed and the evidence for each decision. Keeping these roles separate lets you compare the original record, the working copy, and the decision trail.

Keep the source copy unchanged; use Clean for work and Audit for evidence.
Tip
Save a local workbook first. In Excel, name it Sales_Register.xlsx; in LibreOffice Calc, name it Sales_Register.ods. Create worksheets named exactly Source, Clean, and Audit.
Do not begin cleaning while working only from the received values. First establish a verified baseline that can always be compared with the cleaned result.
On Source, select A1:D11 and format the range as Text before entering or pasting the fixture. In Excel, choose Home > Number Format > Text. In Calc, use Format Cells > Numbers > Text.
Then paste the complete tab-separated fixture below into A1. Text formatting preserves SaleIDs such as 00101, date tokens such as 13/04/2025, and amount tokens such as 1,250.50 exactly as received instead of letting the application interpret them.
Copy this complete tab-separated fixture and paste it into Source!A1 after formatting A1:D11 as Text.
SaleID SaleDate Category SalesAmount
00101 13/04/2025 Office supplies 1,250.50
00102 13/04/2025 Office supp. 25.00
00103 13/04/2025 Office supplies 18.00
00104 04/05/2025 Office supplies 15.50
00105 13/04/2025 32.00
00106 13/04/2025 office supplies 12.50
00107 04/05/2025 Accessories 20.00
00108 13/04/2025 Accessories
00109 13/04/2025 Accessories 8.50
00103 13/04/2025 Office supplies 18.00Tip
The Category field for 00101 deliberately contains two leading spaces, three spaces between the words, and two trailing spaces. Do not tidy it now. The Category cell for 00105 and the SalesAmount cell for 00108 are genuine blanks, so leave them empty.
At this stage, apparent inconsistencies are evidence to preserve—not problems to fix.
Before making a working copy, inspect the pasted range against the fixture. Confirm that Source has one header row and ten data records. Check that leading-zero SaleIDs remain text, raw date and amount tokens have not been converted, and genuine blanks are still blank.
Then copy Source!A1:D11 and paste it normally into Clean!A1. Immediately enter ReviewNote in Clean!E1. Initially, Clean!A1:D11 must be identical to Source!A1:D11; column E belongs only to the working copy and will hold review states later. Leave Source untouched from this point forward.
Use this short inspection list before you establish the baseline.
| Source row | Field | What to confirm |
|---|---|---|
| 2 | SaleID and Category | 00101 remains text; Category keeps its extra spaces |
| 6 | Category | The cell for 00105 is genuinely blank |
| 8 | SaleDate | 04/05/2025 remains a raw text token |
| 9 | SalesAmount | The cell for 00108 is genuinely blank |
| 11 | Record | The 00103 record and all its raw business fields are present |
On Audit, enter these headings in A1:D1: Source row, SaleID, Action, and Evidence.
Later, a source-row reference always means the original row number on the Source worksheet, even if rows in Clean change. Keep Audit as a concise decision trail; do not add notes to Source.
In your local workbook, state the preservation workflow as a numbered sequence from saving the workbook through preparing Clean and Audit. Then report the baseline relationship between Source and Clean.
Your report must include the initial record count, how SaleIDs and raw date/amount tokens are stored, and the purpose of Clean!E1.
Write at least 220 characters (0/220).

Step 2 of 8
Normalize ordinary spaces in the Clean worksheet through a reviewable helper column, then commit only values while preserving the source copy.
Work on the Clean worksheet only. Leave the source copy unchanged.
Column C is Category. Column F is the temporary helper column. In F1, enter Category_Clean.
A helper column lets you propose a correction beside the working value, compare both versions, and commit only an approved result. TRIM removes leading and trailing ordinary spaces and reduces repeated ordinary spaces between words to one. It does not change the source copy.

Compare the proposed helper result with the Clean value before committing it. The Source side remains untouched.
Warning
If unwanted spacing remains after TRIM, do not keep applying cleanup blindly. Some imported whitespace is not an ordinary space. Treat an unexplained residual character as something to review; this step does not repair it.
In the first data row of the helper column, enter the formula below. Then copy or fill it down through the remaining nine records in the helper column.
Compare the helper results with Category before changing column C. Check both a changed record and records that appear unchanged.
Enter in F2 on Clean, then fill down through F11.
=TRIM(C2)Office supplies
With the original Category value for SaleID 00101 in C2, F2 should display this result.
Use these checks to interpret what the helper column is doing. Do not standardize the values that TRIM leaves unchanged yet.
| SaleID | Category in Clean | Helper result | What to conclude |
|---|---|---|---|
| 00101 | Extra ordinary spaces | Office supplies | Spacing is normalized |
| 00103 | Office supplies | Office supplies | Already correct |
| 00102 | Office supp. | Office supp. | Abbreviation is unchanged |
| 00105 | Blank | Blank | No category is invented |
| 00106 | office supplies | office supplies | Capitalization is unchanged |
After the comparison is satisfactory, select F2:F11 and copy the helper results. Select C2:C11 in Clean, then use Paste Special — Values.
Do not use an ordinary paste. It would paste formulas into Category rather than the approved text results.
Click the committed Category cell for SaleID 00101. In Excel’s formula bar or Calc’s Input Line, it should show text, not a formula beginning with =.
Once this is true, delete the temporary helper column F. Do not delete or edit anything on Source. The Category values in Clean now contain the approved text results; the helper formulas are gone.
Warning
A regular formula paste can move a relative reference into the Category column and create an invalid self-reference. Paste Special — Values transfers the displayed result instead of the formula.
Complete the helper formula for the first data row. Then perform the workflow in your local workbook: fill the helper down, use Paste Special — Values to commit it to Category, and confirm locally that the cleaned category for SaleID 00101 is Office supplies. Confirm that its committed Category cell is text rather than a formula and that the original spaced text remains unchanged on Source.
=()
Step 3 of 8
Standardize confirmed category aliases in the working copy with narrowly scoped Find and Replace operations.
The approved category labels are Office supplies and Accessories. Standardize only when you have explicit evidence that a source label is an alias of one of those labels.
For this register, only two mappings are approved:
Do not replace fragments such as “Office” across the workbook. Leave already-approved labels unchanged. Leave the blank Category cell unchanged in this step; a blank is not evidence for a guessed label.
Use these decisions for the Category cells on Clean.
| Current Category value | Status | Action in this step |
|---|---|---|
| Office supplies | Approved label | Leave unchanged |
| Office supp. | Confirmed alias | Replace with Office supplies |
| office supplies | Confirmed alias | Replace with Office supplies |
| Accessories | Approved label | Leave unchanged |
| Blank | No category evidence here | Leave unchanged |

Select the Category data cells before replacing. SaleIDs and other fields are outside the selected range.
On Clean, select C2:C11 before opening Find and Replace. Process one mapping at a time.
Office supp. and replace it with Office supplies.office supplies and replace it with Office supplies.For both operations, match the entire cell contents. Use Match case deliberately: keep it on when finding the lowercase alias so the already-correct title-case label is protected. Preview the found cell before choosing Replace All, then confirm the replacement count.
In Excel, use Ctrl+H and expand Options as needed. In Calc, use Ctrl+H, restrict the search to the current selection, and keep Regular expressions off because these are literal labels.
Example
After each Replace All, the reported count should be 1. Then inspect C2:C11:
If the preview or count is unexpected, cancel or undo the operation and recheck the selected range and search options. A replacement count is a useful check, not permission to change extra cells.
Tip
Keep the operation literal and narrow. In Calc, regular-expression search can interpret characters as patterns; turn it off for these exact labels. In either application, “Replace All” is safe here only after you have confirmed the selected Category range, whole-cell matching, and the previewed hit.
You are about to standardize categories on Clean. Which procedure both makes the approved replacements and verifies that unrelated values are protected?

Step 4 of 8
Convert supported text amounts on Clean with explicit separator settings, while preserving text SaleIDs and the genuinely missing amount.
On Clean, the two columns have different jobs:
SaleID identifies a sale. Keep it as Text, including leading zeros such as 00101.SalesAmount must become a number so calculations can use it.A number-like display is not proof that a cell is numeric. Changing a number format changes appearance; it does not reliably convert text such as 1,250.50 into a value that SUM can calculate.
Make this conversion only on the working copy. Source remains unchanged.

Scope the conversion to SalesAmount only. A leading-zero SaleID cannot be safely restored just by changing its format.
Select only Clean!D2:D11. Do not include column A, and do not use the comma in 1,250.50 as a field delimiter.
Excel: Choose Data > Text to Columns. Use a preview with one column: deselect every delimiter, especially Comma. In the final step, choose General and open Advanced. Set decimal separator to . and thousands separator to ,, then finish.
LibreOffice Calc: Choose Data > Text to Columns. Ensure Comma is not selected as a separator and confirm a one-column preview. Select the previewed column, use Standard as its type, choose a compatible language such as English (USA), then apply.
In both applications, inspect the preview before accepting it. The tokens must remain whole amounts in one column.
Use these checks while the Text to Columns dialog is open.
| Application | Selected range | Preview and interpretation |
|---|---|---|
| Excel | Clean!D2:D11 | One column; no comma delimiter; General; decimal .; thousands , |
| Calc | Clean!D2:D11 | One column; comma separator off; Standard; English (USA) |
| Either application | Clean!A2:A11 | Do not select or convert this identifier column |
Warning
Do not convert a whole row or the entire worksheet “for convenience.” If 00101 is interpreted as a number, its meaningful leading zeros are lost. Also leave the genuinely empty amount cell empty: conversion cannot supply information that was not received.
After confirming that the amounts calculate correctly, type Known-amount subtotal (before duplicate removal) in Clean!G1. Enter the formula in G2; this location is outside the register and cannot overwrite the missing amount in D9.
Confirm the result, then delete the temporary check in G1:G2 before continuing to later cleaning steps. This is a pre-removal verification only. The final audit will create its separate post-removal subtotal check after the confirmed duplicate has been removed.
Enter this in Clean!G2 after converting the amounts.
=SUM(D2:D11)1400
With a two-decimal number display, the result reads 1,400.00. Report it as USD 1,400.00. The empty amount is ignored by SUM, so this is an incomplete known-amount subtotal.
After the temporary subtotal check, enter OK in Clean!E2:E5, E7, and E10:E11. These records have no unresolved field at this point. Leave E6, E8, and E9 unchanged for now; later steps make their evidence-based ReviewNote decisions.
Match each field condition with its safe treatment.
Tap an item and then its matching pair.
In your own workbook, complete the amount conversion and write a short verification note. State:
00101;00108.Include whether the subtotal represents complete sales.
Write at least 180 characters (0/180).

Step 5 of 8
Convert documented date text with an explicit DMY interpretation while retaining and flagging the ambiguous date token.
A raw date token is text such as 04/05/2025; a recognized spreadsheet date is a value the spreadsheet can sort and calculate with. Changing a cell’s display format does not prove which date order the original text meant.
Use evidence before conversion. The Oak Stationery export note confirms DMY (day/month/year) for every record except SaleID 00107. Therefore, the same-looking token can require different treatment in different records.

Treat a date token according to its documented provenance, not its appearance or the computer's locale.
The export note creates two decisions for the raw token 04/05/2025.
| SaleID | Source row | Evidence | Clean decision |
|---|---|---|---|
| 00104 | 5 | DMY confirmed | Convert to 2025-05-04 |
| 00107 | 8 | Date provenance unknown | Retain raw text; flag for review |
Convert only the documented date cells on Clean. Run the operation twice so the uncertain record is never included:
B2:B7. Use Text to Columns while keeping the preview as one column. In Excel, choose Delimited, clear every delimiter, then choose the Date column type and DMY. In Calc, use Data > Text to Columns, keep one preview column, select it, and choose Date (DMY).B9:B11 with the same setting.yyyy-mm-dd.Do not include B8 in either conversion. Its text must remain exactly as received.
Example
After conversion, check that the documented 04/05/2025 for SaleID 00104 displays as 2025-05-04. This confirms the DMY interpretation was applied.
For SaleID 00107, leave 04/05/2025 as text in B8 and enter Review: date order in E8. On Audit, add a note using source row 8, SaleID 00107, an action such as “Retained raw date token,” and evidence that its date provenance is unknown.
Tip
A recognized date and a text token can look similar on screen. The difference is whether the spreadsheet has converted the documented value into a date; the unresolved token stays unchanged so its uncertainty remains visible.
The raw token 04/05/2025 appears for SaleID 00104 in B5 and for SaleID 00107 in B8. The export note confirms DMY for 00104 but gives no date provenance for 00107. Which action is correct?

Step 6 of 8
Resolve evidence-supported blanks on the working copy, preserve unsupported blanks, and document both decisions clearly.
A blank is missing information, not a value to guess. Do not replace a blank with 0, copy a value from a nearby row, or assume a default category because similar records use one.
Make a correction only when evidence supports it. Otherwise, preserve the blank in the working copy and make the uncertainty visible with a ReviewNote. The source copy remains unchanged in both cases.

Use evidence to choose between a supported correction and an unresolved review state.
Warning
A review state is not a substitute value. Keep an unresolved amount cell empty; do not type a dash, zero, or note into the numeric column. Put the explanation in ReviewNote and Audit instead.
Work only on Clean. The receipt note confirms the missing category for SaleID 00105. Enter the approved category in C6.
No evidence provides the missing SalesAmount for SaleID 00108. Keep D9 genuinely empty. Enter Review: amount missing in E9; do not enter a zero, a dash, or a neighboring amount.
Set ReviewNote for every record that has no unresolved field. Before the next step, enter OK in E2:E7 and E10:E11. Keep E8 as Review: date order, entered in the previous step. The record in row 11 is still present now and receives OK; the next step will remove that confirmed duplicate as a complete row.
Add concise decision records on Audit. A source-row reference is the original worksheet row, even if a later step deletes a row from Clean. Keep the existing headings: Source row, SaleID, Action, and Evidence.
| Source row | SaleID | Action | Evidence |
|---|---|---|---|
| 6 | 00105 | Filled Category: Office supplies | Receipt note confirms Office supplies |
| 9 | 00108 | Left SalesAmount blank; flagged for review | No amount evidence supplied |
Tip
Use OK only when the record has no unresolved field in this exercise. SaleID 00107 remains Review: date order, even though its other fields are complete. ReviewNote communicates uncertainty without altering the date or amount cell.
Match each missing-field situation to its appropriate action.
Tap an item and then its matching pair.
After making the changes in your local workbook, write a short decision check for both records.
For 00105, classify the blank as correctable or unresolved, identify the Category result you entered, name the supporting evidence, and state its ReviewNote.
For 00108, classify the blank as correctable or unresolved, state what remains in SalesAmount and its ReviewNote, then explain why zero-filling or copying a neighboring amount would be inappropriate. Mention where the evidence for both decisions is recorded.
Write at least 220 characters (0/220).

Step 7 of 8
Use complete-record evidence to remove only the one confirmed duplicate from Clean while preserving the unchanged source copy.
A record key identifies the business event represented by a row. In this register, each SaleID identifies one sale, so each retained sale should have one SaleID.
Do not remove a row simply because a category, date, or amount appears again. Several different sales can legitimately share those values. A duplicate decision needs a repeated record key, a comparison of every business field, and supporting source evidence.
Make this decision in the working copy on Clean. Source remains the unchanged source copy.

A confirmed duplicate matches as a complete record; repeated individual values can be legitimate.
The import note confirms that Source row 11 repeats Source row 4. Compare the complete business fields before removing anything. Here, the repeated SaleID and every field match; the import note supplies the final evidence that the second occurrence is redundant.
The two source occurrences to compare
| Source row | SaleID | SaleDate | Category | SalesAmount |
|---|---|---|---|---|
| 4 | 00103 | 13/04/2025 | Office supplies | 18.00 |
| 11 | 00103 | 13/04/2025 | Office supplies | 18.00 |
On Clean, select the entire row corresponding to original Source row 11, then delete the complete worksheet row. In Excel, right-click the row header and choose Delete. In Calc, right-click the row header and choose Delete Rows. Do not press Delete to clear only cell contents: that would leave a blank, misaligned record.
Then add this decision to Audit. Keep the source-row reference as 11 even after the Clean row is deleted. Clean should now contain nine records; Source must still contain all ten original records.
Example
Source row | SaleID | Action | Evidence
11 | 00103 | Removed confirmed duplicate | Import note: repeats Source row 4; all business fields identical
Tip
Deleting this complete Clean row removes the duplicate amount of 18.00. The known-amount subtotal changes from USD 1,400.00 to USD 1,382.00, a decrease of USD 18.00. It remains a known-amount subtotal because the missing amount is still unresolved.
In another register, two rows have the same SaleID and date, but their SalesAmount values differ. What is the appropriate action?
After completing the deletion on your computer, write a short audit report. Explain why the removed row was a confirmed duplicate rather than merely a repeated value, state how you would handle a repeated SaleID with conflicting fields, and report the removed source occurrence, retained-record count, known-amount subtotal reduction, and whether Source changed.
Write at least 180 characters (0/180).

Step 8 of 8
Perform a final audit of the cleaned sales register, reconcile the retained records and known-amount subtotal, document unresolved exceptions, and save the local workbook.
A final audit checks the result without rewriting its history. First compare Source!A1:D11 with the original fixture. It must still contain all ten raw records, including the repeated record in Source row 11, original spaces and category spellings, raw date and amount tokens, leading-zero SaleIDs, and genuine blanks.
Then inspect Clean and Audit separately. Clean is the working result with approved corrections; Audit is the evidence trail. Do not edit Source or make further changes to register fields during this audit. You will add one final reconciliation formula outside the register on the next screen.

Compare Source and Clean, then use Audit to connect each decision to evidence. The source copy is not replaced by the cleaned result.
Count data rows, not headers. Clean should contain nine retained records. Check that SaleIDs remain text with leading zeros and that all Category values use the approved labels.
Read ReviewNote as text, not only by color: one retained record has Review: date order, one has Review: amount missing, and the other retained records have OK. Check Audit under its existing headings: Source row, SaleID, Action, and Evidence. Its row references still mean original Source worksheet rows.
Step 4 removed its temporary pre-removal subtotal check. For this final audit, create one deliberate reconciliation check only: enter Known-amount subtotal (after duplicate removal) in Clean!G1, then enter the formula in G2. Keep it outside the register; do not place another subtotal formula beside the data.
Enter this final reconciliation formula in Clean!G2.
=SUM(D2:D10)1382
The formula result is 1382. Format or report the value with two decimals as USD 1,382.00. It excludes the genuinely empty amount cell.
Use this checklist after entering the single final subtotal formula.
| Area | What to inspect | Expected state |
|---|---|---|
| Source preservation | Source A1:D11 | 10 untouched raw records; Source row 11 remains available |
| Clean records | Clean data rows | 9 retained records |
| IDs and categories | SaleID and Category | Leading-zero IDs remain text; categories use approved labels |
| Dates and amounts | Types and blanks | 8 recognized dates; 1 raw reviewed date; 8 numeric amounts; 1 empty amount |
| Review states | Clean ReviewNote | 00107: Review: date order; 00108: Review: amount missing |
| Reconciliation | Known-amount subtotal | USD 1,400.00 before removal; USD 1,382.00 afterward; decrease of USD 18.00 |
| Audit evidence | Source rows 6, 8, 9, and 11 | Evidence records support the category correction, unresolved issues, and duplicate removal |
Tip
Save the workbook locally after the checks: keep the name Sales_Register.xlsx in Excel or Sales_Register.ods in LibreOffice Calc. Confirm that Source, Clean, and Audit are present before closing. The next tutorial addresses preventing invalid new entries; do not configure validation rules here.
Summary
Use these points to describe the result accurately.
Write a short on-screen audit report in 5–7 sentences, using your completed workbook as evidence. State that Source is unchanged; the retained-record count in Clean; the SaleID of the only confirmed duplicate removed; and the final known-amount subtotal in USD.
Identify both SaleIDs that still require review and their respective review states. Explain why the subtotal is incomplete, and confirm that you saved the workbook locally. This is a written self-check: no workbook file is uploaded or automatically checked.
Write at least 300 characters (0/300).
Congratulations! You completed: Clean a Sales Register Without Losing Source Data
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks