We respect your privacy. Unsubscribe at any time.
Prefer reading? The same steps are written out below the video.
Reports made for printing often show a department name only on its first row and leave the rows below blank. It reads well, but the moment you sort or filter, people end up in the wrong department. Here’s how to fill every blank with the value above it in seconds, then hide the repeats again for printing.
Sort the list A to Z by name and the department labels bunch up at the top. Robert Allen, who is in ADC, suddenly appears to be in Operations. Press Ctrl+Z to undo.
Select column A (just the list area), then go to Home > Find & Select > Go To Special, choose Blanks and click OK. Every empty cell in the department column is now selected.
The active cell is the first blank, for example A3. Type =, click the cell above (A2), and press Ctrl+Enter instead of Enter. Ctrl+Enter puts the same relative formula into every selected cell, so each blank now equals the cell above it.
Select column A, then right-click-drag its border into column B and straight back onto column A, release, and choose Copy Here as Values Only. (Or copy and use Paste Special > Values.) Now every row holds its real department name, and sorting and filtering work properly.
To get the clean printed look back without deleting anything, select A2 down to the end (Shift+Ctrl+Down), go to Conditional Formatting > New Rule > Use a formula and enter:
=A2=A1
Set the font colour to white. Any cell that repeats the one above becomes invisible, but the value is still there in the formula bar.
My Excel Tips & Shortcuts: 100+ Powerful Hacks course collects a hundred time-saving techniques like this one.
Build a Professional Habit Tracker in Excel in Minutes (2027)
Andreas Exadaktylos 107 minutes ago
Delete Thousands of Numbers Instantly in Excel! #excel #shorts
Andreas Exadaktylos May 23, 2026 18:09
Your Excel Charts Are Wrong | Here's Why & How to Fix It
Andreas Exadaktylos May 9, 2026 16:21
Master the Excel FILTER Function in 30 Seconds 📊 #Excel
Andreas Exadaktylos April 27, 2026 16:53
Build a Budget in Excel in 10 Minutes — and See If You're Actually Broke
Andreas Exadaktylos April 19, 2026 16:13
The Excel Button You’ve NEVER Used 🤫 #exceltips
Andreas Exadaktylos April 17, 2026 14:00
WATCHING ON YOUTUBE?
11 step-by-step courses on Excel, Power BI, Python and AI, all on Udemy with lifetime access.