All Excel Functions
All Excel Functions
Statistical function
Function Name Description Example Real-Life Use Case
meet multiple
conditions.
Math Functions:-
Function Name Description Example Real-Life Use Case
Rounds a number to a
specified number of Rounding prices to two decimal
ROUND digits. =ROUND(3.14159, 2) places for invoices.
Rounds a number up
to the nearest
multiple of Rounding up time to the nearest
CEILING significance. =CEILING(7, 2) 15 minutes for billing.
Rounds a number
down to the nearest
multiple of Rounding down prices to the
FLOOR significance. =FLOOR(7, 2) nearest dollar.
Rounds a number
down to the nearest Calculating the number of full
INT integer. =INT(5.9) days between two dates.
Truncates a number
to an integer by
removing the Removing cents from a price to
TRUNC fractional part. =TRUNC(8.9) show only whole dollars.
Function Name Description Example Real-Life Use Case
Returns the
remainder after a
number is divided by a Determining if a number is even
MOD divisor. =MOD(10, 3) or odd.
Returns e raised to
the power of a given Calculating continuous compound
EXP number. =EXP(1) interest.
Returns a random
number between 0
RAND and 1. =RAND() Generating random test data.
Returns a random
integer between two Assigning random prizes in a
RANDBETWEEN specified numbers. =RANDBETWEEN(1, 100) contest.
Multiplies
corresponding
elements in arrays Calculating weighted averages or
and returns the sum =SUMPRODUCT(C1:C5, total revenue from unit prices and
SUMPRODUCT of the products. D1:D5) quantities.
Logical Functions:-
Function
Name Description Example Real-Life Use Case
Checks whether a
condition is met and Grading students based on
returns one value if TRUE their scores (e.g., Pass if
IF and another if FALSE. =IF(A1>50, "Pass", "Fail") score > 50, Fail otherwise).
Searches for a
specified item in a Finding the row number
range and returns its where "Banana" appears
MATCH relative position. =MATCH("Banana", A1:A10, 0) in a list.
Looks up a value in a
one-row or one-
column range and
retrieves a value from Finding the price of
the same position in =LOOKUP("Orange", A1:A10, "Orange" in a list of fruits
LOOKUP another range. B1:B10) and prices.
Converts a vertical
range of cells into a Rotating a column of data
horizontal range, or into a row for better layout
TRANSPOSE vice versa. {=TRANSPOSE(A1:A5)} or analysis.
Tracking deadlines or
calculating how many
days are left until a
TODAY Returns the current date. =TODAY() project deadline.
Calculating employee
Extracts the year from a tenure based on hire
YEAR given date. =YEAR("10/5/2023") → 2023 dates.
Timing events or
Extracts the second from a processes down to the
SECOND given time. =SECOND("2:30:45 PM") → 45 second.
Database Function:-
Function
Name Description Example Real-Life Use Case
Counts non-blank
entries in a database Counting how many products
column that meet =DCOUNTA(A1:C10, "Product", meet specific conditions (e.g., in
DCOUNTA specified criteria. E1:F2) stock).
Combines
multiple text Creating full names
strings into one =CONCATENATE("Hello", " ", "World") → "Hello from first and last
CONCATENATE string. World" names.
Combines
multiple text
strings with a
delimiter and Generating a
optionally comma-separated
ignores blank list of names or
TEXTJOIN cells. =TEXTJOIN(", ", TRUE, A1:A5) items.
Removes extra
spaces from
text, leaving
only single Fixing inconsistent
spaces spacing in user-
between entered data or
TRIM words. =TRIM(" Hello World ") → "Hello World" imported text.
Replaces part
of a text string
with new text, Modifying parts of
based on strings (e.g.,
position and =REPLACE("2023-10-05", 6, 2, "Nov") → "2023- updating month
REPLACE length. Nov-05" names).
Extracts a
specified
number of
characters from Extracting initials,
the start of a prefixes, or codes
LEFT text string. =LEFT("Hello World", 5) → "Hello" from text data.
Extracts a
specified
number of Extracting file
characters from extensions or
the end of a suffixes from text
RIGHT text string. =RIGHT("Hello World", 5) → "World" data.
Extracts a
substring from
the middle of a Extracting specific
text string, portions of text
MID =MID("Hello World", 7, 5) → "World"
starting at a (e.g., extracting
Function Name Description Example Real-Life Use Case
Validating input
lengths (e.g.,
Returns the ensuring passwords
number of meet minimum
characters in a character
LEN text string. =LEN("Hello World") → 11 requirements).
Finds the
position of one Locating keywords
text string or substrings in text
within another (e.g., finding a
(case- product name in
SEARCH insensitive). =SEARCH("World", "Hello World") → 7 descriptions).
Finds the
position of one
text string
within another Identifying exact
(case- matches for case-
FIND sensitive). =FIND("world", "Hello World") → #VALUE! sensitive searches.
Standardizing text
Converts text for comparisons or
UPPER to uppercase. =UPPER("hello world") → "HELLO WORLD" reporting.
Converts text
to proper case
(capitalizes the Formatting names,
first letter of titles, or addresses
PROPER each word). =PROPER("hello world") → "Hello World" correctly.
Function Name Description Example Real-Life Use Case
Checks if a
value is a
number and Validating numeric
returns TRUE input in forms or
ISNUMBER or FALSE. =ISNUMBER(123) → TRUE datasets.
Checks if a
value is text
and returns Validating text input
ISTEXT TRUE or FALSE. =ISTEXT("Hello") → TRUE in forms or datasets.
Checks if a cell
is empty and Detecting missing
returns TRUE data in surveys or
ISBLANK or FALSE. =ISBLANK(A1) reports.
Checks if a
value is an Handling errors
error and gracefully in
returns TRUE calculations or
ISERROR or FALSE. =ISERROR(#DIV/0!) → TRUE formulas.
Returns a
specified value
if a formula
results in an
error; Providing user-
otherwise, friendly error
returns the messages instead of
IFERROR formula result. =IFERROR(A1/B1, "Error") raw error codes.
Checks multiple
conditions and
returns a value
corresponding Simplifying complex
to the first grading systems or
TRUE =IFS(A1>90, "A", A1>80, "B", A1>70, "C", TRUE, decision-making
IFS condition. "F") processes.
Function Name Description Example Real-Life Use Case
Matches an
expression
against a list of
values and
returns a Simplifying decision-
corresponding =SWITCH(A1, "Red", "Stop", "Green", "Go", making logic (e.g.,
SWITCH result. "Yellow", "Caution", "Unknown") traffic light systems).
Returns a list of
unique values
from a range or Removing duplicates
array (available from a dataset for
in Excel analysis or
UNIQUE 365/2021). =UNIQUE(A1:A10) reporting.
Generates a list
of sequential
numbers in an
array (available Creating numbered
in Excel lists or generating
SEQUENCE 365/2021). =SEQUENCE(5, 1, 1, 1) test data.