Easily Fill Blank Cells with Values from a Cell Above
by Avantix Learning Team | Updated April 5, 2021
Applies to: Microsoft® Excel® 2010, 2013, 2016, 2019 and 365 (Windows)
You can fill blank cells in Excel with a value from a cell above using a few great Excel tricks. The data may have been imported from an external source or formatted this way by a client or colleague for readability but the blank cells are a problem if you want to sort, filter or summarize the data.
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: How to Delete Blank Rows in Excel (5 Easy Ways with Shortcuts)
Do you want to learn more about Excel? Check out our virtual classroom or live classroom Excel courses >
Below is a sample with blanks or 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 quickly fill blanks with the value from a cell above:
- Select the range of cells with blank cells (this range is typically 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 the blank cells in the range.
- Type = followed by the cell address of the first cell above that contains data (for example, type =A3). This will be entered in the active cell (which should be the first blank cell below the first cell with data). You can also enter the formula in the Formula Bar.
- Press Ctrl + Enter. This will enter the formula in the blank cells and reference the cell above.
- Select the column of data in the range that has been filled (for example, column A) and press Ctrl + C to copy.
- With the same range 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 blank cells in column A:
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.
Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 1 Yonge Street, Suite 1801 (Toronto Star Building), Toronto, Ontario, Canada (some live classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at firstname.lastname@example.org if you'd like to arrange custom training on a date that's convenient for you.
Copyright 2021 Avantix® Learning
You may also like
You can apply strikethrough to text or values in Excel to cross out or create a line through a cell or part of a cell. There are 3 common ways to apply strikethrough in your Excel worksheets – using a built-in keyboard shortcut, using the Font dialog box, or by adding a command to the Quick Access Toolbar.
Slicers are a great tool in Excel to filter tables or pivot tables. You can lock the position of a slicer in an Excel worksheet using a two-step process. First, select the slicer or slicers and Disable resizing and moving in the Format Slicer task pane (and choose other options based on your preferences). Second, protect the sheet using the Review tab in the Ribbon. There are a few important options you’ll need to select to get this to work.
In Microsoft Excel, when you enter data or a formula, it appears in the Formula Bar. If you are writing longer formulas, it can be helpful to expand the Formula Bar.
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