How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (2024)

Method 1 – Using the ISBLANK Function

Syntax:

ISBLANK(value)

Argument:

value– This value will be tested. This may be empty or filled with text or logical value, etc.

Steps:

  • Go to Cell C5.
  • Enter the ISBLANK function.
  • Select B5 as the argument. The formula will be:

=ISBLANK(B5)

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (1)

  • Press Enter.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (2)

  • Drag the Fill Handle icon to the last cell.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (3)

Only one cell is empty and the result to that cell is showing TRUE. But the rest of the cells are showing False because these are not empty.

Note:

The ISBLANK function counts ="" cells as not blank and hence returns FALSE. Though ="" is an empty string and is blank in appearance.

Method 2 – Applying the Excel IF Function

Syntax:

IF(logical_test, value_if_true, [value_if_false])

Argument:

logical_test – The condition we want to test.

value_if_true – The value that we want to return if the result of logical_test is TRUE.

Value_if_false – The value you want to return if the result of logical_test is FALSE.

Steps:

  • Go to Cell C5.
  • Enter the following formula:

=IF(B5="","Blank","Not Blank")

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (4)

  • Press Enter.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (5)

  • Drag the Fill Handle icon to the last cell.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (6)

The result should look like the screenshot above.

Method 3 – Combining IF and ISBLANK Functions

Steps:

  • Go to Cell C5.
  • Enter the following formula:

=IF(ISBLANK(B5),"Blank","Not Blank")

  • Press the Enter button.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (7)

  • Drag the Fill Handle icon to the last cell.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (8)

Method 4 – Using the Find Command

We can also use the Find command to check if a cell in the worksheet is empty. Before doing this, we will modify the previous dataset.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (9)

Steps:

  • Select the range of empty cells to check.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (10)

  • Press Ctrl+F.
  • Keep the Find what box empty.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (11)

  • Press Find All.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (12)

You have successfully found the blank cells B7 and B9.

Method 5 – Checking If a Cell is Empty with Conditional Formatting in Excel

Steps:

  • Select the range of cells B5:B10.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (13)

  • Go to the Home tab.
  • From the Conditional Formatting command, select the Highlight Cells Rules.
  • Go to More Rules.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (14)

  • Choose Format only cells that contain.
  • Select Blanks.
  • Select the Fill Color from the Format option.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (15)

  • Press OK.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (16)

The blank cells are filled with Red color as we selected the Red format.

Read More: How to Apply Conditional Formatting in Excel If Another Cell Is Blank

Method 6 – Checking If Any Cell in a Range is Blank with Multiple Excel Functions

6.1 Using the COUNTBLANK Function

Syntax:

COUNTBLANK(range)

Arguments:

range – It is the range from which we want to count the blank cells.

Now, let’s see the steps one by one.

Steps:

  • Go to Cell C5 and write the COUNTBLANK function.
  • Enter the following formula:

=COUNTBLANK(B5:B10)

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (17)

  • Press Enter.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (18)

The result shows 1 as there is only an empty cell in that range.

6.2 Using the COUNTIF Function

Syntax:

COUNTIF(range, criteria)

Argument:

range – The operation will be applied to this cell range. This range contains multiple objects like numbers, arrays, etc. Empty and text values will not be considered for this function.

Criteria – This condition will be in the formula. It will check from the given range.

Use COUNTIFS if we want to use multiple criteria.

Steps:

  • Enter the COUNTIF function.
  • The range is B5:B10 and compared with blank.
  • If blanks are found, then show TRUE; otherwise, FALSE. The formula is:

=COUNTIF(B5:B10,"")

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (19)

  • Press Enter.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (20)

Only one cell is empty, and the result is showing.

6.3 Using SUMPRODUCT

Syntax:

=SUMPRODUCT(array1, [array2], [array3], …)

Argument:

array1 – This is the first array or range where the first multiplication is performed. Then, sum the multiplied returns.

array2, array3,… – These are optional arguments. We can add up to 2 to 255 arguments in the formula.

Let’s see the steps one by one.

Steps:

  • Go to Cell C5.
  • Enter the following formula:

=SUMPRODUCT(--(B5:B10=""))>0

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (21)

  • Press OK.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (22)

