Confident CellsExcel practice Start free

Rounding to steps: FLOOR, CEILING, EVEN, ODD: practice exercises

FLOOR, CEILING, EVEN, ODD. 5 exercises on real-looking data, each marked the moment you press Check. The first exercise is below to try now; the full lesson is part of Pro.

Your turn

Calls are billed only in completed blocks of the number of minutes in H1. In C2, round each client's minutes down to a whole number of blocks.

ABCDEFGH
1ClientMinutes on callsMinutes billedBlock (minutes)15
2Kestrel Cleaning201
3Summit Software45
4Redbrook Couriers165
5Brightway Print75
6Linden Office39
7Northgate Supplies75
8Ashby Stationers102
9Harbour Catering180
10Willow Training59
11Oakfield IT20

How it works

FLOOR(number, step) rounds down to a multiple of the step, and CEILING(number, step) rounds up. Billing in completed 15-minute blocks is FLOOR; charging for every started hour is CEILING.

EVEN(number) rounds up to the next even number and ODD(number) to the next odd one. A number that's already even (or odd) stays as it is.

=FLOOR(B2,30) =CEILING(B3,30) =EVEN(B4) =ODD(B4)

Rounding to a step

ROUND works in decimal places. Sometimes you need to round to a step instead: whole boxes of 12, blocks of 15 minutes, pairs.

  • FLOOR(number, step) rounds down to a multiple of the step.
  • CEILING(number, step) rounds up to a multiple of the step.
  • A number that's already a multiple stays as it is.

Worked example

AB
1JobMinutes
2Repair70
3Survey45
4Install95
  1. =FLOOR(B2,30) in C2. 70 minutes in completed half-hours: FLOOR rounds down to 60.
  2. =CEILING(B2,30) in C2. Charging for every half-hour started, CEILING rounds up to 90 instead.
  3. =CEILING(B2,30) in C2. Copied down: 45 rounds up to 60, and 95 up to 120.

EVEN and ODD

EVEN(7) is 8 and EVEN(8) stays 8: it always rounds up to an even number. ODD(8) is 9 and ODD(9) stays 9.

Use them for pairs (desks, rooms for two) or for an odd number of people so that votes can't tie.

What you'll practise

  1. Calls are billed only in completed blocks of the number of minutes in H1. In C2, round each client's minutes down to a whole number of blocks.
  2. Parking is charged for every hour started, at the price in H1. In C2, use CEILING to round the minutes up to whole hours (60 minutes), then work out the charge.
  3. Desks come in pairs that face each other. In C2, use EVEN to round each team's size up to an even number of desks.
  4. Each committee needs an odd number of seats, so a vote can't tie. In C2, use ODD to round the number of volunteers up to an odd number of seats.
  5. Long service awards are given at every multiple of the number of years in H1. In C2, show the most recent award level each person has reached (0 if they haven't reached the first).