16. Practice Exercises with Answer Hints
16.4 Module 5: Data Cleaning
- Remove extra spaces and non-printable characters from customer names.
Hint:
=TRIM(CLEAN(A2)); for non-breaking spaces addSUBSTITUTE(A2,CHAR(160)," "). - Standardise "pune", "PUNE ", " Pune" to "Pune".
Hint:
=PROPER(TRIM(A2)). - Replace "Aurangabad" with "Sambhaji Nagar" in 400 rows safely. Hint: mapping table + XLOOKUP, or Home › Find & Select › Replace with Match entire cell contents.
- Convert "Rs. 1,299" to the number 1299.
Hint:
=VALUE(SUBSTITUTE(SUBSTITUTE(A2,"Rs.",""),",","")). - Convert text dates like 03/14/2026 (US style) to real dates.
Hint:
=DATE(RIGHT(A2,4),LEFT(A2,2),MID(A2,4,2))or Text to Columns › Date: MDY. - Keep only the last 10 digits of phone numbers like "+91 90000 00021".
Hint:
=RIGHT(SUBSTITUTE(SUBSTITUTE(A2," ",""),"-",""),10). - Split "Pune-411038" into City and Pincode.
Hint: Text to Columns (delimiter
-) or=TEXTBEFORE(A2,"-")/=TEXTAFTER(A2,"-")(Microsoft 365 / Excel 2024). - Flag outliers in Amount using the IQR rule.
Hint: Q1/Q3 with
QUARTILE.INC; outlier if< Q1-1.5*IQRor> Q3+1.5*IQR.
Ravindra Bagale's Tip
Many students run Find & Replace directly on the original data, and if something goes wrong they can't go back. Always keep the Raw sheet untouched, work on a copy, and after cleaning reconcile the row count and the total amount. This habit will save you at work.
Ravindra Bagale's Tip – मराठी
बरेच students original data वर थेट Find & Replace चालवतात आणि चूक झाली तर परत जाता येत नाही. नेहमी Raw sheet untouched ठेवा, copy वर काम करा, आणि cleaning नंतर row count आणि total amount reconcile करा. ही सवय job मध्ये तुम्हाला वाचवेल.
Ravindra Bagale's Tip – हिंदी
बहुत से students original data पर सीधे Find & Replace चला देते हैं और गलती हुई तो वापस नहीं जा पाते. हमेशा Raw sheet को untouched रखो, copy पर काम करो, और cleaning के बाद row count और total amount reconcile करो. यह आदत job में तुम्हें बचाएगी.
Loading practice tasks...
- Total amount (Easy): Add up Amount (₹) in E2:E11 on sheet Data. (sheet "Data")
- Average qty (Easy): Average of Qty in D2:D11, rounded to 1 decimal. (sheet "Data")
- Active count (Easy): How many rows have Status "Active"? (sheet "Data")
- Max amount (Easy): Largest Amount (₹) in E2:E11. (sheet "Data")
- Pune count (Easy): How many rows have City "Pune"? (exact match — cleaning matters). (sheet "Data")
- Active amount (Medium): Total of Amount (₹) where Status is "Active". (sheet "Data")
- Mumbai qty (Medium): Total of Qty where City is "Mumbai". (sheet "Data")
- Active Pune amount (Medium): Amount where City is "Pune" and Status is "Active". (sheet "Data")
- Code of Priya (Medium): Code for Name "Priya Shah" on sheet Text. (sheet "Data")
- Share active amount (Hard): Active amount / all amount, 3 decimals. (sheet "Data")
- Hold count (Hard): How many rows have Status "Hold"? (sheet "Data")
- Above avg amount? (Hard): "High" if E2 > average amount else "Low". (sheet "Data")
Worked example — module 5 data cleaning
Why
Rohan Patil in Pune and Emma Clarke abroad both need a clear, repeatable way to use module 5 data cleaning on a Summit Schools sheet without breaking totals.
What
Module 5 Data Cleaning is the Excel idea this page teaches. We will walk one tiny example end to end.
How
- Open a blank sheet. In A1 type a short label for module 5 data cleaning.
- Enter a small made-up value for Rohan Patil using ₹ where money appears.
- Add a second value for Emma Clarke using $ so you see mixed currencies stay numeric.
- Apply the method from this lesson step by step (menu or formula as shown above).
- Check the result still works inside SUM or a simple check cell.
Formula / action
Follow the formula or ribbon steps shown in this lesson (keep values numeric).
Meaning: Once module 5 data cleaning is correct on one row, copy the same pattern down the column.
Quick revision cards
Three standalone cards. Each one explains the idea with its own example. Scan the QR to open this lesson.


