# 15.2 Stage 1 — raw export clean करा

Source: https://ravindrabagale.com/mr/excel/ch15-final-project-blinkit-maharashtra-monthly-report/15-2-stage-1-clean-the-raw-export.html
Language: mr (Marathi with English technical terms)

Formula route

Raw_Ordersची Clean copy करा. ID: =UPPER(TRIM(A2)).

City: =PROPER(TRIM(C2)) आणि controlled mappingने Aurangabad → Sambhaji Nagar.

H Amountसाठी sample conventionनुसार =VALUE(SUBSTITUTE(SUBSTITUTE(H2,"Rs.",""),",","")). ₹ किंवा वेगळा decimal convention असेल तर योग्य rule वाढवा.

Dates known DMY/MDY patternsनुसार parse करा; ambiguous dates review करा.

Missing Delivery Mins जपून flag: =IF(I2="","Missing",""). 0 भरू नका.

Duplicates आणि Power Query

Key text normalize केल्यावर actual duplicate definition तपासा. One-row-per-order sampleमध्ये Order ID key; multi-line orderमध्ये Order IDवर Remove Duplicates केल्यास valid products जातील. Excelच्या case-insensitive duplicate behavior आणि Power Queryच्या text behaviorमध्ये फरक असू शकतो; फक्त lowercase/uppercaseच duplicate राहण्याचं कारण आहे असं मानू नका.

Power Query route: From Table/Range → Trim/Clean → mapping → source patternनुसार types/locale → reviewed duplicate handling → exceptions → Table load.

Reconciliation

 | Check
 | Raw
 | Clean
 | Comment

 | Rows
 | 412
 | 405
 | 7 duplicates removed

 | Distinct cities
 | 11 spellings
 | 6
 | Mapping applied

 | Amount stored as text
 | 38
 | 0
 | Converted

 | Missing Delivery Mins
 | 9
 | 9 (flagged)
 | Not filled with 0

412→405 आणि7 duplicates हे example counts आहेत. तुमचे actual counts लिहा. Raw Amount text असेल तर साधा SUM कमी येऊ शकतो; parsed-before-dedup आणि cleaned totals वेगळे मोजा, removed duplicate Amountची नोंद ठेवा.

Practice

Clean output tblOrders म्हणून save करा. Missing times9 असतील तर outputमध्ये9च flagged राहतात का पाहा. Unparseable rows silently delete न करता exceptionsमध्ये जपा.

रवींद्र बागले यांची tip

Clean दिसणं आणि योग्य असणं वेगळं आहे. Rows, removed records आणि money totalsचा ताळमेळ दाखवा.
