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

Data Analysis

  • Reverse List in Excel
  • How to calculate current stock or inventory in Excel
  • Managing Conditional Formatting Rules in Excel
  • How To Remove Duplicates In Excel Column Or Row?
  • Conflicting Multiple Conditional Formatting Rules in Excel

References

  • LOOKUP function: Description, Usage, Syntax, Examples and Explanation
  • Basic INDEX MATCH approximate in Excel
  • How to create dynamic named range with OFFSET in Excel
  • How to get address of named range in Excel
  • How to get last row in numeric data in Excel

Data Validations

  • Excel Data validation must not contain
  • Data validation must not exist in list
  • Excel Data validation number multiple 100
  • Excel Data validation don’t exceed total
  • Excel Data validation no punctuation

How to return TRUE when all cells in range are blank in Excel

by

To return TRUE when all cells in a range are blank or empty, you can use a formula based on SUMPRODUCT and a logical test that suits the use case.

Formula

=SUMPRODUCT(--(range<>""))=0

Explanation

In the example shown, the formula in E5 is:

=SUMPRODUCT(--(B5:D5<>""))=0

How this formula works

Working from the inside out, this formula contains an expression inside SUMPRODUCT that tests each cell in a range like so:

--(B5:D5<>"")

Inside the parentheses, the result of B5:D5<>”” looks like this:

{TRUE,FALSE,TRUE}

The double hyphen then converts the TRUE FALSE values to one’s and zeros:

{1,0,1}

Note that the 1’s in this array correspond to cells that are not blank or empty. Then, with only one array to work with, SUMPRODUCT simply multiples these values together and returns the result.

Any time the result is greater than zero, we know that not every cell in the range is blank. To force the formula to return TRUE if every cell is blank, and FALSE if not, we simply add =0 to the end of the formula.

Post navigation

Previous Post:

How to calculate project complete percentage in Excel

Next Post:

Popularly Used Excel Functions and their examples

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
  • SWITCH function example in Excel
  • IFS function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • How to use Excel FALSE Function

Date Time

  • Steps to create Dynamic calendar grid in Excel
  • Basic timesheet formula with breaks in Excel
  • TIME function: Description, Usage, Syntax, Examples and Explanation
  • Add months to date in Excel
  • Add days exclude certain days of week in Excel

Grouping

  • Map text to numbers in Excel
  • How to randomly assign people to groups in Excel
  • Running count group by n size in Excel
  • Categorize text with keywords in Excel
  • Calculate conditional mode with criteria in Excel

General

  • How to generate random number weighted probability in Excel
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
  • Freeze and Unfreeze Panes in Excel
  • How to get original price from percentage discount in Excel
  • Hide and Unhide Columns or Rows in Excel
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning