Index & Match - #REF! error

Rakeweru

New Member
Joined
Jul 22, 2019
Messages
2
Hi,

Am trying out the Index + Match formula but received some error messages below:

Column AColumn BColumn CColumn DColumn E
Row 4Month (Formula)Month (Formula)BranchRegion (Formula)Region (Value displayed)
Row 54346643466A=INDEX(J$3:J$14,MATCH(B5,G$3:G$14,0),MATCH(C5,I$3:I$14,0))Alpha
Row 64346643466B=INDEX(J$3:J$14,MATCH(B6,G$3:G$14,0),MATCH(C6,I$3:I$14,0))#REF !
Row 74349743497C=INDEX(J$3:J$14,MATCH(B7,G$3:G$14,0),MATCH(C7,I$3:I$14,0))#REF !
Row 84352543525D=INDEX(J$3:J$14,MATCH(B8,G$3:G$14,0),MATCH(C8,I$3:I$14,0))#REF !
Row 94352543525E=INDEX(J$3:J$14,MATCH(B9,G$3:G$14,0),MATCH(C9,I$3:I$14,0))#REF !

<tbody fgid="43670">
</tbody>


Column GColumn HColumn IColumn J
Row 2Month (Formula)Month (Value Displayed)BranchRegion
Row 34346643466AAlpha
Row 44346643466BBeta
Row 54346643466CCharlie
Row 64346643466DDelta
Row 74349743497AAlpha
Row 84349743497BBeta 2
Row 94349743497CCharlie 3
Row 104349743497DDelta
Row 114352543525AAlpha
Row 124352543525BBeta
Row 134352543525CCharlie
Row 144352543525DDelta 5

<tbody fgid="42993">
</tbody>

I managed to get a successful hit for Column E, Row 5, but subsequent rows (6-9) shows #REF ! errors.

Hope someone can help to troubleshoot and provide guidance, thanks! :D
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
In the INDEX / MATCH formula the second MATCH is for a column match not row as you are trying to use it.
INDEX(J$3:J$14,MATCH(B5,G$3:G$14,0),MATCH(C5,I$3:I$14,0))

Maybe something like this array formula that must be entered with CTRL-SHIFT-ENTER. Then drag formula down.
NOTE #NA is because there is no match for Branch E.
Excel Workbook
ABCDEFGHIJ
1Column GColumn HColumn IColumn J
2Month (Formula)Month (Value Displayed)BranchRegion
3Column AColumn BColumn CColumn D1/1/20191/1/2019AAlpha
4Month (Formula)Month (Formula)BranchRegion (Formula)1/1/20191/1/2019BBeta
51/1/20191/1/2019AAlpha1/1/20191/1/2019CCharlie
61/1/20191/1/2019BBeta1/1/20191/1/2019DDelta
72/1/20192/1/2019CCharlie 32/1/20192/1/2019AAlpha
83/1/20193/1/2019DDelta 52/1/20192/1/2019BBeta 2
93/1/20193/1/2019E#N/A2/1/20192/1/2019CCharlie 3
102/1/20192/1/2019DDelta
113/1/20193/1/2019AAlpha
123/1/20193/1/2019BBeta
133/1/20193/1/2019CCharlie
143/1/20193/1/2019DDelta 5
Sheet
 
Upvote 0

Forum statistics

Threads
1,214,864
Messages
6,121,986
Members
449,058
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top