How to Select All Non-Blank Cells of a Range

In daily work, we may meet the cases that select all blank cells or non-blank cells of a range. You may know the way to select all blank cells as they are “blanks”. But for non-blank cells, they may contain numbers, texts, formulas or even errors, how can we select all of them of a range with both blanks and non-blanks at one time? In this article, we will show you a simple way to select all non-blank cells, you don’t need to know any coding skills.

Table of Contents


There are several blank cells exist in above table, they are not adjacent to each other. Our target is to select all cells contain numbers in above table. See example below.

Normally, we can click on cell A1 and drag down to select the entire range A1:E5, in this way all cells contain numbers are selected but at the same time blank cells are also included. We can also hold on Ctrl key and pick cells with numbers one by one, this way is acceptable if there are not so many cells. Anyway, we need to find out a good resolution to solve this problem.


In previous article, we have shown you the way to select all blank cells by checking on Go To Special->Blanks option. Actually, Go To Special also works on selecting all non-blank cells. Users can select all non-blank cells of a range at one time if check on Go To Special->Constants option.



a. Select entire range A1:E5, this range contains both blank cells and non-blank cells.

b. Press hotkey F5 to load Go To dialog. Click on “Special…” button on the dialog to load Go To Special dialog. You can also load Go To Special dialog by clicking Home -> Find & Select -> Go To Special.

c. On Go To Special dialog, check on Constants option. After checking on the option, four sub options belong to Formulas are enabled, they are checked by default, keep current settings, and click OK.

After above steps, all non-blank cells are selected. You can continue your following operations on these cells.


a. In above step c, if you want to only select on cells with text, you can check on “Constants” option with “Formula” sub option “Text”, then matched cells are selected. See example below. You can also check on other options per your requirement.


Related Posts

Excel/Google Sheets: Full Row Reference

Excel or Google sheets supports both full row references and full column references. This article will talk about the usage of full row references. Full Row reference is another cell reference in Excel or Google Sheets, which is used to ...

Excel/Google Sheets: Full Column Reference

Full column reference is another cell reference in Excel or Google Sheets, which is used to reference the entire column, for example, if you want to reference the entire column A, you can use the following reference format A: A. ...

Excel/Google Sheets: Expanding Reference

An expanding reference is a reference type in Excel and Google worksheets that extends the range of a cell when a formula is copied to the cell below or to the right. In this article, we will explain how to ...

Excel/Google Sheets: Mixed Reference

In Microsoft Excel Spreadsheet or Google sheets, there is another cell reference, mixed references, where part of the reference is absolute, part of the relative. This article will describe how to use mixed references through specific examples. Mixed Reference When ...

Excel/Google Sheets: Absolute Reference

In Microsoft Excel spreadsheet or Google Sheets, the cell reference is the cell or cell area address or name in the worksheet, the cell reference contains two types of references, namely, relative references and absolute references. Absolute Reference An absolute ...