Vous êtes sur la page 1sur 7

Code Product Price

A23 Paper 5.00


B14 Lamp 15.00
A27 Desk 75.00
C45 Pencil 0.50

A27 75.00 exact match

A27 5.00 approximate match

A28 #N/A VLookup -- not found

A28 IF and VLOOKUP

file:///var/www/apps/scribd/scribd/tmp/scratch1/9151930.xls 10/17/2008
Code Product Price Code Product
123 Paper 5.00 123 Paper
124 Lamp 15.00 124 Lamp
125 Desk 75.00 00125 Desk
126 Pencil 0.50 126 Pencil

123 Paper 123 #N/A


123 Paper 123 Paper
123 Paper 123 Paper

00125 #N/A
00125 Desk
00125 Desk
Conditional formatting indicates which
cells contain text, and which contain numbers
Text Number
123 123
Price
5.00
15.00
75.00
0.50
Invoice # 2004-1101
Date
A VLOOKUP formula returns the product name from
Data validation is used to create a the second column of the lookup table
dropdown list of product codes

Code Product Unit Cost Quantity Total


A23 Paper $5.00 3 $15.00
A27 Desk $75.00 2 $150.00
$-
$-
$-
$-
$-

Subtotal $165.00
Tax 10% $16.50
Total $181.50
returns the product name from
f the lookup table
Score Grade
0 F
50 D
60 C
70 B
85 A
Report Card

Subject Score Grade


English 77 B
Math 67
Physics 86

Vous aimerez peut-être aussi