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.


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

Calculate Years Between Dates In Ms Excel

If you are an avid Ms Excel user, then you might have come across a task in which you needed to calculate the years between the dates; you might take it easy and do this task manually, which is also ...

Calculate Number of Hours between Two Times

Calculating the difference between two times might be a valuable statistic for subsequent computations or averages, whether you're producing a time sheet for staff or recording personal exercises. While Excel has a plethora of complex functions, including date and time ...

Calculate Loan Interest in Given Year

When you borrow money, you are supposed to repay it gradually. Lenders, on the other hand, want to be compensated for their services and the risk they incur by lending you money. That is, you will not just repay the ...

Calculate Interest Rate for Loan

The interest rate is the fee charged by a lender to a borrower and is expressed as a percentage of the principal—the lent amount. The interest rate on a loan is often expressed as an annual percentage rate, abbreviated as ...

Calculate Interest for Given Period

Using the IPMT function in Excel, we can compute the interest payment on any loan. This step-by-step tutorial will guide Excel users of all skill levels through the process to calculate interest for given period. Finally, the formula: =IPMT(B3/12,1,B5,-B2) The ...

How To Use Excel GCD Function

This post will guide you how to use Excel GCD function with syntax and examples in Microsoft excel. Description The Excel GCD function Returns the greatest common divisor of two or more integers. So you can use the GCD function ...

Calculate A Ratio From Two Numbers In Excel

In elementary mathematics, a ratio is a connection or comparison between two or more integers. For example, ratios are often expressed as ":" to demonstrate the relationship between two numbers. You would think that manually calculating a ratio from two ...

How To Use Excel RRI Function

This post will guide you how to use Excel RRI function with syntax and examples in Microsoft excel. Description The Excel RRI function Returns an equivalent interest rate for the growth of an investment. So you can use the RRI ...

CAGR Formula Examples in Excel

CAGR in Excel is a formula that calculates the compound annual growth rate for any invested amount over the specified years or timeframe. Although there is no direct function in Excel that can help us identify the CAGR value, there ...

Build Hyperlink With VLOOKUP in Excel

You might have come across a task in which you were assigned to build hyperlinks, which seems very easy, and if you are new to excel or don't have enough experience with it, then you might wonder about doing this ...