Excel formula library
Excel Tutorial
Every Excel formula in one place — search, filter by category or level, then open syntax, samples, and pitfalls. New formulas added to the library appear here automatically.
Formula list
Find any Excel formula
Filter by category — Math, Lookup, FILTER and other Dynamic Arrays, Text, Date, and more — then open a formula for syntax and examples.
- Math & Arithmetic 12
- Statistical Analysis 15
- Logical & Conditional 6
- Lookup & Reference 13
- Date & Time 17
- Text & Strings 25
- Information & Arrays 12
- Dynamic Arrays (365) 6
- Enhanced Lookup (365) 2
- Advanced Calculation (365) 6
- Text & Reshaping (365) 13
No formulas match that search or filter.
Chapter 7
Information & Arrays
-
89 TRANSPOSE =TRANSPOSE(array) Returns a vertical range of cells as a horizontal range, or vice versa. Flips the rows and columns of an array.
Syntax
=TRANSPOSE(array)Arguments
- array
- An array or range of cells on a worksheet that you want to transpose.
Sample
=TRANSPOSE(A2:D2)Result Vertical Array
Sample data
DownloadPro tipIn modern Microsoft 365, dynamic arrays spill automatically. In legacy Excel, select destination and press Ctrl + Shift + Enter.
Common pitfallDestination area must have enough empty cells to avoid a #SPILL! error.
-
90 ISBLANK =ISBLANK(value) Returns TRUE if the value refers to an empty cell. Essential for verifying form submissions.
Syntax
=ISBLANK(value)Arguments
- value
- The cell you want to test.
Sample
=ISBLANK(B2)Result FALSE
Sample data
DownloadA B C D 2 Rohan Sharma 9811122233 FALSE Filled 3 Kabir Verma TRUE Missing Contact! 4 Meena Gupta 9822233344 FALSE Filled Pro tipA cell with a formula returning "" is NOT blank according to ISBLANK (it returns FALSE). Use A2="" if you want to test for empty display.
Common pitfallInvisible space characters make a cell appear empty to the eye, but ISBLANK returns FALSE.
-
91 ISERROR =ISERROR(value) Returns TRUE if the value is any error value (#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!).
Syntax
=ISERROR(value)Arguments
- value
- The value or cell reference to test for an error condition.
Sample
=ISERROR(B2)Result FALSE
Sample data
DownloadA B C D 2 100 / 2 50 FALSE Clean number 3 100 / 0 #DIV/0! TRUE Division by zero! 4 VLOOKUP missing #N/A TRUE Key not found Pro tipISERROR catches all errors including #N/A, whereas ISERR catches all errors EXCEPT #N/A.
Common pitfallISERROR only identifies IF an error exists (TRUE/FALSE); use IFERROR if you want to replace the error with another value.
-
92 ISNA =ISNA(value) Returns TRUE if the value refers to the #N/A error value specifically. Pinpoints missing lookup matches.
Syntax
=ISNA(value)Arguments
- value
- The value or cell to test for #N/A.
Sample
=ISNA(B2)Result TRUE
Sample data
DownloadA B C D 2 SKU-999 #N/A TRUE Item missing in catalog 3 SKU-101 350.00 FALSE Valid price retrieved 4 SKU-102 #DIV/0! FALSE Mathematical error, not #N/A Pro tipPair with IF: =IF(ISNA(VLOOKUP(...)), "Add to Inventory", "In Stock").
Common pitfallISNA ignores other errors like #VALUE! or #REF!; it only responds to #N/A.
-
93 ISNUMBER =ISNUMBER(value) Returns TRUE if the value is a number, date, or time serial; returns FALSE otherwise.
Syntax
=ISNUMBER(value)Arguments
- value
- The value to test.
Sample
=ISNUMBER(B2)Result TRUE
Sample data
DownloadA B C D 2 Sales 350 TRUE Genuine number 3 Date 10-Apr-2025 TRUE Dates are serial numbers! 4 Text ID "E-101" FALSE String text Pro tipBecause SEARCH returns a number when text is found, =ISNUMBER(SEARCH("word", A1)) is the gold-standard test for "cell contains word".
Common pitfallNumbers enclosed in quotes like "123" return FALSE because Excel considers them text.
-
94 ISTEXT =ISTEXT(value) Returns TRUE if the value is text. Useful for catching entries where text was typed into numeric columns.
Syntax
=ISTEXT(value)Arguments
- value
- The value to test.
Sample
=ISTEXT(B2)Result TRUE
Sample data
DownloadA B C D 2 Name Rohan Sharma TRUE String 3 Sales 350 FALSE Number 4 Date 10-Apr-2025 FALSE Date (Numeric serial) Pro tipFormulas returning "" (empty string) return TRUE for ISTEXT.
Common pitfallA date formatted as text returns TRUE, while a true Excel serial date returns FALSE.
-
95 ISLOGICAL =ISLOGICAL(value) Returns TRUE if the value is a logical boolean expression (TRUE or FALSE); otherwise returns FALSE.
Syntax
=ISLOGICAL(value)Arguments
- value
- The value you want to test.
Sample
=ISLOGICAL(B2)Result TRUE
Sample data
DownloadA B C D 2 Is Active TRUE TRUE Boolean value 3 Is Expired FALSE TRUE Boolean value 4 Status Text "TRUE" FALSE Text in quotes (not boolean) Pro tip1 and 0 are numbers, not booleans, so ISLOGICAL(1) is FALSE.
Common pitfallTyping "TRUE" with quotes is text; ISLOGICAL("TRUE") is FALSE.
-
96 ISFORMULA =ISFORMULA(reference) Returns TRUE if there is a reference to a cell that contains a formula. Audits financial models for unauthorized hardcoding.
Syntax
=ISFORMULA(reference)Arguments
- reference
- A reference to the cell you want to test.
Sample
=ISFORMULA(B2)Result TRUE
Sample data
DownloadA B C D 2 Q1 Total =SUM(C2:C5) TRUE Dynamic Formula 3 Bonus Amount 5000 FALSE Hardcoded Constant! 4 Net Margin =B5/B1 TRUE Dynamic Formula Pro tipApply conditional formatting across entire financial models with =NOT(ISFORMULA(A1)) to immediately catch rogue hardcoded numbers.
Common pitfallISFORMULA only takes a single cell reference, not a multi-cell range.
-
97 ISEVEN =ISEVEN(number) Returns TRUE if the number is even, or FALSE if the number is odd. Commonly used for zebra shading alternating rows.
Syntax
=ISEVEN(number)Arguments
- number
- The value to test.
Sample
=ISEVEN(A2)Result FALSE
Sample data
DownloadA B C D 2 1 FALSE White row Odd 3 2 TRUE Gray row Even 4 3 FALSE White row Odd Pro tipUse =ISEVEN(ROW()) as a conditional formatting formula to create clean alternating shaded table rows.
Common pitfallNon-numeric text arguments cause a #VALUE! error.
-
98 ISODD =ISODD(number) Returns TRUE if the number is odd, or FALSE if number is even.
Syntax
=ISODD(number)Arguments
- number
- The value to test.
Sample
=ISODD(A2)Result TRUE
Sample data
DownloadA B C D 2 1 TRUE 1 Odd Number 3 2 FALSE 0 Even Number 4 3 TRUE 1 Odd Number Pro tipZero is considered an even number by Excel, so ISODD(0) returns FALSE.
Common pitfallDecimals are truncated toward zero before testing (e.g. ISODD(3.8) evaluates as 3 and returns TRUE).
-
99 TYPE =TYPE(value) Returns the type of value. 1 = number, 2 = text, 4 = logical value, 16 = error value, 64 = array.
Syntax
=TYPE(value)Arguments
- value
- Any Excel value, such as a number, text, or error.
Sample
=TYPE(B2)Result 2 (Text)
Sample data
DownloadA B C D 2 Cell A "Rohan" 2 Text / String 3 Cell B 350 1 Number 4 Cell C TRUE 4 Logical Boolean Pro tipUse TYPE inside IF to route processing: =IF(TYPE(A1)=1, A1*1.18, "Invalid Price").
Common pitfallTYPE cannot distinguish between a formula and its result; it only evaluates the resulting output type.
-
100 HYPERLINK =HYPERLINK(link_location, [friendly_name]) Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the internet.
Syntax
=HYPERLINK(link_location, [friendly_name])Arguments
- link_location
- Path and file name to the document to be opened, or web URL.
- [friendly_name]
- The jump text or numeric value that is displayed in the cell.
Sample
=HYPERLINK("https://excel.com", "Excel Automation")Result Excel Automation (Clickable)
Sample data
DownloadA B C D 2 Portal https://excel.com Excel Automation Opens website in browser 3 Support mailto:hr@corp.com Email HR Dept Opens email client 4 Sheet Jump #Summary!A1 Jump to Summary Navigates to Summary sheet Pro tipTo jump to a cell within the current workbook, start link_location with a hash #: =HYPERLINK("#'Sheet2'!A1", "Go to Sheet 2").
Common pitfallBoth link_location and friendly_name must be enclosed in quotation marks if entered as literal text strings.
