Comprehensive List of Excel Formulas
Comprehensive List of Excel Formulas
1. Text Formulas
● LEN: =LEN(text)
Returns the length of a string.
Example: =LEN("Excel") returns 5.
● TRIM: =TRIM(text)
Removes all extra spaces from text except for single spaces between words.
Example: =TRIM(" Hello World ") returns "Hello World".
● UPPER: =UPPER(text)
Converts text to uppercase.
Example: =UPPER("excel") returns "EXCEL".
● LOWER: =LOWER(text)
Converts text to lowercase.
Example: =LOWER("EXCEL") returns "excel".
● PROPER: =PROPER(text)
Capitalizes the first letter of each word.
Example: =PROPER("hello world") returns "Hello World".
● VALUE: =VALUE(text)
Converts text that appears as a number into an actual number.
Example: =VALUE("123") returns 123.
● CHAR: =CHAR(number)
Returns the character specified by a number.
Example: =CHAR(65) returns "A".
● CODE: =CODE(text)
Returns the numeric code of the first character in a string.
Example: =CODE("A") returns 65.
● CLEAN: =CLEAN(text)
Removes all non-printable characters from text.
Example: =CLEAN("Hello") returns "Hello".
4. Logical Formulas
● TODAY: =TODAY()
Returns the current date.
Example: =TODAY() returns the current system date.
● NOW: =NOW()
Returns the current date and time.
Example: =NOW() returns the current system date and time.
● DATE: =DATE(year, month, day)
Returns a date from the specified components.
Example: =DATE(2025, 1, 13) returns January 13, 2025.
● DAY: =DAY(serial_number)
Returns the day of a date.
Example: =DAY(TODAY()) returns the day of the current date.
● MONTH: =MONTH(serial_number)
Returns the month of a date.
Example: =MONTH(TODAY()) returns the current month.
● YEAR: =YEAR(serial_number)
Returns the year of a date.
Example: =YEAR(TODAY()) returns the current year.
● HOUR: =HOUR(serial_number)
Returns the hour of a time.
Example: =HOUR(NOW()) returns the current hour.
● MINUTE: =MINUTE(serial_number)
Returns the minute of a time.
Example: =MINUTE(NOW()) returns the current minute.
● SECOND: =SECOND(serial_number)
Returns the second of a time.
Example: =SECOND(NOW()) returns the current second.
● WEEKDAY: =WEEKDAY(serial_number, [return_type])
Returns the day of the week.
Example: =WEEKDAY(TODAY(), 1) returns 1 for Sunday, 2 for Monday,
and so on.
6. Financial Formulas
7. Array Formulas
● TRANSPOSE: =TRANSPOSE(array)
Converts rows to columns and vice versa.
Example: =TRANSPOSE(A1:C3) converts the rows in A1:C3 into columns.
● UNIQUE: =UNIQUE(array, [by_col], [exactly_once])
Returns a list of unique values.
Example: =UNIQUE(A1:A10) returns the unique values from the range
A1:A10.
● FILTER: =FILTER(array, include, [if_empty])
Filters a range based on criteria.
Example: =FILTER(A1:A10, B1:B10>50) returns values in A1:A10 where
the corresponding value in B1:B10 is greater than 50.
● SORT: =SORT(array, [sort_index], [sort_order], [by_col])
Sorts a range.
Example: =SORT(A1:A10, 1, 1) sorts the range A1:A10 in ascending order.
● ISBLANK: =ISBLANK(value)
Checks if a cell is empty.
Example: =ISBLANK(A1) returns TRUE if A1 is empty.
● ERROR.TYPE: =ERROR.TYPE(error_val)
Returns a number corresponding to an error type.
Example: =ERROR.TYPE(A1) returns a number if A1 contains an error.
● IFERROR: =IFERROR(value, value_if_error)
Returns a value if an error occurs.
Example: =IFERROR(A1/B1, "Error") returns "Error" if B1 is 0 or empty.
● IFNA: =IFNA(value, value_if_na)
Returns a specified value if the formula evaluates to #N/A.
Example: =IFNA(VLOOKUP(101, A1:B10, 2, FALSE), "Not Found")
returns "Not Found" if VLOOKUP results in #N/A.