Exercises / Lookups · 9 of 10

Shipping cost by weight bracket

XLOOKUP's fifth argument, match_mode, controls what counts as a match: 0 exact, -1 exact or the next smaller item, 1 exact or the next larger. Unlike VLOOKUP, the table does not have to be sorted.

Your taskEach row of E2:F6 is the cost from that weight up. In C2, use XLOOKUP to return the shipping cost for the weight in B2. It will be copied down to C8.
Pro

Unlock this exercise and every module after the basics.

Pro opens every exercise in every module, your review schedule, and the final test for the course certificate.

RowABCDEF
1ParcelWeight kgCostFrom kgCost
2PK-10.40$4.50
3PK-23.21$6.90
4PK-315$9.80
5PK-412.510$14.20
6PK-57.820$22.00
7PK-624
8PK-70.95