๐ Task 1 โ Data Cleaning & Preprocessing (Excel-Based)
โข Tool Used: Microsoft Excel โข Dataset: Car Price Dataset (Kaggle)
๐ฏ Objective Clean a raw dataset using Excel by identifying and fixing:
- โ Missing values
- ๐ Duplicate rows
- ๐งฉ Inconsistent text/casing
- ๐ Non-uniform date formats
- ๐งฎ Incorrect data types
Goal: Make the data clean, consistent, and ready for analysis.
| Raw Data | Cleaned Data | |
|---|---|---|
| Rows | 301 | 298 |
| Columns | 16 | 16 |
| Null Values | 3 | 0 |
| Duplicates | 1 | 0 |
๐ Excel Cleaning Steps
1๏ธโฃ Missing Values
- Applied filters โ found blanks in
condition,odometer,color - Removed 3 rows with critical missing data
2๏ธโฃ Remove Duplicates
- Used Data โ Remove Duplicates (across all columns)
3๏ธโฃ Standardized Text Formats
- Applied
=PROPER()to fix inconsistent casing (e.g.,bmwโBmw) - Used Find & Replace to clean up repeated seller formats
4๏ธโฃ Column Header Formatting
- Renamed columns:
Yearโyear,SellingPriceโselling_price, etc. - Ensured no spaces, consistent lowercase
5๏ธโฃ Date Formatting
- Fixed
saledatecolumn to show consistent format โdd-mm-yyyy
6๏ธโฃ Verified Data Types
- Checked that
odometer,mmr, andsellingpriceare numeric - Dates set to proper format in Excel
โ Results After Cleaning
- Dataset now has no nulls, no duplicates, and clean, readable formatting.
- All text is standardized, numeric formats are correct, and dates are consistent.
- Ready for analysis or visualization!
๐ Files Included in this Repo File Description car_price_raw.xlsx Original raw dataset car_price_cleaned.xlsx Cleaned dataset after all steps README.md Task explanation and documentation screenshots visuals from Excel
๐ง What I Learned
- How to clean data in Excel using built-in tools
- How to handle missing values, remove duplicates, and format text/dates properly
- Why standardization and formatting is crucial before analysis
- Documenting the cleaning process is just as important as doing it
๐ Notes
- Excelโs native tools (filters, functions, formatting) are powerful for quick cleaning
- Cleaned data reduces risk of incorrect analysis or model training
- Always save a backup of the original dataset before cleaning!
๐ Conclusion This task gave me hands-on experience with Excelโs powerful data cleaning tools. I feel confident handling messy datasets and prepping them for real-world analysis. ๐ง โ
๐จโ๐ป Author
Somya Sinha Aspiring Data Analyst | SQL Enthusiast | Excel & Power BI Learner
๐ www.linkedin.com/in/somyasinha100 ๐ง somyasinha615@gmail.com