Functions Excel
Functions Excel
num indicates either a single cell reference (H34) or a simple number (-300) or an expression
(2*D20+14)
condition indicates a condition which can be true or false, e.g. AF4+SUM(C1:C10) > 30
value indicates either a number (defined as above) or a string in quotation marks (e.g. "Hello")
string indicates a sentence in quotation marks or a cell reference containing a string in quotation marks.
SUM(range) Gives the sum (add up) of all the numbers in the specified range.
MIN(range), MAX(range) Gives the smallest/largest of the numbers in the range specified
If the condition is true, then this function gives the first number. If the
IF(condition, value, value)
condition is false, then the function gives the second number.
CODE() takes a string and gives the ASCII code of the first character in the
CODE(string), CHAR(num) string. CHAR() takes a number in the range 32 to 126 and gives the
corresponding character (i.e. treats the number as an ASCII code).
EXP(num) The exponential of the number, i.e. e raised to that power (e = 2.71)
Gives the first number to the power of the second e.g. POWER(10,3)
POWER(num, num) gives 1000. To calculate a root, specify a fractional power e.g. 0.25 for
fourth root.
Count the number of cells which match a criterion specified in the string.
COUNTIF(range, string)
The string can be "32", "<=45", ">0" etc.
Gives the absolute value of a number, i.e. positive numbers are left
ABS(num)
unchanged, negative numbers have the negative sign removed.
SIN(num), COS(num), Gives the value of the sine, cosine and tangent of the number, which
TAN(num) represents an angle. The angle must be in radians, not degrees