Method 7 – Applying Excel VBA Macros

Steps:

  • Go to the Home tab.
  • Select the Developer option from the main tab.
  • From commands, select Marcos.
  • We will get a Dialog box.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (23)

  • Name the MACRO as Check_Empty_Cells.
  • Press Create.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (24)

  • Enter the following code in the VBA command module.
Sub Check_Empty_Cells()Dim i As LongDim c As LongDim MRange As RangeDim MCell As RangeSet MRange = Range("B5:B10")For Each MCell In MRangec = c + 1If IsEmpty(MCell) ThenMCell.Interior.Color = RGB(255, 87, 87)i = i + 1End IfNext MCellMsgBox "No. of Empty Cells are " & i & "."End Sub

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (25)

  • Press F5 to run the code.

How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (26)

The data has 2 empty cells, and those cells are colored red.

Read More: Excel VBA: Check If Multiple Cells Are Empty

Download the Practice Workbook

Download this workbook to practice.

Check If a Cell is Empty.xlsm

Related Articles

  • If the Cell is Blank, Then Show 0 in Excel
  • How to Calculate in Excel If Cells Are Not Blank
  • How to Return Value If Cell is Blank
  • If a Cell Is Blank, then Copy Another Cell in Excel
  • Excel If Two Cells Are Blank, Then Return Value

<< Go Back to If Cell is Blank Then| Excel Cells | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
How to Check If a Cell Is Empty in Excel (7 Methods) - ExcelDemy (2024)

References

Top Articles
Shooting Ranges In Indianapolis Indiana
ABA-Routing-Nummer: Was sie ist, wie man sie verwendet und wie man sie findet
Craigslist Livingston Montana
Craigslist Warren Michigan Free Stuff
How Many Cc's Is A 96 Cubic Inch Engine
Otis Department Of Corrections
Kentucky Downs Entries Today
Free Robux Without Downloading Apps
Needle Nose Peterbilt For Sale Craigslist
Ecers-3 Cheat Sheet Free
About Goodwill – Goodwill NY/NJ
Locate Td Bank Near Me
Lost Pizza Nutrition
William Spencer Funeral Home Portland Indiana
Ave Bradley, Global SVP of design and creative director at Kimpton Hotels & Restaurants | Hospitality Interiors
Regular Clear vs Low Iron Glass for Shower Doors
WWE-Heldin Nikki A.S.H. verzückt Fans und Kollegen
Meritas Health Patient Portal
Pekin Soccer Tournament
Shasta County Most Wanted 2022
Purdue 247 Football
Buying Cars from Craigslist: Tips for a Safe and Smart Purchase
Obituaries Milwaukee Journal Sentinel
Cognitive Science Cornell
Publix Near 12401 International Drive
Craigslist Fort Smith Ar Personals
Skidware Project Mugetsu
8002905511
25Cc To Tbsp
Duke Energy Anderson Operations Center
Productos para el Cuidado del Cabello Después de un Alisado: Tips y Consejos
Red Sox Starting Pitcher Tonight
RFK Jr., in Glendale, says he's under investigation for 'collecting a whale specimen'
Scioto Post News
Junior / medior handhaver openbare ruimte (BOA) - Gemeente Leiden
Ny Post Front Page Cover Today
Grapes And Hops Festival Jamestown Ny
Best Restaurant In Glendale Az
“Los nuevos desafíos socioculturales” Identidad, Educación, Mujeres Científicas, Política y Sustentabilidad
Captain Billy's Whiz Bang, Vol 1, No. 11, August, 1920&#10;America's Magazine of Wit, Humor and Filosophy
How to Get a Better Signal on Your iPhone or Android Smartphone
Carroll White Remc Outage Map
Rocky Bfb Asset
Citroen | Skąd pobrać program do lexia diagbox?
Juiced Banned Ad
The Horn Of Plenty Figgerits
Greg Steube Height
Youravon Com Mi Cuenta
Hillsborough County Florida Recorder Of Deeds
CPM Homework Help
Edt National Board
Besoldungstabellen | Niedersächsisches Landesamt für Bezüge und Versorgung (NLBV)
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 6770

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.