Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Use Data Form to input, edit and delete records in Excel
  • How To Filter Data in Excel
  • How To Load Analysis ToolPak in Excel
  • Conditional Formatting New Rule with Formulas in Excel
  • How to Create One and Two Variable Data Tables in Excel

References

  • How to get address of first cell in range in Excel
  • How to use Excel INDIRECT Function
  • Count rows with at least n matching values
  • How to get last row in mixed data with blanks in Excel
  • How to create dynamic named range with OFFSET in Excel

Data Validations

  • Excel Data validation must not contain
  • Excel Data validation with conditional list
  • Excel Data validation whole percentage only
  • Excel Data validation must contain specific text
  • Data validation must not exist in list

If cell is blank in Excel

by

This tutorial shows how to calculate If cell is blank in Excel using the example below;

Formula

=IF(A1="","blank","not blank")

Explanation

To test a cell and take some action if the cell is blank (empty), you can use the IF function. The formula in cell E5 is:

=IF(D5="","Open","Closed")

How this formula works

The logical expression =”” means “is empty”. In the example shown, column D contains a date if a task has been completed. In column E, a formula checks for blank cells in column D. If a cell is blank, the result is a status of “Open”. If the cell contains value (a date in this case, but it could be any value) the formula returns “Closed”.

Worked Example:   Return blank if in Excel

The effect of showing “Closed” in light gray is accomplished with a conditional formatting rule.

Worked Example:   Highlight blank cells in Excel

Display nothing if cell is blank

To display nothing if a cell is blank, you can replace the “value if false” argument in the IF function with an empty string (“”) like this:

=IF(D5="","","Closed")

Alternative with ISBLANK

Excel contains a function made to test for blank cells called ISBLANK. To use the ISBLANK, you can revise the formula as follows:

=IF(ISBLANK(D5),"Open","Closed")

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

How to Create Gantt Chart in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • Excel If, Nested If, And/Or Criteria Examples
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel XOR Function

Date Time

  • Display the current date in Excel
  • Get days, months, and years between dates in Excel
  • Convert date to Julian format in Excel
  • How to join date and text together in Excel
  • Calculate days remaining in Excel

Grouping

  • Calculate conditional mode with criteria in Excel
  • Running count group by n size in Excel
  • How to randomly assign people to groups in Excel
  • Group arbitrary text values in Excel
  • How to randomly assign data to groups in Excel

General

  • How to fill cell ranges with random number from fixed set of options in Excel
  • Share Excel data with Word documents
  • Using Existing Templates in Excel
  • How to generate random number weighted probability in Excel
  • List worksheet index numbers in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning