Excel functions
Information functions
Information functions inspect cells and values. They tell you whether a cell is empty, holds a number, text or an error (the IS functions), what kind of value it is (TYPE, ERROR.TYPE) and facts about the workbook itself (CELL, INFO, SHEET).
Start with these
ISBLANKReturns TRUE if a cell is completely empty and FALSE if it contains anything at all, including a space or a formula that returns "".ISERRORReturns TRUE if a value is any kind of error (#N/A, #DIV/0!, #VALUE!, #REF! and so on), otherwise FALSE.ISNUMBERReturns TRUE if a value is a number (including dates and times), and FALSE for text, blanks, logical values and errors.
All 21 information functions
- CELLReturns information about a cell, such as its address, row, column, content type, number format or the file and sheet name.
- ERROR.TYPEReturns a number that identifies which error a cell contains, e.g. 2 for #DIV/0! and 7 for #N/A, so formulas can react to each error differently.
- INFOReturns information about the current operating environment, such as the operating system, Excel version or calculation mode.
- ISBLANKReturns TRUE if a cell is completely empty and FALSE if it contains anything at all, including a space or a formula that returns "".
- ISERRReturns TRUE if a value is any error except #N/A. Useful when #N/A is expected and should stay visible.
- ISERRORReturns TRUE if a value is any kind of error (#N/A, #DIV/0!, #VALUE!, #REF! and so on), otherwise FALSE.
- ISEVENReturns TRUE if a number is even and FALSE if it is odd. Decimals are truncated first, so 7.9 is treated as 7.
- ISFORMULAReturns TRUE if a cell contains a formula and FALSE if it holds a typed value. Great for finding formulas overwritten with fixed numbers.
- ISLOGICALReturns TRUE if a value is a logical value (TRUE or FALSE), and FALSE for numbers, text, blanks and errors.
- ISNAReturns TRUE if a value is the #N/A error, usually meaning a lookup did not find what it was looking for.
- ISNONTEXTReturns TRUE if a value is anything other than text — a number, date, logical value, error or empty cell — and FALSE for text.
- ISNUMBERReturns TRUE if a value is a number (including dates and times), and FALSE for text, blanks, logical values and errors.
- ISODDReturns TRUE if a number is odd and FALSE if it is even. Any decimal part is dropped before the test.
- ISOMITTEDChecks inside a LAMBDA whether an optional parameter was left out, so your custom function can fall back to a default value.
- ISREFReturns TRUE if the argument is a valid cell reference and FALSE otherwise. Often used with INDIRECT to check that a sheet exists.
- ISTEXTReturns TRUE if a value is text, including numbers stored as text, and FALSE for numbers, dates, blanks, logical values and errors.
- NConverts a value to a number: numbers stay as they are, dates become serial numbers, TRUE becomes 1, and text or FALSE becomes 0.
- NAReturns the #N/A error on purpose, to mark a value as not available — for example so a chart skips a point instead of plotting zero.
- SHEETReturns the position number of a sheet in the workbook: the current sheet, the sheet of a reference, or a sheet named in text.
- SHEETSReturns the number of sheets in a reference, or in the whole workbook when no reference is given. Hidden sheets are included.
- TYPEReturns a code for the kind of value: 1 number, 2 text, 4 logical, 16 error, 64 array (and 128 for compound data in Microsoft 365).