index match mutliple criteria.

I have a data set that has monthly results by account number.   I have another data set that ranks these accounts monthly.  I am try to write a formula that takes allows me to select month in cell and for the ranked results to populate.  I have attached a example of the data sets that show the correct results for jan but would like to use cell b24 to indicate the month.
monthly-ranked-results.xlsx
notasgoodasyouAsked:
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.

Professor JMicrosoft Excel ExpertCommented:
why your 500 is missing from your result?
notasgoodasyouAuthor Commented:
I am not sure what you are asking in your question but this is all sample data.  In the actual data set both the monthly totals and rankings are done automatically with formulas.  the data set in c14:e22 is the ranking each account is getting for corresponding month.
Rgonzo1971Commented:
Hi,

pls try

=INDEX(OFFSET(INDIRECT(ADDRESS(6,MATCH($B$24,$D$5:$E$5,0)+3)),0,0,7,1),MATCH(INDEX($C$15:$C$21,MATCH(C24,OFFSET(INDIRECT(ADDRESS(15,MATCH($B$24,$D$5:$E$5,0)+3)),0,0,7,1),FALSE)),$C$6:$C$12,FALSE))

Open in new window

Regards
monthly-ranked-resultsV1.xlsx

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
notasgoodasyouAuthor Commented:
Thanks seems to work great.  Appreciate the help greatly.
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.