ISBLANK, ISNUMBER, ISTEXT and ISERROR in Excel: data-checking functions
Use ISBLANK, ISNUMBER, ISTEXT and ISERROR to catch empty cells, numbers stored as text and errors — check columns, data cleaning and traps with examples.
The IS functions answer one question about a cell: is it empty? a number? text? an error? The answer is always TRUE or FALSE. The ones you will use most are ISBLANK, ISNUMBER, ISTEXT and ISERROR.
They don’t calculate anything themselves, but they protect your calculations. Before you use a payment export from accounting software, a survey or a CSV file, you add one check column — and instantly see empty cells, numbers stored as text and errors.
On its own an IS function just returns TRUE/FALSE. Its real power shows up with IF: “if it’s empty, warn me; if it’s a number, calculate”.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Client | Payment | Check | |
| 2 | Aziz | 450 000 | OK | |
| 3 | Dilnoza | Missing | ||
| 4 | Javohir | 3000001 | Text — fix it | |
| 5 | Madina | 520 000 | OK | |
| 6 | Sardor | not paid | Text — fix it | |
| 7 |
Syntax
Every IS function takes one argument and returns TRUE or FALSE:
=ЕПУСТО(value)— TRUE if the cell is completely empty.=ЕЧИСЛО(value)— TRUE for a number (dates and times are numbers too!).=ЕТЕКСТ(value)— TRUE for text (including numbers stored as text).=ЕОШИБКА(value)— TRUE for any error: #N/A, #VALUE!, #DIV/0!, #REF!, #NAME? and the rest.
value is a cell reference (B2), an expression (B2/C2) or another function’s result (SEARCH("a",A2)).
Other family members: ISNA — only #N/A, ISERR — every error except #N/A, ISLOGICAL — TRUE/FALSE values, ISNONTEXT — anything that is not text, ISFORMULA — whether the cell holds a formula, ISEVEN/ISODD — even/odd numbers.
Adding a check column
1
Select the first empty cell next to your data (for example, C2) and give the column a header: “Number?”.
2
Go to Формулы → Вставить функцию. In Or select a category choose Information — all IS functions live there. Pick ISNUMBER and click OK.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Client | Payment | Number? | |
| 2 | Aziz | 450 000 | ||
| 3 | Dilnoza | |||
| 4 | Javohir | 300000 | ||
| 5 |
3
Enter B2 in the Value box and click OK. The faster way: type =ЕЧИСЛО(B2) straight into the cell and press Enter.
4
Select C2 and double-click the fill handle (bottom-right corner) — the formula fills down to the end of the data. Rows showing FALSE need fixing.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Client | Payment | Number? | |
| 2 | Aziz | 450 000 | ИСТИНА | |
| 3 | Dilnoza | ЛОЖЬ | ||
| 4 | Javohir | 300000 | ЛОЖЬ | |
| 5 | Madina | 520 000 | ИСТИНА | |
| 6 |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Address | Tashkent? | ||
| 2 | Tashkent city, Chilanzar | ИСТИНА | ||
| 3 | Samarkand, Registan St. | ЛОЖЬ | ||
| 4 | TASHKENT REGION, Chirchiq | ИСТИНА | ||
| 5 | Bukhara city, Mustaqillik | ЛОЖЬ | ||
| 6 |
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Branch | Plan | Actual | Achieved | |
| 2 | Tashkent | 50 000 000 | 56 000 000 | 112% | |
| 3 | Samarkand | 0 | 12 000 000 | No plan | |
| 4 | Bukhara | 30 000 000 | 27 000 000 | 90% | |
| 5 |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Product | Price | Text? | |
| 2 | Bread | 4 000 | ЛОЖЬ | |
| 3 | Milk | 12000 | ИСТИНА | |
| 4 | Rice | 18 500 | ЛОЖЬ | |
| 5 | Tea | 35 000 | ИСТИНА | |
| 6 | Sugar | 14 000 | ЛОЖЬ | |
| 7 | To fix: | 2 | ||
| 8 |
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | What’s in the cell | Value | ISBLANK | B="" | LEN(TRIM)=0 | |
| 2 | Nothing | ИСТИНА | ИСТИНА | ИСТИНА | ||
| 3 | A space | ЛОЖЬ | ЛОЖЬ | ИСТИНА | ||
| 4 | Formula ="" | ЛОЖЬ | ИСТИНА | ИСТИНА | ||
| 5 | Zero | 0 | ЛОЖЬ | ЛОЖЬ | ЛОЖЬ | |
| 6 |
Pro level: IS functions as data guards
IS functions are useful far beyond a helper column:
- Is it in the list?
=ЕЧИСЛО(ПОИСКПОЗ(A2;$E$2:$E$20;0))tells you with TRUE/FALSE whether a client is on a blacklist or a promo list. On large tables it is faster than COUNTIF. - Block bad input. Данные → Проверка данных → Allow: Custom, Formula:
=ЕЧИСЛО(B2). Now nobody can type text into column B — the error is stopped at the source. - Highlight it. Условное форматирование → New Rule → “Use a formula…”:
=ЕТЕКСТ($B2)turns prices stored as text red. - IFERROR or IF(ISERROR())? The result is the same, but
=ЕСЛИОШИБКА(C2/B2;"No plan")is shorter and doesn’t evaluate the expression twice. Keep IF+ISERROR for cases where the non-error branch must do something completely different.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Client | Blacklisted? | Blacklist | ||
| 2 | Aziz | ЛОЖЬ | Sardor | ||
| 3 | Sardor | ИСТИНА | Javohir | ||
| 4 | Dilnoza | ЛОЖЬ | |||
| 5 | Javohir | ИСТИНА | |||
| 6 |
Try it in the simulator
Check the stock levels. Type =ЕЧИСЛО(B2) in C2 and fill down to C6, then =ЕПУСТО(B2) in D2 and fill down to D6. Find which products need their stock fixed.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Product | Stock | Number? | Empty? | ||||||||||||||||||||
| 2 | Flour | 120 | ||||||||||||||||||||||
| 3 | Sugar | |||||||||||||||||||||||
| 4 | Rice | 85 | ||||||||||||||||||||||
| 5 | Oil | 40 | ||||||||||||||||||||||
| 6 | Tea | none | ||||||||||||||||||||||
| 7 | ||||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.