Fill in Blanks in a Microsoft Excel List with Cell Values
by Avantix Learning Team | Updated August 2, 2020
Applies to: Microsoft® Excel® 2007, 2010, 2013, 2016, 2019 and 365 (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 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.
This article was first published on July 8, 2017 and has been updated for clarity and content.
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 2020 Avantix® Learning
You may also like
You can delete blank rows in Microsoft Excel worksheets manually or you can use several tricks to delete multiple blank rows quickly. First, it’s essential that Excel users know how to select rows quickly using shortcuts or by using Excel commands such as Go to Special, Filter and Sort.
Moving a pivot table is not as simple as moving other objects in an Excel worksheet or workbook. You will typically need to use the Move PivotTable command in the Ribbon to move a pivot table to a different area on a worksheet or to a different sheet in the same workbook.
You can hide rows and columns in Excel using the context menu, using a keyboard shortcut or by using the Format command on the Home tab in the Ribbon. If you have hidden rows or columns, you can unhide them as well.
Avantix Learning | 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada M5E 1W7 | email@example.com