Excel: Formula to Check if Cell Is Blank (Empty)Last reviewed: November 30, 1994Article ID: Q29492 |
The information in this article applies to:
SUMMARYTo test if a cell in Microsoft Excel versions 1.50 or later is blank (empty), use the statement
=IF(ISBLANK(ref),Value-if-True,Value-if-False)where "ref" is the cell to be tested. If ref is empty, Value-if-True is returned. If ref contains something, Value-if-False is returned. If you are using Microsoft Excel version 1.06 or earlier, use the following formula:
=IF(ref="",Value-if-True,Value-if-False) |
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |