0% found this document useful (0 votes)
11 views

Excel Formula

Uploaded by

mindzyp
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Excel Formula

Uploaded by

mindzyp
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Excel Formula

This example below shows how we have used the function -


‘PRODUCT’ to perform multiplication. As you can see, we
didn’t use the mathematical operator here.
Sample Formula:
"=PRODUCT(A2,B2)"

1. SUM
The SUM() function, as the name suggests, gives the total of the
selected range of cell values. It performs the mathematical
operation which is addition. Here’s an example of it below:
Sum "=SUM(C2:C4)"

2. AVERAGE
The AVERAGE() function focuses on calculating the average of the
selected range of cell values. As seen from the below example, to
find the avg of the total sales, you have to simply type in:
AVERAGE =AVERAGE(C2, C3, C4)
Excel Formula
3. COUNT
The function COUNT() counts the total number of cells in a range
that contains a number. It does not include the cell, which is blank,
and the ones that hold data in any other format apart from
numeric.
COUNT =COUNT(C1:C4)

4. SUBTOTAL
Moving ahead, let’s now understand how the subtotal function works. The
SUBTOTAL() function returns the subtotal in a database. Depending on
what you want, you can select either average, count, sum, min, max, min,
and others. Let’s have a look at two such examples.

Fig: Subtotal function in Excel


In the example above, we have performed the subtotal calculation on cells
ranging from A2 to A4. As you can see, the function used is
SUBTOTAL =SUBTOTAL(1, A2: A4)In the subtotal list “1” refers to average.
Hence, the above function will give the average of A2: A4 and the answer
to it is 11, which is stored in C5. Similarly,
“=SUBTOTAL(4, A2: A4)”
This selects the cell with the maximum value from A2 to A4, which is 12.
Incorporating “4” in the function provides the maximum result.
Excel Formula
5. MODULUS
The MOD() function works on returning the remainder when a particular
number is divided by a divisor. Let’s now have a look at the examples below
for better understanding.
In the first example, we have divided 10 by 3. The remainder is calculated
using the function
MODULUS =MOD(A2,3)The result is stored in B2. We can also directly
type “=MOD(10,3)” as it will give the same answer.
Fig: Modulus function in Excel
Similarly, here, we have divided 12 by 4. The remainder is 0 is, which is
stored in B3.

6. POWER
The function “Power()” returns the result of a number
raised to a certain power. Let’s have a look at the examples
shown below:
Fig: Power function in Excel
As you can see above, to find the power of 10 stored in A2
raised to 3, we have to type:
Power =POWER (A2,3)
This is how power function works in Excel.
Excel Formula
7. CEILING
Next, we have the ceiling function. The CEILING() function rounds a
number up to its nearest multiple of significance.

Fig: Ceiling function in Excel


The nearest highest multiple of 5 for 35.316 is 40.

8. FLOOR
Contrary to the Ceiling function, the floor function rounds a
number down to the nearest multiple of significance.
Fig: Floor function in Excel
The nearest lowest multiple of 5 for 35.316 is 35.
Excel Formula
9. CONCATENATE
This function merges or joins several text strings into one text string. Given
below are the different ways to perform this function.
In this example, we have operated with the syntax:
CONCATENATE =CONCATENATE(A25, " ", B25)
Fig: Concatenate function in Excel
In this example, we have operated with the syntax:

10. LEN
The function LEN() returns the total number of characters in
a string. So, it will count the overall characters, including
spaces and special characters. Given below is an example of
the Len function.
Excel Formula
11. REPLACE
As the name suggests, the REPLACE() function works on replacing the part
of a text string with a different text string.
The syntax is “=REPLACE(old_text, start_num, num_chars, new_text)”.
Here, start_num refers to the index position you want to start replacing the
characters with. Next, num_chars indicate the number of characters you
want to replace.
Let’s have a look at the ways we can use this function.
Here, we are replacing A101 with B101 by typing
REPLACE =REPLACE(A15,1,1,"B")

12. SUBSTITUTE
The SUBSTITUTE() function replaces the existing text with a
new text in a text string.
The syntax is “=SUBSTITUTE(text, old_text, new_text,
[instance_num])”.
Here, [instance_num] refers to the index position of the
present texts more than once.
Given below are a few examples of this function:
Here, we are substituting “I like” with “He likes” by typing:
Excel Formula
13. LEFT, RIGHT, MID
The LEFT() function gives the number of characters from the start of a text
string. Meanwhile, the MID() function returns the characters from the
middle of a text string, given a starting position and length. Finally, the
right() function returns the number of characters from the end of a text
string.
Let’s understand these functions with a few examples.
In the example below, we use the function left to obtain the leftmost word
on the sentence in cell A5.

14. UPPER, LOWER, PROPER


The UPPER() function converts any text string to uppercase.
In contrast, the LOWER() function converts any text string to
lowercase. The PROPER() function converts any text string
to proper case, i.e., the first letter in each word will be in
uppercase, and all the other will be in lowercase.
Excel Formula
15. NOW()
The NOW() function in Excel gives the current system date and time.

16. TODAY()
The TODAY() function in Excel provides the current system
date.

17. The function DAY() is used to return the day of the


month. It will be a number between 1 to 31. 1 is the first
day of the month, 31 is the last day of the month.

18. The MONTH() function returns the month, a number


from 1 to 12, where 1 is January and 12 is December.

19. The YEAR() function, as the name suggests, returns the


year from a date value..
Excel Formula
15. NOW()
The NOW() function in Excel gives the current system date and time.

16. TODAY()
The TODAY() function in Excel provides the current system
date.

17. The function DAY() is used to return the day of the


month. It will be a number between 1 to 31. 1 is the first
day of the month, 31 is the last day of the month.

18. The MONTH() function returns the month, a number


from 1 to 12, where 1 is January and 12 is December.

19. The YEAR() function, as the name suggests, returns the


year from a date value..

You might also like