Introduction
Excel mathematical functions are useful when working with prices, measurements, quantities, percentages, calculations and business data. In this chapter, you will practice ROUND, INT, MOD, ABS, PRODUCT, POWER, SQRT, CEILING, FLOOR, and related mathematical functions. Each question uses a different situation so you can test your practical Excel skills and understand how these functions behave with different types of numbers. Modular Arithmetic Practice questions with solutions to help you understand the concepts.
Question 1: Round Product Prices to Two Decimal Places
Problem Statement
A company has product prices containing more decimal places than required. Round each price to 2 decimal places.
Excel Data
| Product | Original Price | Rounded Price |
|---|---|---|
| Laptop | 54999.456 | |
| Monitor | 12450.789 | |
| Keyboard | 849.125 | |
| Mouse | 549.678 | |
| Webcam | 2199.994 |
Solution
In C2, enter:
=ROUND(B2,2)
Copy the formula down.
Expected Output
| Product | Original Price | Rounded Price |
|---|---|---|
| Laptop | 54999.456 | 54999.46 |
| Monitor | 12450.789 | 12450.79 |
| Keyboard | 849.125 | 849.13 |
| Mouse | 549.678 | 549.68 |
| Webcam | 2199.994 | 2199.99 |
Question 2: Round Sales Amounts to the Nearest Thousand
Problem Statement
A company wants to display large sales figures in rounded form. Round each sales amount to the nearest thousand.
Excel Data
| Salesperson | Sales | Rounded Sales |
|---|---|---|
| Rahul | 124560 | |
| Priya | 187420 | |
| Amit | 245780 | |
| Neha | 319250 | |
| Arjun | 456680 |
Solution
In C2, enter:
=ROUND(B2,-3)
Copy the formula down.
Expected Output
| Salesperson | Sales | Rounded Sales |
|---|---|---|
| Rahul | 124560 | 125000 |
| Priya | 187420 | 187000 |
| Amit | 245780 | 246000 |
| Neha | 319250 | 319000 |
| Arjun | 456680 | 457000 |
A negative number of digits tells ROUND to round to the left of the decimal point.
Question 3: Use INT to Get the Whole Number
Problem Statement
A delivery system records distances with decimal values. Use INT to remove the decimal portion and return the integer part.
Excel Data
| Delivery | Distance (KM) | Whole KM |
|---|---|---|
| Order 101 | 12.8 | |
| Order 102 | 7.6 | |
| Order 103 | 15.9 | |
| Order 104 | 23.4 | |
| Order 105 | 9.99 |
Solution
In C2, enter:
=INT(B2)
Copy the formula down.
Expected Output
| Delivery | Distance (KM) | Whole KM |
|---|---|---|
| Order 101 | 12.8 | 12 |
| Order 102 | 7.6 | 7 |
| Order 103 | 15.9 | 15 |
| Order 104 | 23.4 | 23 |
| Order 105 | 9.99 | 9 |
Question 4: Find Remaining Items Using MOD
Problem Statement
A warehouse packs products into boxes containing 12 items each. Use MOD to calculate how many items remain after making complete boxes.
Excel Data
| Product | Total Items | Remaining Items |
|---|---|---|
| Keyboard | 125 | |
| Mouse | 86 | |
| Webcam | 149 | |
| Headphones | 97 | |
| Speakers | 132 |
Solution
In C2, enter:
=MOD(B2,12)
Copy the formula down.
Expected Output
| Product | Total Items | Remaining Items |
|---|---|---|
| Keyboard | 125 | 5 |
| Mouse | 86 | 2 |
| Webcam | 149 | 5 |
| Headphones | 97 | 1 |
| Speakers | 132 | 0 |
MOD returns the remainder after division.
Question 5: Calculate Total Cost Using PRODUCT
Problem Statement
A store sells multiple products. Calculate the total cost using the PRODUCT function.
Excel Data
| Product | Quantity | Unit Price | Total Cost |
|---|---|---|---|
| Laptop | 3 | 55000 | |
| Monitor | 5 | 12000 | |
| Keyboard | 10 | 850 | |
| Mouse | 15 | 550 |
Solution
In D2, enter:
=PRODUCT(B2,C2)
Copy the formula down.
Expected Output
| Product | Quantity | Unit Price | Total Cost |
|---|---|---|---|
| Laptop | 3 | 55000 | 165000 |
| Monitor | 5 | 12000 | 60000 |
| Keyboard | 10 | 850 | 8500 |
| Mouse | 15 | 550 | 8250 |
You could also calculate the same result using =B2*C2.
Question 6: Calculate Absolute Differences Using ABS
Problem Statement
A company compares expected sales with actual sales. Calculate the absolute difference between the two values.
Excel Data
| Product | Expected Sales | Actual Sales | Difference |
|---|---|---|---|
| Laptop | 100000 | 95000 | |
| Monitor | 75000 | 82000 | |
| Printer | 50000 | 47000 | |
| Keyboard | 30000 | 34000 | |
| Mouse | 20000 | 18500 |
Solution
In D2, enter:
=ABS(C2-B2)
Copy the formula down.
Expected Output
| Product | Expected Sales | Actual Sales | Difference |
|---|---|---|---|
| Laptop | 100000 | 95000 | 5000 |
| Monitor | 75000 | 82000 | 7000 |
| Printer | 50000 | 47000 | 3000 |
| Keyboard | 30000 | 34000 | 4000 |
| Mouse | 20000 | 18500 | 1500 |
ABS converts a negative result into its positive value.
Question 7: Calculate Powers and Square Roots
Problem Statement
Use POWER and SQRT to perform mathematical calculations.
Excel Data
| Number | Power | Result | Square Root |
|---|---|---|---|
| 5 | 2 | ||
| 8 | 2 | ||
| 10 | 3 | ||
| 12 | 2 | ||
| 25 | 2 |
Solution
In C2, calculate the power:
=POWER(A2,B2)
In D2, calculate the square root:
=SQRT(A2)
Copy both formulas down.
Expected Output
| Number | Power | Result | Square Root |
|---|---|---|---|
| 5 | 2 | 25 | 2.236 |
| 8 | 2 | 64 | 2.828 |
| 10 | 3 | 1000 | 3.162 |
| 12 | 2 | 144 | 3.464 |
| 25 | 2 | 625 | 5 |
Question 8: Round Prices Up Using CEILING
Problem Statement
A company wants prices to be rounded up to the nearest ₹100 for billing purposes.
Excel Data
| Product | Price | Rounded Price |
|---|---|---|
| Laptop Bag | 1245 | |
| Keyboard | 875 | |
| Mouse | 542 | |
| Webcam | 2199 | |
| Speaker | 3155 |
Solution
In C2, enter:
=CEILING(B2,100)
Copy the formula down.
Expected Output
| Product | Price | Rounded Price |
|---|---|---|
| Laptop Bag | 1245 | 1300 |
| Keyboard | 875 | 900 |
| Mouse | 542 | 600 |
| Webcam | 2199 | 2200 |
| Speaker | 3155 | 3200 |
CEILING rounds a number upward to the specified multiple.
Question 9: Round Inventory Down Using FLOOR
Problem Statement
A warehouse stores products in packages of 10 units. Find the largest multiple of 10 that does not exceed the available stock.
Excel Data
| Product | Available Stock | Package Units | Stock for Complete Packages |
|---|---|---|---|
| Keyboard | 87 | 10 | |
| Mouse | 56 | 10 | |
| Webcam | 124 | 10 | |
| Speaker | 73 | 10 | |
| Headphones | 99 | 10 |
Solution
In D2, enter:
=FLOOR(B2,C2)
Copy the formula down.
Expected Output
| Product | Available Stock | Package Units | Stock for Complete Packages |
|---|---|---|---|
| Keyboard | 87 | 10 | 80 |
| Mouse | 56 | 10 | 50 |
| Webcam | 124 | 10 | 120 |
| Speaker | 73 | 10 | 70 |
| Headphones | 99 | 10 | 90 |
Question 10: Create a Practical Invoice Calculation
Problem Statement
Create an invoice calculation that combines several mathematical functions.
A store sells products in different quantities. Calculate:
- Subtotal
- Rounded subtotal
- Discount amount
- Final amount
Use a 10% discount.
Excel Data
| Product | Quantity | Unit Price | Subtotal | Rounded Subtotal | Discount | Final Amount |
|---|---|---|---|---|---|---|
| Laptop | 2 | 54999.75 | ||||
| Monitor | 3 | 12499.45 | ||||
| Keyboard | 5 | 849.65 | ||||
| Mouse | 8 | 549.85 |
Solution
Step 1: Calculate Subtotal
In D2, enter:
=B2*C2
Copy down.
Step 2: Round the Subtotal
In E2, enter:
=ROUND(D2,0)
Copy down.
Step 3: Calculate Discount
In F2, enter:
=E2*10%
Copy down.
Step 4: Calculate Final Amount
In G2, enter:
=E2-F2
Copy down.
Expected Output
| Product | Quantity | Unit Price | Subtotal | Rounded Subtotal | Discount | Final Amount |
|---|---|---|---|---|---|---|
| Laptop | 2 | 54999.75 | 109999.50 | 110000 | 11000 | 99000 |
| Monitor | 3 | 12499.45 | 37498.35 | 37498 | 3749.80 | 33748.20 |
| Keyboard | 5 | 849.65 | 4248.25 | 4248 | 424.80 | 3823.20 |
| Mouse | 8 | 549.85 | 4398.80 | 4399 | 439.90 | 3959.10 |
This question combines multiplication, ROUND, percentage calculation and subtraction in one practical example.
Key Takeaways
ROUNDrounds a number to a specified number of digits.INTreturns the integer portion of a number by rounding down toward negative infinity.MODreturns the remainder after division.PRODUCTmultiplies numbers together.ABSreturns the absolute value of a number.POWERcalculates a number raised to a specified power.SQRTcalculates the square root of a number.CEILINGrounds a number up to a specified multiple.FLOORrounds a number down to a specified multiple.- Mathematical functions can be combined with normal formulas to solve practical business calculations.
- Always check the required rounding rule before choosing between
ROUND,CEILING, andFLOOR.
FAQs
1. What is the ROUND function in Excel?
ROUND rounds a number to the specified number of digits.
=ROUND(125.678,2)
The result is 125.68.
2. What is the difference between ROUND and INT?
ROUND lets you specify how many digits to keep, while INT returns the integer portion by rounding down.
3. What does MOD do in Excel?
MOD returns the remainder after dividing one number by another.
=MOD(17,5)
The result is 2.
4. What is the ABS function used for?
ABS returns the positive value of a number, regardless of whether the original number is positive or negative.
5. What is the PRODUCT function in Excel?
PRODUCT multiplies multiple numbers or cell references.
=PRODUCT(A1:A4)
6. What is the difference between CEILING and FLOOR?
CEILING rounds a number upward to a specified multiple, while FLOOR rounds it downward to a specified multiple.
7. What does POWER do in Excel?
POWER raises a number to a specified power.
=POWER(5,2)
The result is 25.
8. How do I calculate a square root in Excel?
Use the SQRT function:
=SQRT(144)
The result is 12.
9. Can mathematical functions be combined with other Excel formulas?
Yes. For example, you can calculate a product amount, round it, apply a discount and calculate the final amount using multiple formulas.
10. Why should I use Excel mathematical functions instead of calculating values manually?
Functions make calculations faster, repeatable and easier to update. When source values change, Excel can automatically recalculate the results.
Written by Shubhranshu Shekhar, who has trained 20000+ students in coding.
