Solved

# Index Match formula problem

Posted on 2013-09-12
Medium Priority
453 Views
ok, so I have a situation where i need to use the Index, Match formula on rows and columns.  However, its not working.  Can anyone tell me what I am doing   See attached excel example.

if my formula is looking up "Rep Code" and "State" it should be returning the registration date associated with each rep in each state.
sample-Index-Match.xlsx
0
Question by:IO_Dork
• 2
• 2

LVL 12

Expert Comment

ID: 39487870
The reason it's not working is because you have setup wrong range references.

=INDEX(Registrations!\$A\$10:\$BE\$57,MATCH(B3,Registrations!\$A\$11:\$A\$57,0),MATCH(C3,Registrations!\$D\$10:\$BE\$10,0))

See the \$A\$10, it should be \$A\$1; \$A\$11 should be \$A\$1; \$D\$10 should be \$A\$10.

Index works with rows and column numbers. With your references, you will end up be referencing Row 7 and Column 40, which is not what you need.

So fix the reference will work. Look at the highlighted cell in my attached file.
sample-Index-Match.xlsx
0

LVL 50

Accepted Solution

barry houdini earned 2000 total points
ID: 39487881
You need the INDEX range to start at D11, try this version in D2 copied down

=INDEX(Registrations!\$D\$11:\$BE\$57,MATCH(B2,Registrations!\$A\$11:\$A\$57,0),MATCH(C2,Registrations!\$D\$10:\$BE\$10,0))

regards, barry
0

Author Closing Comment

ID: 39487955
Thank you very much.  now i better understand how index works.
0

LVL 12

Expert Comment

ID: 39487967
I'm not getting any points for providing the solution?

The problem with the original formula is mismatched array and index range. Both Barry and my solutions would solved the problem, and I have submitted the solution prior to Barry, and yet I'm not getting anything?
0

LVL 50

Expert Comment

ID: 39487988
Hey Harry!

I think it's better to specify all ranges to match their exact locations, which is what my suggestion does........but having said that your version certainly works for the example given

regards, barry
0

## Featured Post

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

## Join & Write a Comment Already a member? Login.

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
###### Suggested Courses
Course of the Month10 days, 22 hours left to enroll

#### 627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.