Modular Arithmetic Practice Questions with Solutions

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

ProductOriginal PriceRounded Price
Laptop54999.456
Monitor12450.789
Keyboard849.125
Mouse549.678
Webcam2199.994

Solution

In C2, enter:

=ROUND(B2,2)

Copy the formula down.

Expected Output

ProductOriginal PriceRounded Price
Laptop54999.45654999.46
Monitor12450.78912450.79
Keyboard849.125849.13
Mouse549.678549.68
Webcam2199.9942199.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

SalespersonSalesRounded Sales
Rahul124560
Priya187420
Amit245780
Neha319250
Arjun456680

Solution

In C2, enter:

=ROUND(B2,-3)

Copy the formula down.

Expected Output

SalespersonSalesRounded Sales
Rahul124560125000
Priya187420187000
Amit245780246000
Neha319250319000
Arjun456680457000

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

DeliveryDistance (KM)Whole KM
Order 10112.8
Order 1027.6
Order 10315.9
Order 10423.4
Order 1059.99

Solution

In C2, enter:

=INT(B2)

Copy the formula down.

Expected Output

DeliveryDistance (KM)Whole KM
Order 10112.812
Order 1027.67
Order 10315.915
Order 10423.423
Order 1059.999

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

ProductTotal ItemsRemaining Items
Keyboard125
Mouse86
Webcam149
Headphones97
Speakers132

Solution

In C2, enter:

=MOD(B2,12)

Copy the formula down.

Expected Output

ProductTotal ItemsRemaining Items
Keyboard1255
Mouse862
Webcam1495
Headphones971
Speakers1320

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

ProductQuantityUnit PriceTotal Cost
Laptop355000
Monitor512000
Keyboard10850
Mouse15550

Solution

In D2, enter:

=PRODUCT(B2,C2)

Copy the formula down.

Expected Output

ProductQuantityUnit PriceTotal Cost
Laptop355000165000
Monitor51200060000
Keyboard108508500
Mouse155508250

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

ProductExpected SalesActual SalesDifference
Laptop10000095000
Monitor7500082000
Printer5000047000
Keyboard3000034000
Mouse2000018500

Solution

In D2, enter:

=ABS(C2-B2)

Copy the formula down.

Expected Output

ProductExpected SalesActual SalesDifference
Laptop100000950005000
Monitor75000820007000
Printer50000470003000
Keyboard30000340004000
Mouse20000185001500

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

NumberPowerResultSquare Root
52
82
103
122
252

Solution

In C2, calculate the power:

=POWER(A2,B2)

In D2, calculate the square root:

=SQRT(A2)

Copy both formulas down.

Expected Output

NumberPowerResultSquare Root
52252.236
82642.828
10310003.162
1221443.464
2526255

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

ProductPriceRounded Price
Laptop Bag1245
Keyboard875
Mouse542
Webcam2199
Speaker3155

Solution

In C2, enter:

=CEILING(B2,100)

Copy the formula down.

Expected Output

ProductPriceRounded Price
Laptop Bag12451300
Keyboard875900
Mouse542600
Webcam21992200
Speaker31553200

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

ProductAvailable StockPackage UnitsStock for Complete Packages
Keyboard8710
Mouse5610
Webcam12410
Speaker7310
Headphones9910

Solution

In D2, enter:

=FLOOR(B2,C2)

Copy the formula down.

Expected Output

ProductAvailable StockPackage UnitsStock for Complete Packages
Keyboard871080
Mouse561050
Webcam12410120
Speaker731070
Headphones991090

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

ProductQuantityUnit PriceSubtotalRounded SubtotalDiscountFinal Amount
Laptop254999.75
Monitor312499.45
Keyboard5849.65
Mouse8549.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

ProductQuantityUnit PriceSubtotalRounded SubtotalDiscountFinal Amount
Laptop254999.75109999.501100001100099000
Monitor312499.4537498.35374983749.8033748.20
Keyboard5849.654248.254248424.803823.20
Mouse8549.854398.804399439.903959.10

This question combines multiplication, ROUND, percentage calculation and subtraction in one practical example.

Key Takeaways

  • ROUND rounds a number to a specified number of digits.
  • INT returns the integer portion of a number by rounding down toward negative infinity.
  • MOD returns the remainder after division.
  • PRODUCT multiplies numbers together.
  • ABS returns the absolute value of a number.
  • POWER calculates a number raised to a specified power.
  • SQRT calculates the square root of a number.
  • CEILING rounds a number up to a specified multiple.
  • FLOOR rounds 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, and FLOOR.

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.

Scroll to Top