Excel formula sheet
Excel formula sheet
Conditional Functions
sum_range: (Optional) The range of cells to sum. If omitted, Excel sums the cells in the range itself.
average_range: (Optional) The range of cells to average. If omitted, Excel averages the cells in the range
5- Count: counts the number of cells that contain numbers in a given range
=COUNT(range)
6- CountIF: counts the number of cells that meet a single condition.
=COUNTIF (range, criteria)
7- CountIFS: counts the number of cells that meet multiple criteria
=COUNTIFS (criteria_range1, criteria1, [criteria_range2, criteria2], ...)
8- Count A: counts the number of non-empty cells in a given range, regardless of the data type
(numbers, text, or any other content)
=COUNTA(range)
2- DCountA: Counts non-empty cells from a database or list that meet certain criteria
=DCOUNTA (database, field, criteria)
3- DGET: Extracts a single value from a column in a database that meets specific criteria. If more
than one value meets the criteria, it returns an error
=DGET (database, field, criteria)
4- DMIN: minimum numeric value in a column of a database that meets specific criteria
=DMIN (database, field, criteria)
5- DMAX: maximum numeric value in a column of a database that meets specific criteria
=DMAX (database, field, criteria)
6- DAVERAGE: average of numeric values in a column of a database that meet specific criteria
=DAVERAGE (database, field, criteria)
7- DSUM: Sums numeric values in a column of a database that meet specific criteria.
=DSUM (database, field, criteria)
IF Functions
1- IF: evaluates a condition and returns one value if the condition is true and another value if the
condition is false
=IF (logical_test, value_if_true, value_if_false)
"A" if greater than 90, "B" if greater than 80, "C" if greater than 70, and "F" otherwise.
3- IF with AND: The AND function returns true only if all the conditions are met. When used with IF
you can execute a specific action if all conditions are true.
=IF (AND (condition1, condition2, ...), value_if_true, value_if_false)
Example: =IF (AND (A1 > 10, B1 < 20), "Both conditions met", "Conditions not met")
4- If with OR: The OR functions returns True if at least one of the conditions is met. When
combined with IF, you can specify an action if any of the conditions are true
=IF (OR (condition1, condition2, ...), value_if_true, value_if_false)
Use if with AND when you need all conditions to be true for a certain action to occur
Use if with OR when any one of the conditions being true is sufficient for the action
lookup_value: The value you want to find in the first row of the table.
table_array: The range of cells that contains the data (including the row with the lookup value).
row_index_number: The row number in the table from which to retrieve the value (the first row is 1).
range_lookup: (Optional) TRUE for an approximate match or FALSE for an exact match. Default is TRUE.
lookup_value: The value you want to find in the first column of the table.
table_array: The range of cells that contains the data (including the column with the lookup value).
col_index_number: The column number in the table from which to retrieve the value (the first column is
1).
range_lookup: (Optional) TRUE for an approximate match or FALSE for an exact match. Default is TRUE.
Feature HLookup VLookup
Search direction Horizontal (across rows) Vertical (down columns)
Lookup Row First row of table First column of table
Row/Column Index Returns from a specified row Returns from a specified column
Skewness: =SKEW(Range)
Kurtosis: KURT(Range)
Variance: VAR(Range)