Arithmetic Functions in Excel 2013
Microsoft Excel 2013 provides several arithmetic and mathematical functions that help users perform calculations quickly and accurately. These functions can be used to calculate absolute values, square roots, powers, sums, products, remainders, and many other mathematical operations.
In this tutorial, we will learn about important arithmetic functions in Excel 2013 with their syntax and examples.
For more information, read our tutorial on Formulas and Functions in Excel 2013.
1. ABS() Function
The ABS() function returns the absolute value of a number. It removes the negative sign from a negative number.
Syntax:
=ABS(number)Example:
=ABS(-5)Answer: 5
Another example:
=ABS(10)Answer: 10
2. SQRT() Function
The SQRT() function returns the positive square root of a number.
Syntax:
=SQRT(number)Example:
=SQRT(16)Answer: 4
To calculate the square root of the absolute value of a negative number, use:
=SQRT(ABS(-16))Answer: 4
Note: =SQRT(-16) returns a #NUM! error because Excel does not calculate the real square root of a negative number using SQRT().
3. POWER() Function
The POWER() function raises a number to a specified power.
Syntax:
=POWER(number, power)Example:
=POWER(10,2)Answer: 100
Another example:
=POWER(5,3)Answer: 125
You can also use the caret (^) operator:
=10^2Answer: 100
4. SUM() Function
The SUM() function adds numbers, cell references, or ranges of cells.
Syntax:
=SUM(number1, [number2], ...)Examples:
Add two numbers:
=SUM(10,12)Answer: 22
Add values from individual cells:
=SUM(C2,D2,E4,F5)Add all numbers in a range:
=SUM(A1:C5)Add two different ranges:
=SUM(A1:B5,D2:E6)Add a number to a range:
=SUM(A1:B5,10)Subtract 5 from the total of a range:
=SUM(A1:B5,-5)5. SUMSQ() Function
The SUMSQ() function returns the sum of the squares of its arguments.
Syntax:
=SUMSQ(number1, [number2], ...)Example:
=SUMSQ(10,12)Calculation: (10^2+12^2=100+144)
Answer: 244
Other examples:
=SUMSQ(C2,D2,E4,F5)
=SUMSQ(A1:C5)
=SUMSQ(A1:B5,D2:E6)
=SUMSQ(A1:B5,10)6. SUMPRODUCT() Function
The SUMPRODUCT() function multiplies corresponding values in two or more arrays and then adds the resulting products. The arrays should have compatible dimensions.
Syntax:
=SUMPRODUCT(array1, [array2], ...)Example:
Suppose the worksheet contains the following data:
| Product | Quantity | Price |
|---|---|---|
| Pen | 10 | 5 |
| Notebook | 4 | 30 |
| Pencil | 6 | 10 |
If quantities are in cells B2 and prices are in C2, use:
=SUMPRODUCT(B2:B4,C2:C4)Calculation: (10×5) + (4×30) + (6×10)
Answer: 230
This function is useful for calculating total sales, weighted totals, and combined values.
7. PRODUCT() Function
The PRODUCT() function multiplies all the numbers supplied as arguments.
Syntax:
=PRODUCT(number1, [number2], ...)Example:
=PRODUCT(2,3,4)Answer: 24
You can also multiply a range of cells:
=PRODUCT(A1:A4)This multiplies the numeric values in cells A1 through A4.
8. QUOTIENT() Function
The QUOTIENT() function returns the integer portion of a division result, discarding the remainder.
Syntax:
=QUOTIENT(numerator, denominator)Example:
=QUOTIENT(17,5)Answer: 3
The decimal portion is discarded.
9. MOD() Function
The MOD() function returns the remainder after division.
Syntax:
=MOD(number, divisor)Example:
=MOD(17,5)Answer: 2
This function is useful for checking whether a number is even or odd.
For example:
=MOD(10,2)Answer: 0
A remainder of zero means that 10 is divisible by 2.
10. ROUND() Function
The ROUND() function rounds a number to a specified number of digits.
Syntax:
=ROUND(number, num_digits)Example:
=ROUND(12.567,2)Answer: 12.57
To round to the nearest whole number:
=ROUND(12.4,0)Answer: 12
11. ROUNDUP() Function
The ROUNDUP() function rounds a number away from zero.
Syntax:
=ROUNDUP(number, num_digits)Example:
=ROUNDUP(12.341,2)Answer: 12.35
For a negative number, rounding away from zero means the result becomes more negative when rounding is required.
12. ROUNDDOWN() Function
The ROUNDDOWN() function rounds a number toward zero.
Syntax:
=ROUNDDOWN(number, num_digits)Example:
=ROUNDDOWN(12.349,2)Answer: 12.34
13. INT() Function
The INT() function rounds a number down to the nearest integer.
Syntax:
=INT(number)Example:
=INT(12.8)Answer: 12
For negative values:
=INT(-12.3)Answer: -13
Note: INT() rounds down, whereas TRUNC() removes the decimal portion toward zero.
14. TRUNC() Function
The TRUNC() function removes the decimal portion of a number or keeps a specified number of decimal places without rounding.
Syntax:
=TRUNC(number, [num_digits])Example:
=TRUNC(12.789,2)Answer: 12.78
Another example:
=TRUNC(12.789)Answer: 12
15. CEILING() Function
In Excel 2013, CEILING() rounds a number up, away from zero, to the nearest multiple of a specified significance.
Syntax:
=CEILING(number, significance)Example:
=CEILING(23,5)Answer: 25
This function can be useful when rounding quantities to a required multiple.
16. FLOOR() Function
In Excel 2013, FLOOR() rounds a number down, toward zero, to the nearest multiple of a specified significance.
Syntax:
=FLOOR(number, significance)Example:
=FLOOR(23,5)Answer: 20
17. EVEN() Function
The EVEN() function rounds a number away from zero to the nearest even integer.
Syntax:
=EVEN(number)Example:
=EVEN(3)Answer: 4
Another example:
=EVEN(6.2)Answer: 8
18. ODD() Function
The ODD() function rounds a number away from zero to the nearest odd integer.
Syntax:
=ODD(number)Example:
=ODD(4)Answer: 5
19. GCD() Function
The GCD() function returns the greatest common divisor of two or more integers.
Syntax:
=GCD(number1, [number2], ...)Example:
=GCD(24,36)Answer: 12
The greatest common divisor of 24 and 36 is 12.
20. LCM() Function
The LCM() function returns the least common multiple of two or more integers.
Syntax:
=LCM(number1, [number2], ...)Example:
=LCM(4,6)Answer: 12
The least common multiple of 4 and 6 is 12.
21. RAND() Function
The RAND() function returns a random decimal number greater than or equal to 0 and less than 1.
Syntax:
=RAND()Example:
=RAND()Answer: A random decimal number, such as 0.4567.
The result can change whenever Excel recalculates the worksheet.
22. RANDBETWEEN() Function
The RANDBETWEEN() function returns a random integer between the specified lower and upper limits, including both limits.
Syntax:
=RANDBETWEEN(bottom, top)Example:
=RANDBETWEEN(1,100)Answer: A random whole number between 1 and 100.
The result may change whenever the worksheet recalculates.
23. PI() Function
The PI() function returns the value of pi, approximately 3.14159265358979.
Syntax:
=PI()Answer: Approximately 3.141592654
Example: Calculate the area of a circle with a radius of 5:
=PI()*5^2Answer: Approximately 78.54
Conclusion
Excel 2013 includes many arithmetic and mathematical functions that simplify calculations. Functions such as ABS(), SQRT(), POWER(), SUM(), SUMSQ(), and SUMPRODUCT() are useful for everyday calculations, while MOD(), ROUND(), INT(), GCD(), LCM(), and other functions help solve more specific mathematical problems.
Learning these functions can save time, reduce manual calculations, and improve accuracy when working with Excel worksheets.
For more Excel tutorials, visit Formulas and Functions in Excel 2013.

0 टिप्पणियाँ
सबसे पहले अपने विचार लिखें।