Fill in Blanks in a Microsoft Excel List with Cell Values
by Avantix Learning Team | Updated October 5, 2018
Applies to: Microsoft® Excel® 2007, 2010, 2013 and 2016 (Windows)
It’s a fairly common issue to have a list of Excel data where there are blanks or missing values in a column. The data may have been imported from an external source or formatted this way by a client or colleague for readability.
As a result, many data tools such as sorting, filtering and pivot tables can’t be used efficiently until the blank cells have been filled with data.
Recommended article: 10 Excel Data Entry Tricks and Shortcuts Every User Should Know
Below is a sample with missing values in the first column:
It’s tedious to manually enter the missing values but you can fill in the data quickly using Go To Special and Paste Special.
Below is the Go To Special dialog box:
Below is the Paste Special dialog box:
To easily fill in the blanks with the value from the most recent cell above containing a value:
- Select the range of cells with blank cells or missing values (this range is often in one column).
- Press Ctrl + G to display the Go To dialog box and then click on Special to display the Go To Special dialog box. Alternatively, you can click the Home tab in the Ribbon and then select Go to Special from the Find & Select drop-down menu.
- Select Blanks in the Go To Special dialog box and click OK. Excel will select all of the blank cells within the range.
- In the active cell (which should be the first blank cell below the first cell with data), type = followed by the cell address of the first cell above that contains data (for example, type =A3).
- Press Ctrl + Enter. This will enter the formula in all of the selected cells and reference the cell above.
- Select the entire column (for example, column A) and press Ctrl + C to copy.
- With the same column selected, press Ctrl + Alt + V to display the Paste Special dialog box. Alternatively, click the Home tab in the Ribbon and select Paste Special from the Paste drop-down menu.
- In the Paste Special dialog box, select Values and click OK. The values will be pasted in the cells that were previously blank.
Below is the sample file after we’ve used this process to fill in the missing values:
You will now be able to sort, filter and create pivot tables with the list.
Did you find this article helpful? If you would like to receive new articles, join our email list.
Recommended Microsoft Excel training
Our instructor-led classroom training courses are delivered at our downtown Toronto location at 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada (some courses may also be delivered at an alternate downtown Toronto location). Contact us if you’d like to arrange custom training at your office on a date that’s convenient for you.
To request this page in an alternate format, contact us.
Copyright 2019 Avantix® Learning Inc.
You may also like
You can easily show or hide formulas in a number of ways in Microsoft Excel. You can use a keyboard shortcut, click a button and even use a formula to show formulas …
You can use 3D references in Excel formulas to calculate across multiple worksheets that are structured in the same way. A 3D reference refers to the same cell or range of cells on multiple worksheets.
As many Excel worksheets can become quite large, it can be useful to freeze row and column headings so that they are locked in place when you scroll through your worksheet. In Excel, you can freeze both row headings and column headings or just one.
Microsoft, the Microsoft logo, Microsoft Office and related Microsoft applications and logos are registered trademarks of Microsoft Corporation in Canada, US and other countries. All other trademarks are the property of the registered owners.
Avantix Learning | 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada M5E 1W7 | email@example.com