0% found this document useful (0 votes)
125 views9 pages

Index Match Sample

This document contains multiple tables with product information like item names, codes, sizes and prices. Conditional formatting is used to distinguish between text and numeric cells. Array formulas are also used to lookup matching item and size combinations to return the correct price.

Uploaded by

deven0982
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
125 views9 pages

Index Match Sample

This document contains multiple tables with product information like item names, codes, sizes and prices. Conditional formatting is used to distinguish between text and numeric cells. Array formulas are also used to lookup matching item and size combinations to return the correct price.

Uploaded by

deven0982
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 9

Item Price

Sweater 10
Jacket 30
Pants 25

25
Item Price
Sweater 10
Jacket 30
Pants 25

Jacket 2
Product Code Price Product Code Price
Paper 123 5.00 Paper 123 5.00
Lamp 124 15.00 Lamp 124 15.00
Desk 125 75.00 Desk 00125 75.00
Pencil 126 0.50 Pencil 126 0.50

124 2 123 #N/A


124 2 123 1
124 2 123 1

00125 #N/A
00125 3
00125 3

Conditional formatting indicates which


cells contain text, and which contain numbers
Text Number
123 123
Code Item
SW001 Sweater
JK002 Jacket
PN001 Pants

Jacket JK002
Small Med Large
Sweater 10 12 15
Jacket 30 35 40
Pants 25 30 35

Size Item Price


Med Pants 30

file:///conversion/tmp/scratch/48453882.xls 12/08/2021
Small Med Large
Sweater 10 12 15 The Green cells are a range named Table
Jacket 30 35 40 To see the definition, choose Insert>Name>Define
Pants 25 30 35 and click on Table

Size Item Price


Med Pants 30 =INDEX(Table,MATCH(B7,INDEX(Table,,1),0),MATCH(A7,INDEX(Table,1,),0))

file:///conversion/tmp/scratch/48453882.xls 12/08/2021
DEX(Table,1,),0))

file:///conversion/tmp/scratch/48453882.xls 12/08/2021
Code Item Size Price
SW001 Sweater Small 10 Cell C10 contains an array formula. Hold Ctrl + Shift, then press
JK001 Jacket Small 30 Enter. If you do it correctly, Excel will wrap curly brackets { }
PN001 Pants Small 25 around your formula. (don't type them yourself.)
SW002 Sweater Med 12
Adjust the range to match--but you can't use the whole column.
JK002 Jacket Med 35
PN002 Pants Med 30

Item Size Price


Jacket Med 35

file:///conversion/tmp/scratch/48453882.xls 12/08/2021
l + Shift, then press
urly brackets { }
elf.)

the whole column.

file:///conversion/tmp/scratch/48453882.xls 12/08/2021

You might also like