Basic Excel Functions
Basic Excel Functions
It should be noted that in excel, every calculation should begin with an equal to
sign (=) to inform excel we want to carry out a calculation.
ADDITION (+) e.g =A1+B1
PRODUCT: The PRODUCT function multiplies all the numbers given as arguments and
returns the product. For example, if cells A1 and A2 contain numbers, you can use the
formula =PRODUCT(A1,A2) to multiply those two numbers together.
SUM: The SUM function adds values. You can add individual values, cell references or
ranges or a mix of all three. For example: =SUM(A2:A10) Adds the values in cells A2 to
10.
SUMIF: The SUMIF function is a premade function in Excel, which calculates the sum
of a range based on one or more true or false condition (criteria). It is typed =SUMIF:
=SUMIF(A1:A10,”>10”). It should be noted that the range is separated from the criteria
using a comma (,) and the criteria should be in quotation marks.
MAX: The MAX function is a premade function in Excel, which finds the highest
number in a range. The function ignores cells with text. It will only work for cells with
numbers for example =MAX(A1:A10)
MIN: The MIN function is a premade function in Excel, which finds the lowest number
in a range. The function ignores cells with text. It will only work for cells with numbers
for example =MIN(A1:A10)
COUNT: The COUNT function counts the number of cells that contain numbers, and
counts numbers within the list of arguments. Use the COUNT function to get the number
of entries in a number field that is in a range or array of numbers. For example
=COUNT(A1:A10)
COUNTA: The COUNTA function counts cells containing any type of information,
including error values and empty text (" "). For example, if the range contains a formula
that returns an empty string, the COUNTA function counts that value. The COUNTA
function does not count empty cells. For example =COUNTA(A1:A10)
COUNTIF: COUNTIF function is used for counting cells within a specified range that
meet a certain criterion, or condition. For example, you can write a COUNTIF formula to
find out how many cells in your worksheet contain a number greater than or less than the
number you specify for example =COUNTIF(A1:A10,”>10”). It should be noted that the
range is separated from the criteria using a comma (,) and the criteria should be in
quotation marks.
AVERAGE: Returns the average (arithmetic mean) of the arguments. For example, if the
range A1:A20 contains numbers, the formula =AVERAGE(A1:A20) returns the average
of those numbers
IF: The IF function is a premade function in Excel, which returns values based on a true
or false condition. That is, it analyzes the range following your given condition and
brings out either a positive or negative response. It is typed
=IF(A1>10,”PASSED”,”FAILED”). It is noticed here that the range and the criteria are
combined (A1>10) and they are separated from both the positive response (PASSED)
and the negative response (FAILED) by a comma (,) and both responses are equally
separated from each other with a comma and both responses are in quotes (“”)
TRIM: TRIM(text) removes leading, trailing spaces as well as excess spaces between
words. Where text is either a text string or reference to the cell containing the text from
which you want to remove spaces. For example =TRIM(A1:A10)
FLOOR: Contrary to the Ceiling function, the floor function rounds a number down to
the nearest multiple of significance. E.G =FLOOR(A1,5). Another function to perform
this action is ROUNDDOWN
RANK: This function is used to rank or classify the data present within a column in
either ascending or descending order. This is written as =RANK; e.g
=RANK(A1,$A$1:$A$10,0). In this case, the first A1 is the refers to the cell which we
begin the ranking from, A1:A10 represents the range which shall be ranked and they are
locked by absolute referencing ($) which will permit the range not to change in case of
auto filling and finally 0 is used to determine the order of ranking. Generally, 0 is used for
descending order and 1 is used for ascending order.