Check If a Cell is Blank or Empty in Google Sheets

The article demonstrates how to check if a range of cells is blank or empty by ISBLANK and other functions to recognize empty cells in Google Spreadsheets and take appropriate action based on their status.

There are several circumstances in which you need to determine if a cell is empty or not. If a cell is blank, for example, you may want to add, count, copy a value from another cell, or do nothing. ISBLANK is the appropriate function to employ in these situations, occasionally alone, but most often in conjunction with other Google Sheets functions.

ISBLANK in Google Sheets – a few points to keep in mind

The critical item to remember is that the ISBLANK function in Google Sheets recognizes actually empty cells, that is, cells that contain nothing: no spaces, no tabs, no carriage returns, or anything else that looks blank in a view.

ISBLANK returns FALSE for a cell that seems to be blank but is not. If a cell includes any of the following, this behavior occurs:

=IF(A1>"", A1, "") //yields an empty string

check if a range of cells is blank or empty in google sheets1

Imported zero-length string from an external database or as a consequence of a copy/paste operation.

Spaces, apostrophes, non-breaking spaces (&nbsp);, linefeeds, and other non-printing characters are permitted.

How to utilize the ISBLANK function in Google Sheets

To obtain a better grasp of the ISBLANK function‘s capabilities, consider these practical applications.

If a cell is blank in Google Sheets, then

Because Google Spreadsheets does not have an IFBLANK function, you must use IF and ISBLANK to test a cell and execute an action if it is empty.

The general version is as follows:

=IF(ISBLANK(B1), "open", "completed")

check if a range of cells is blank or empty in google sheets1

To demonstrate, let’s verify whether a cell in column B (delivery date) has any data. If the cell is empty, output “Open”; if it is not empty, produce “Completed”.

Please keep in mind that the ISBLANK function only returns cells that are completely blank. ISBLANK returns FALSE if a cell contains anything invisible to the human eye, such as a zero-length string.

If any cell in range is blank, then do something

There are many techniques to check a range of cells in Google Sheets for empty cells. We will use an IF statement to output one value if the range has at least one empty cell and another value if the range contains no empty cells. The logical test is performed by calculating the total number of empty cells in the range and then determining if the count is larger than zero. This may be accomplished via the use of  COUNTIF function.

Related Functions

  • Google Sheets ISBLANK function
    The Google Sheets ISBLANK function returns TRUE if the value is blank or null.The syntax of the ISBLANK function is as below:= ISBLANK (value)…
  • Google Sheets IF function
    The Google Sheets IF function perform a logical test to return one value if the condition is TRUE and return another value if the condition is FALSE. The IF function is a build-in function in Microsoft Excel and it is categorized as a Logical Function.The syntax of the IF function is as below:= IF (condition, [true_value], [false_value])….
  • Google Sheets COUNTIF function
    The Google Sheets CHOOSE function returns a value from a list of values based on index. The syntax of the CHOOSE function is as below:=CHOOSE (index_num, value1,[value2],…) …

 

Related Posts

Find And Retrieve Missing Values in Google Sheets
FIND AND RETRIEVE missing values1

Find and retrieve is a common basic operation in Google Sheets for tables. In out daily work, we may encounter this situation that some data was lost after several operations on a table in Google Sheets. In fact, we can ...

Calculating Average Of The Numbers in Google Sheets
_3 Average numbers in google sheets1

Are you weary of investing a lot of time and effort in manually calculating the average of the numbers by including or excluding 0 and calculating the average of the top 3 scores? Then congratulations because you have just landed ...

Calculate The Average Of The Last 3, 5, Or N Numeric Values In Google Sheets
Average the last 3_ 5 or N numeric values in google sheets1

As an Google sheets user, you might have come across a task in which you need to calculate the average values of the last 2 numeric values, and you might have done this task manually but suppose if the last ...

Add Workdays in Google Sheets
Add workdays no weekends in google sheets1

To add or subtract workdays days from a date, respecting holidays but assuming a 7-day week: you can use the WORKDAY.INTL function with an argument that tells it how many days should be subtracted/added as well as which specific holidays ...

Add Row Numbers And Skip Blanks in Google Sheets
Add Row Numbers And Skip Blanks in google sheets1

Do you ever have to input a list of numbers into a spreadsheet in Google Sheets, and some of the cells are blank? It can be difficult to keep track of what number is in which cell when you have ...

Add Months To Date In Google Sheets
Add Months To Date in google sheets1

It is important to adjust time periods when performing financial modeling. In Google Sheets, you can use the MONTH function to add a specific number of months to a date. The MONTH function takes one argument: the number of months ...

Add Leading Zeros in Google Sheets
Add Leading Zeros To Numbers in google sheets1

To pad a number with zeros, you need to add leading spaces and/or carriers. For example, if the original digit contains 2 digits, three additional characters will be added on before it. If there are 3 digits in total, allocating ...

Add Minutes to Time in Google Sheets
Add Minutes to Time in google sheets1

Adding whole hours or decimal minutes to a given time in google sheets is a fairly simple process. You can do this by using the Start_time+TIME(0,minutes,0) and Start_time+minutes/1440 functions. In this add minutes to time guide, we will show you ...

Add Hours to Time in Google Sheets
Add hours to time in google sheets1

Adding whole hours or decimal hours to a given time in Google Sheets is a fairly simple process. You can do this by using the Start_time+TIME(hours,0,0) and Start_time+hours/24 functions. In this add hours to time guide, we will show you ...

Count Cells that are Case Sensitive in Google Sheets
counting the cells that are case sensitive in google sheets1

If you are a frequent user of Google Spreadsheets, you may have come across situations where you needed to add or count the cells that were case-sensitive. If you have done this task manually, I would like to point out ...

Sidebar