ISNUMBER
Checking cells with ISNUMBER, ISTEXT and ISBLANK
Module 3 of 12 Spreadsheet in your browser
Lesson concept What you'll do
1 / 6Find the cells that hold the wrong kind of value.
ISNUMBER, ISTEXT and ISBLANK each answer TRUE or FALSE about one cell.
On your own New data, same idea
SUM skips quantities stored as text. Show "Text" in C2:C8 for those (words, or numbers stored as text), otherwise "OK". Write one formula in C2 and copy it down.
Typing formulas is easiest on a computer with a keyboard.
A1
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Quantity | Text? | |
| 2 | Monitor Stand | TBC | ||
| 3 | Headset | 21 | ||
| 4 | Office Chair | |||
| 5 | Bookshelf | 29 | ||
| 6 | USB-C Hub | 39 | ||
| 7 | Notebook A5 | 15 | ||
| 8 | Filing Cabinet | 10 | ||
| 9 | ||||
| 10 | ||||
| 11 | ||||
| 12 |
Type to enter a value or a formula starting with =. F2 edits, F4 adds $ to a reference.
How ISNUMBER and ISTEXT and ISBLANK works
What do
ISNUMBER,ISTEXTandISBLANKdo?They ask what kind of value a cell holds, and answer
TRUEorFALSE:ISNUMBER(B2): is it a number?ISTEXT(B2): is it text?ISBLANK(B2): is it empty?
Why can a number be text?
A number typed with an apostrophe in front, or copied from another system, can be stored as text. It looks the same, but
ISNUMBERsaysFALSE,ISTEXTsaysTRUEandSUMskips it. In Excel it sits on the left of the cell, where real numbers sit on the right.How do you use them in
IF?Use one as
IF's question:=IF(ISNUMBER(B2),"OK","Check")flags anything that isn't a real number, blanks included.=IF(ISTEXT(B2),"Text","OK")finds words and numbers stored as text.=IF(ISBLANK(B2),"Missing","OK")finds the gaps.
Know someone fighting with a spreadsheet? Send them this page.