Duplicate Repeated Entries In A List
Category: Formatting | [Item URL]
You've probably seen an Excel worksheet (like the sheet on the left, below) in which one entry in column A applies to several rows of data. Sort such a list and you get a real mess, because rows with empty cells in the sort column move to the top or bottom (depending on the sort order).
When a list is small, you can enter the missing cell values manually. But if your database is huge, you need a better way of filling in those cell values. Here's how:
- Select the range (A3:A14 in the example above)
- Press Ctrl-G to get the Go To dialog box.
- In the Go To dialog box, click Special.
- Select the Blanks option.
- Type = followed by the address of the first cell with an entry in the column (=A3 in the example above), and press Ctrl-Enter.
- Reselect the range and choose Edit, Copy.
- Then select Edit, Paste Special, choose the Values option, and click OK.
The missing entries will be filled in, as in the sheet on the right in the above figure.
Excel Tips
Excel has a long history, and it continues to evolve and change. Consequently, the tips provided here do not necessarily apply to all versions of Excel.
In particular, the user interface for Excel 2007 (and later), is vastly different from its predecessors. Therefore, the menu commands listed in older tips, will not correspond to the Excel 2007 (and later) user interface.
All Tips
Browse Tips by Category
Search for Tips
Tip Books
Needs tips? Here are two books, with nothing but tips:
Contains more than 200 useful tips and tricks for Excel | Other Excel 2003 books | Amazon link: John Walkenbach's Favorite Excel Tips & Tricks
Contains more than 200 useful tips and tricks for Excel 2007 | Other Excel 2007 books | Amazon link: John Walkenbach's Favorite Excel 2007 Tips & Tricks

