A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

B

C

D

E

F

G

H

I

J

K

L

HLOOKUP Function
Calculating Discount Price
Price Number Bought Total Price Discount % Discount Discount Price £55.99 17 £951.83 15% £142.77 £809.06

DISCOUNT TABLE No. Bought % Discount 1 0% 5 10% 10 15% 20 25% 30 40% 50 45% 100 50%

=HLOOKUP(D6,C17:I18,2) Explanation of the formula above: Read the D6 result and compare with the range C17:I18, then select the corresponding percentage discount from the second row of the same range.

(c) Mato Puljic, April 2000

Sign up to vote on this title
UsefulNot useful