Ravindra BagaleCourses & study guides Track your progress
Easy challenge

Easy: Duplicate header breaks sort

A second “Name/Dept/Score” header was pasted mid-list. Sort by Score puts the word Name among people. Delete the duplicate header row.

About this data: Made-up roster for Rohan Kapoor (Jaipur hotel) and Marie Dubois (Paris). Practice only.

Why → What → How

Why: Copy-paste while building lists often re-pastes headers.

What: Staff scores; broken file has duplicate header. Remove it, then sort safely.

How:

  1. Open Staff.
  2. Find the extra header mid-table.
  3. Delete that row.
  4. Sort by Score descending.

Ravindra Bagale’s Tip

Before Sort, confirm exactly one header row and no blank separator rows inside the block.

Bugs explained (with mini examples)

Bug 1 — Duplicate header

Text "Name" sorts with names.

Bug 2 — False “data” row

Scores become unsortable cleanly.

Practice tasks (12)

  1. Task 1. Locate duplicate header.
    Hint: Mid list.
  2. Task 2. Delete it.
    Hint: One header left.
  3. Task 3. Sort Score Z→A.
    Hint: Marie top.
  4. Task 4. Does header stay put with My data has headers?
    Hint: Yes.
  5. Task 5. Interview sentence.
    Hint: “Duplicate header broke sort.”
  6. Task 6. Add a person — keep one header.
    Hint: Careful paste.
  7. Task 7. Why blank rows inside lists hurt sort.
    Hint: Split ranges.
  8. Task 8. Convert to Table.
    Hint: Helps.
  9. Task 9. Filter Dept=Front after fix.
    Hint: Works.
  10. Task 10. Undo sort and re-do.
    Hint: Practice.
  11. Task 11. Bonus: freeze header.
    Hint: A2 or proper row.
  12. Task 12. Save clean file.
    Hint: Done.
Step-by-step solution (try first)
  1. Delete duplicate header row.
  2. Sort with “My data has headers” checked.

Quick quiz

Q1. A header mid-table when sorting:
Q2. Best fix:
Q3. “My data has headers” needs:
Q4. This bug often comes from:
Q5. After fix you should: