Ravindra BagaleCourses & study guides मराठी Track your progress

5. Data Cleaning A–Z

5.2 Blank Cells

Two different problems: blank cells that should repeat the value above (typical of exported reports), and completely blank rows.

Before

City Area Orders
Pune Kothrud 412
Baner 356
Wakad 298
Nagpur Dharampeth 275
Sitabuldi 241

About this data: Teaching sample for a fictional shop “Skyline Clinics”. Figures and names (e.g. Priya Deshmukh) are made up for this lesson on blank cells.

After

City Area Orders
Pune Kothrud 412
Pune Baner 356
Pune Wakad 298
Nagpur Dharampeth 275
Nagpur Sitabuldi 241

About this data: Demo table only — not real customer or company data. Built to practise blank cells.

Steps in Excel – fill blanks with the value above

  1. Select A2:A7 (the City column).
  2. Home › Editing › Find & Select › Go To Special › Blanks › OK. Only the empty cells are selected.
  3. Type = and press ↑ (the formula becomes =A2 for the first blank) and press Ctrl + Enter – it fills every selected blank.
  4. Select the column › Copy › Paste Special › Values so the formulas become fixed text.

Steps – delete fully blank rows

  1. Add a helper column: =COUNTA(A2:C2); filter it for 0 › select the visible rows › Home › Cells › Delete › Delete Sheet Rows › remove the filter.
  2. (Careful shortcut) Go To Special › Blanks › Delete › Entire row works only when a blank in one column means the whole row is empty.

For true missing values (e.g. a blank Delivery Mins), don't invent numbers. Mark them ("Not recorded"), count them with =COUNTBLANK(), and decide with your manager whether to exclude those rows.

Ravindra Bagale's Tip

After Go To Special › Blanks, when they do Delete › Entire row, many students lose real data too – because a row had only one empty cell. Before deleting a row, check with a COUNTA helper whether the whole row is empty. And after Ctrl + Enter, don't forget Paste Values, otherwise the values get mixed up when you sort.

Practice task

Take a city-wise report where City is written only once per group; fill the blanks with Go To Special + Ctrl + Enter, then remove two fully blank rows using a COUNTA helper.

Loading practice tasks...

  1. Filled phone numbers (Easy): How many phones are filled in C2:C9?
  2. Missing phone numbers (Easy): How many phone cells are empty in C2:C9?
  3. Missing emails (Easy): How many emails are empty in D2:D9?
  4. Forms with a premium (Easy): How many premiums are filled in F2:F9?
  5. Filled boxes in one form (Medium): How many boxes are filled for F-04 (B5:F5)?
  6. All empty boxes (Medium): How many cells are empty in B2:F9?
  7. Is F-05 complete? (Medium): Is the form in B6:F6 complete? (TRUE or FALSE)
  8. Share of forms with a premium (Medium): What part of forms have a premium? (filled premiums ÷ all forms)
  9. Status message for F-03 (Hard): For row 4 (B4:F4) show "Complete" if nothing is empty, else "Missing " and the number.
  10. Missing contact details (Hard): How many cells are empty in the phone and email columns together (C2:D9)?

Quick revision cards

Three standalone cards. Each one explains the idea with its own example. Scan the QR to open this lesson.

Revision card 1: What is Blank Cells?
Card 1: What is Blank Cells? · Download PNG
Revision card 2: Tiny example — Blank Cells
Card 2: Tiny example — Blank Cells · Download PNG
Revision card 3: Checklist — Blank Cells
Card 3: Checklist — Blank Cells · Download PNG