Index Match formula problem

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
IO_DorkAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Your Code:
=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
barry houdiniCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IO_DorkAuthor Commented:
Thank you very much.  now i better understand how index works.
0
Harry LeeCommented:
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
barry houdiniCommented:
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.