Documente Academic
Documente Profesional
Documente Cultură
A number
representing a COUNT (value1,
COUNT Count numbers
count of [value2], ...)
numbers
Count the A number
COUNTA (value1,
COUNTA number of non- representing
[value2], ...)
blank cells non-blank cells.
A number
Count cells that COUNTBLANK
COUNTBLANK representing
are blank (range)
blank cells
The largest
Get the largest MAX (number1,
MAX value in the
value [number2], ...)
array.
The smallest
Get the smallest MIN (number1,
MIN value in the
value. [number2], ...)
array.
Rank a number
A number that RANK (number,
RANK against a range
indicates rank. array, [order])
of numbers
Get the
Estimated
standard STDEV (number1,
STDDEV standard
deviation in a [number2], ...)
deviation
sample
A number
Count cells that COUNTIF (range,
COUNTIF representing
match criteria criteria)
cells counted.
Sum numbers in
SUMIF (range,
a range that The sum of
SUMIF criteria,
meet supplied values supplied.
[sum_range])
criteria
SUMIFS
Sum cells that The sum of the (sum_range,
SUMIFS match multiple cells that meet range1, criteria1,
criteria all criteria [range2],
[criteria2], ...)
Get a random
A number
number
RAND between 1 and RAND ()
between 0 and
0
1
Get a random
RANDBETWEEN
RAND integer between An integer
(bottom, top)
two values
Get a random
RANDBETWEEN
RANDBETWEEN integer between An integer
(bottom, top)
two values
A number
Get a subtotal in SUBTOTAL
representing a
SUBTOTAL a list or (function_num,
specific kind of
database ref1, [ref2], ...)
subtotal
TRUE if all
Test multiple
arguments AND (logical1,
AND conditions with
evaluate TRUE; [logical2], ...)
AND
FALSE if not
TRUE if any
Test multiple
arguments OR (logical1,
OR conditions with
evaluate TRUE; [logical2], ...)
OR
FALSE if not.
Reverse
A reversed
NOT arguments or NOT (logical)
logical value
results
Arguments Summary
value1 - An item, cell reference,
The Excel COUNT function returns the count of values that are
or range.
numbers, generally cells that contain numbers. Values can be supplied
value2 - [optional] An item, cell
as constants, cell references, or ranges.
reference, or range.
alue1 - An item, cell reference,
The Excel COUNTA function returns the count of cells that contain
or range.
numbers, text, logical values, error values, and empty text (""). COUNTA
value2 - [optional] An item, cell
does not count empty cells.
reference, or range.
The Excel COUNTBLANK function returns a count of empty cells in a
The range in which to count range. Cells that contain text, numbers, errors, etc. are not counted.
blank cells. Formulas that return empty text are counted
The SUMPRODUCT function multiplies ranges or arrays together and
array1 - The first array or range returns the sum of products. This sounds boring, but SUMPRODUCT is
to multiply, then add. an incredibly versatile function that can be used to count and sum like
array2 - [optional] The second COUNTIFS or SUMIFS, but with more flexibility. Other functions can
array or range to multiply, then easily be used inside SUMPRODUCT to extend functionality even
add. further.
number1 - Number, reference
to numeric value, or range that
contains numeric values. The Excel MAX function returns the largest numeric value in a range of
number2 - [optional] Number, values. The MAX function ignores empty cells, the logical values TRUE
reference to numeric value, or and FALSE, and text values.
range that contains numeric
values.
number1 - Number, reference
to numeric value, or range that
contains numeric values. The Excel MIN function returns the smallest numeric value in a range of
number2 - [optional] Number, values. The MIN function ignores empty cells, the logical values TRUE
reference to numeric value, or and FALSE, and text values.
range that contains numeric
values.
array - The array from which
you want to select the kth The Excel LARGE function returns numeric values based on their
largest value. position in a list when sorted by value. In other words, it can retrive
n - An integer that specifies the "nth largest" values - largest value, 2nd largest value, 3rd lagest value,
position from the largest value, etc.
i.e. the nth position.
array - A range of cells from The Excel SMALL function returns numeric values based on their
which to extract smallest values. position in a list ranked by value. In other words, it can retrive "nth
n - An integer that specifies the smallest" values - smallest value, 2nd smallest value, 3rd smallest value,
position from the smallest etc.
value, i.e. the nth position.
number1 - A number or cell
reference that refers to numeric The Excel AVERAGE function returns the average of values supplied as
values. multiple arguments. AVERAGE can handle up to 255 individual
number2 - [optional] A number arguments, which can include numbers, cell references, ranges, arrays,
or cell reference that refers to and constants.
numeric values.
number1 - First number or The Excel VAR function estimates the variance of a sample of data. If
reference. data represents the entire population, use the VARP function or the
number2 - [optional] Second newer VAR.P function. VAR ignores text values and logicals in
number or reference. references.
number1 - First number or
The Excel STDEV function returns the standard deviation for data that
reference in the sample.
represents a sample. To calculate the standard deviation for an entire
number2 - [optional] Second
population, use STDEVP or STDEV.P.
number or reference.
range - The range of cells to
COUNTIF is a function to count cells that meet a single criteria.
count.
COUNTIF can be used to count cells with dates, numbers, and text that
criteria - The criteria that
match specific criteria. The COUNTIF function supports logical operators
controls which cells should be
(>,<,<>,=) and wildcards (*,?) for partial matching.
counted.
range1 - The first range to
evaulate.
criteria1 - The criteria to use on The Excel COUNTIFS function returns the count of cells that meet one
range1. or more criteria. COUNTIFS can be used with criteria based on dates,
range2 - [optional] The second numbers, text, and other conditions. COUNTIFS supports logical
range to evaluate. operators (>,<,<>,=) and wildcards (*,?) for partial matching.
criteria2 - [optional] The criteria
to use on range2.
bottom - An integer
representing the lower value of The Excel RANDBETWEEN function returns a random integer between
the range. given numbers. RANDBETWEEN recalculates when a worksheet is
top - An integer representing opened or changed.
the lower value of the range.
bottom - An integer
representing the lower value of The Excel RANDBETWEEN function returns a random integer between
the range. given numbers. RANDBETWEEN recalculates when a worksheet is
top - An integer representing opened or changed.
the lower value of the range.
logical1 - The first condition or The OR function is a logical function to test multiple conditions at the
logical value to evaluate. same time. OR returns either TRUE or FALSE. For example, to test A1
logical2 - [optional] The second for either "x" or "y", use =OR(A1="x",A1="y"). The OR function can be
condition or logical value to used as the logical test inside the IF function to avoid extra nested IFs,
evaluate. and can be combined with the AND function
The Excel NOT function returns the opposite of a given logical or
Logical - A value or logical
boolean value. When given TRUE, NOT returns FALSE.When given
expression that can be
FALSE, NOT returns TRUE. Use the NOT function to reverse a logical
evaluated as TRUE or FALSE.
value.
Examples
RANDBETWEEN calculates a new value each time the worksheet is calculated. To stop
random numbers from being updated, copy the cells that contain RANDBETWEEN to the
clipboard, then use Paste Special > Values to convert to text.
When function_num is between 1-11, SUBTOTAL includes values that are hidden
When function_num is between 101-111, SUBTOTAL excludes values that are hidden
In filtered lists, SUBTOTAL always ignores values in hidden rows, regardless of
function_num.
SUBTOTAL ignores other subtotals that exist in references are ignored to prevent double-
counting
SUBTOTAL is designed to work with vertical data values arranged vertically. In Horizontal
ranges, values in hidden columns are always included.
The AND function is used to apply more than one condition at the same time, up to 255
conditions. Each logical condition (logical1, logical2, etc.) must return TRUE or FALSE, or be
arrays or references that contain logical values.
Examples
To test if the value in A1 is greater than 0 and less than 5, use the following formula:
=AND(A1>0,A1<5)
You can embed the AND function inside the the IF function. Using the above example, you
can supply AND as the logical_test for the IF function like so:
=IF(AND(A1>0,A1<5), "Approved", "Denied")
This formula will return "Approved" only if the value in A1 is greater than 0 and less than 5.
You can combine the AND function with the OR function. The formula below returns TRUE
when A1 > 100 and B1 is "complete" or "pending":
=AND(A1>100,OR(B1="complete",B1="pending"))
See more examples of the AND function in formulas below.
Notes
The AND function is not case-sensitive.
The AND function does not support wildcards.
Text values or empty cells supplied as arguments are ignored.
The AND function will return #VALUE if no logical values are found or created during
evaluation.
Use the OR function to test multiple conditions at the same time, up to 255 conditions
total.
For example, to test if the value in A1 OR the value in B1 is greater than 75, use the
following formula:
=OR(A1>75,B1>75)
OR can be used to extend the functionality of functions like IF. Using the above example,
you can supply OR as the logical_test for an IF function like so:
=IF(OR(A1>75,B1>75), "Pass", "Fail")
This formula will return "Pass" if the value in A1 is greater than 75 OR the value in B1 is
greater than 75.
Array form
If you enter OR as an array formula, you can test all values in a range against a condition.
For example, this array formula will return TRUE if any cell in A1:A100 is greater than 15:
={OR(A1:A100>15}
Notes:
Each logical condition must evaluate to TRUE or FALSE, or be arrays or references that
contain logical values.
Text values or empty cells supplied as arguments are ignored.
The OR function will return #VALUE if no logical values are found
Use the NOT function to reverse a value or logical argument:
=NOT(ISBLANK(A1))
In essence, by adding NOT, you are able to create a formula that behaves like ISNOTBLANK,
which doesn't exist in Excel.