Easily Fill Blank Cells with Values from a Cell Above

by Avantix Learning Team | Updated May 26, 2022

Applies to: Microsoft® Excel® 2010, 2013, 2016, 2019, 2021 and 365 (Windows)

You can fill or replace 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 in-person classroom Excel courses >

Below is a sample with blanks or missing values in the first column:

Excel worksheet with blanks to fill blank cells with values in the cell above.

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:

Select blanks in Excel using Go to Special.

Below is the Paste Special dialog box:

Paste Special dialog box in Excel to paste or fill in blanks.

To quickly fill blanks with the value from a cell above:

  1. Select the range of cells with blank cells (this range is typically in one column).
  2. 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.
  3. Select Blanks in the Go To Special dialog box and click OK. Excel will select the blank cells in the range.
  4. 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.
  5. Press Ctrl + Enter. This will enter the formula in the blank cells and reference the cell above.
  6. Select the column of data in the range that has been filled (for example, column A) and press Ctrl + C to copy.
  7. 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.
  8. 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:

Excel worksheet will blanks filled in with 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.

Subscribe to get more articles like this one

Did you find this article helpful? If you would like to receive new articles, JOIN our email list.

More resources

How to Convert Text to Numbers in Excel (5 Ways)

How to Combine First Name and Last Name in Excel (5 Ways)

How to Freeze Row and Column Headings in Excel Worksheets

3 Excel Strikethrough Shortcuts to Cross Out Text or Values in Cells

How to Replace Blank Cells in Excel with Zeros (0), Dashes (-) or Other Values

How to Highlight Errors, Blanks and Duplicates in Microsoft Excel (Using Formulas)

Related courses

Microsoft Excel: Intermediate / Advanced

Microsoft Excel: Data Analysis with Functions, Dashboards and What-If Analysis Tools

Microsoft Excel: Introduction to Visual Basic for Applications (VBA)

VIEW MORE COURSES >

Our instructor-led courses are delivered in virtual classroom format or at our downtown Toronto location at 18 King Street East, Suite 1400, Toronto, Ontario, Canada (some in-person classroom courses may also be delivered at an alternate downtown Toronto location). Contact us at info@avantixlearning.ca if you'd like to arrange custom instructor-led virtual classroom or onsite training on a date that's convenient for you.

Copyright 2024 Avantix® Learning

You may also like

What is Power Query in Excel?

What is Power Query in Excel?

Power Query in Excel is a powerful data transformation tool that allows you to import data from many different sources and then extract, clean, and transform the data. You will then be able to load the data into Excel or Power BI and perform further data analysis. With Power Query (also known as Get & Transform), you can set up a query once and then refresh it when new data is added. Power Query can import and clean millions of rows of data.

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 |18 King Street East, Suite 1400, Toronto, Ontario, Canada M5C 1C4 | Contact us at info@avantixlearning.ca

Summary
How to Fill or Replace Blank Cells in Excel with a Value from a Cell Above
Article Name
How to Fill or Replace Blank Cells in Excel with a Value from a Cell Above
Description
You can fill or replace 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.
Author
Publisher Name
Avantix Learning

Pin It on Pinterest

Share This