# MATCH FORMULA

Hi,

In the attached wb i have some figures highlighted red in Column L, can someone insert match formula so that it picks up the numbers based on the region in Col K and the month in  L1

Many thanks
EE.xlsx
###### 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.

Author Commented:
updated workbook
EE.xlsx
0
Finance AnalystCommented:
For the ASP formula use:

=INDEX(\$B\$1:\$H\$13,MATCH(\$L\$1,\$B\$1:\$B\$13,0),MATCH(\$K3,\$B\$1:\$H\$1,0))

Copy down as required.

Thanks
Rob H
0

Experts Exchange Solution brought to you by

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

Commented:
See Attached.

John
EE.xlsx
0
IT ConsultantCommented:
or try HLOOKUP formula to find a mach
=HLOOKUP(K3,\$B\$1:\$H\$10,3,FALSE)

in this case it looks for value for February (based on 3 in the formula, where 3 is a row number, if you change to 2 if will return values for Janury, or 7 for June)
EE-1.xlsx
0
Finance AnalystCommented:
Using HLOOKUP you could also set the row number using MATCH:

=HLOOKUP(\$K3,\$B\$1:\$H\$13,MATCH(\$L\$1,\$B\$1:\$B\$13,0),FALSE)

Likewise using VLOOKUP you could set the column using MATCH:

=VLOOKUP(\$L\$1,\$B\$1:\$H\$13,MATCH(\$K3,\$B\$1:\$H\$1,0),FALSE)

Thanks
Rob H
0
IT ConsultantCommented:
I have edited the formula I posted, so now you can just choose month from drop down menu (L1) and you will get the values for appropriate month - see attached file
EE-1.xlsx
0
Finance AnalystCommented:
@Helpfinder - what is the point of using additional helper columns when it can all be done with existing data?

Nice touch adding a the drop-down for month but this could be linked to column B rather than creating a new list.
The row can be determined by using MATCH on column B.

Thanks
Rob H
0
IT ConsultantCommented:
@Rob Henson - the point is just to be more user friendly. if user picks the month from drop down menu it could eliminate typo errors since user can type "march" instead of "mar" and formula won´t work.

I am sure there are multiple options in excel how to achive the same result - depends on user which is most suitable for him.
0
Finance AnalystCommented:
Indeed, many ways to "skin a cat" as they say.

This poor cat has been well & truly skinned!
0
Author Commented:
Thanks guys!
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.