You are on page 1of 6

A B C D E F G H

1
2 Region Item Salesperson
3 West C Tim 1 WestC
4 East E Sophia 2 EastE
5 West D Olivia 3 WestD
6 East G Michael 4 EastG
7 West B Martin 5 WestB
8 East A Jennifer 6 EastA
9 West F James 7 WestF
10 West H Charlotte 8 WestH
11
12 Region Item Salesperson
13 East A Jennifer EastA
14
15
16 The formula demonstrated in cell D13 is a regular formula, most people prefer a regular formula over an array formula if possible
17 INDEX(D3:D10,MATCH(B13&C13,INDEX(B3:B10&C3:C10,),0))
18 It combines both values you want to look for using the ampersand character. B13&C13
19 Then it concatenates the two cell ranges also using the ampersand character, the INDEX function makes it a regular formula. INDE
20 The MATCH function then returns the relative position of the of the combined values, see picture above.
21 MATCH(B13&C13,INDEX(B3:B10&C3:C10,),0) returns 6.
22 The value is in the 6th position in the array.
23 INDEX(D3:D10,MATCH(B13&C13,INDEX(B3:B10&C3:C10,),0))
24 becomes
25 INDEX(D3:D10, 6)
26 and returns Jennifer in cell D13.
27 If you don't mind array formulas, the only advantage is that it is somewhat smaller, use this formula:
28 INDEX(D3:D10,MATCH(B13&C13,B3:B10&C3:C10,0))
29 To enter an array formula press and hold CTRL + SHIFT simultaneously, then press Enter once. Release all keys.
30 The formula bar now shows the formula enclosed with curly brackets telling you that you entered the formula successfully. Don't
I J K L
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 formula if possible, see above picture.
rmula over an array
17
18
nction makes it a19
regular formula. INDEX(B3:B10&C3:C10,)
20
21
22
23
24
25
26
27
28
29
30 successfully. Don't enter the curly brackets yourself.
ntered the formula
A B C D
1
2 Region Item Salesperson
3 West C Tim
4 East E Sophia
5 West D Olivia
6 East G Michael
7 West B Martin
8 East A Jennifer
9 West F James
10 West H Charlotte
11
12 Region Item Salesperson
13 East A Jennifer
A B C D
1
2 Region Item Salesperson
3 West C Tim
4 East E Sophia
5 West D Olivia
6 East G Michael
7 West B Martin
8 East A Jennifer
9 West F James
10 West H Charlotte
11
12 Region Item Salesperson
13 East A Jennifer
A B C D
1
2 Region Item Salesperson
3 West C Tim
4 East E Sophia
5 West D Olivia
6 East G Michael
7 West B Martin
8 East A Jennifer
9 West F James
10 West H Charlotte
11
12 Region Item Salesperson
13 East A Jennifer
A B C D E F
1
2 B13=B3:B10 C13=D3:D10 Region Item Salesperson
3 0 0 West C Tim
4 1 0 East E Sophia
5 0 0 West D Olivia
6 1 0 East G Michael
7 0 0 West B Martin
8 1 1 East A Jennifer
9 0 0 West F James
10 0 0 West H Charlotte
11
12 Region Item Salesperson
13 East A Jennifer

You might also like