ISNUMBER function
Returns TRUE if a value is a number (including dates and times), and FALSE for text, blanks, logical values and errors.
Available in All versions of Excel, including Microsoft 365 and Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
ISNUMBER(value)| Argument | What it means | |
|---|---|---|
value | Required | The value, cell or formula result to test. |
Returns: TRUE if value is numeric; otherwise FALSE.
How ISNUMBER works
ISNUMBER checks whether something is a real number that Excel can calculate with. Dates and times count as numbers too, because Excel stores them as serial numbers (1 January 2026 is 46023). Text, empty cells, TRUE/FALSE and errors all return FALSE.
Its most valuable everyday use is catching numbers stored as text — values imported from a CSV, a web page or another system that look like numbers but are really text. They are often left-aligned and show a small green triangle, and they are silently ignored by SUM and AVERAGE. =ISNUMBER(B3) returning FALSE for a value that looks like 189 tells you exactly that.
ISNUMBER is also the classic partner of SEARCH and FIND. Those functions return a position number when they find a piece of text and #VALUE! when they do not, so ISNUMBER(SEARCH("pro", A2)) becomes a clean "does this cell contain pro?" test that works in IF, FILTER, SUMPRODUCT counts and conditional formatting.
Examples
1A real number
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Product | Price | Launch date | |
| 2 | Laptop Pro 14 | 1250 | 2026-03-15 | TRUE |
| 3 | Docking station | 189 | 2026-04-01 |
Result: TRUE
B2 holds the number 1,250, so ISNUMBER returns TRUE.
2A number stored as text
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Product | Price | Launch date | |
| 2 | Laptop Pro 14 | 1250 | 2026-03-15 | |
| 3 | Docking station | 189 | 2026-04-01 | FALSE |
Result: FALSE
B3 shows 189 but was imported as text (it sits on the left of the cell with a green triangle). ISNUMBER exposes the problem; convert it with VALUE or Data > Text to Columns.
3Does the product name contain "pro"?
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | Price | Launch date | ||
| 2 | Laptop Pro 14 | 1250 | 2026-03-15 | TRUE | |
| 3 | Docking station | 189 | 2026-04-01 |
Result: TRUE
SEARCH finds Pro at position 8 of Laptop Pro 14 (it ignores case) and returns 8; ISNUMBER turns that into TRUE. For Docking station SEARCH returns #VALUE! and the result is FALSE.
4Dates are numbers
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Product | Price | Launch date | ||
| 2 | Laptop Pro 14 | 1250 | 2026-03-15 | ||
| 3 | Docking station | 189 | 2026-04-01 | TRUE |
Result: TRUE
C2 is a real date, stored as the serial number 46096, so ISNUMBER returns TRUE. A date typed as text (for example imported as 15.03.2026 in the wrong regional format) would return FALSE — a quick way to find bad dates.
Tips
- Count real numbers in a column with
=SUMPRODUCT(--ISNUMBER(B2:B100))and compare with COUNTA to find how many entries are text. - For a case-sensitive "contains" test use FIND instead of SEARCH inside ISNUMBER.
- Data validation with the custom rule
=ISNUMBER(B2)refuses anything that is not a number.
Questions
Why does ISNUMBER return FALSE for a cell that shows a number?
The value is stored as text, which often happens with imported data or numbers typed after an apostrophe. Convert it with VALUE, multiply by 1, or use Data > Text to Columns > Finish.
How do I check whether a cell contains certain text?
Use =ISNUMBER(SEARCH("text", A2)). SEARCH returns a position when the text is found and an error when it isn't, and ISNUMBER turns that into TRUE or FALSE.
Google Sheets
ISNUMBER also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
ISNUMBER in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | JE.ČISLO |
| Danish | ER.TAL |
| Dutch | ISGETAL |
| Finnish | ONLUKU |
| French | ESTNUM |
| German | ISTZAHL |
| Hungarian | SZÁM |
| Italian | VAL.NUMERO |
| Norwegian (Bokmål) | ERTALL |
| Polish | CZY.LICZBA |
| Portuguese (Brazil) | ÉNÚM |
| Portuguese (Portugal) | É.NÚM |
| Russian | ЕЧИСЛО |
| Spanish | ESNUMERO |
| Swedish | ÄRTAL |
| Turkish | ESAYIYSA |
Recipes that use ISNUMBER
- How to check if a cell contains a word in Excel
- How to convert text to a date in Excel
- How to count cells that contain text in Excel
- How to find duplicates between two lists in Excel
- How to use conditional formatting with a formula in Excel