INDEX AND MATCH? My First Post

Barnzee

New Member
Joined
Jul 21, 2011
Messages
2
Hello Everybody, Im ben and Im Stuck!

x X x x x x x x x x x x x x
x |
x |
X v
x
x

(data table)

I need a formula that can look up a certain value that appears down the side, also find a value that appears across the top, and then display the value that appears at their intersection (as demonstrated in my crude diagram)

Essentially, in a seperateb tab, the user will type in employee name, the criteria pertaining to the employee in question they are interested in, and the department he works for. these 3 cells concatenate together to form a value in another hidden cell, which matches the xs that are running down the side(also in a hidden column) - A unique identifier for each criteria, for each employee essentially.

they then type the date they want the information about said employee to pertain to, in the form of a week cell, a month cell and a year cell - again, these three concatenate to a code in a seperate cell that corresponds to the values running across the top.

I need the date concatenated values and the Employee concatenated values to both be involved in a look up, such that they match up and display the value that falls between both criteria.

I have tried MATCH and INDEX but cannot seem to get it to work (V represents the desired value)

Any help would be appreciated as it is for a client.

kind Regards,

Ben.
 
Last edited:

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Welcome to the board...

Here's a very basic example of a Matrix Lookup..

Hope it helps...


Excel Workbook
ABCDEF
1ABCDE
21210637214754386
32491960551568307
4398843778871419
54806170536558328
65203283313305446
76515573320960701
8
9
104C536
Sheet1
 
Upvote 0
That was incredibly fast, and i believe it is exactly what i need. You are the man! this board is decent man, ill be coming here often!

Thanks both of you!
 
Upvote 0
Hello Everybody, Im ben and Im Stuck!

x X x x x x x x x x x x x x
x |
x |
X v
x
x

(data table)

I need a formula that can look up a certain value that appears down the side, also find a value that appears across the top, and then display the value that appears at their intersection (as demonstrated in my crude diagram)

Essentially, in a seperateb tab, the user will type in employee name, the criteria pertaining to the employee in question they are interested in, and the department he works for. these 3 cells concatenate together to form a value in another hidden cell, which matches the xs that are running down the side(also in a hidden column) - A unique identifier for each criteria, for each employee essentially.

they then type the date they want the information about said employee to pertain to, in the form of a week cell, a month cell and a year cell - again, these three concatenate to a code in a seperate cell that corresponds to the values running across the top.

I need the date concatenated values and the Employee concatenated values to both be involved in a look up, such that they match up and display the value that falls between both criteria.

I have tried MATCH and INDEX but cannot seem to get it to work (V represents the desired value)

Any help would be appreciated as it is for a client.

kind Regards,

Ben.
Here's one way...

Book1
ABCD
1_FirstSecondThird
2This331363
3That464341
4Other634787
Sheet1

We want to lookup "That" and "Second"...

Lookup values:
  • A7 = That
  • B7 = Second
=VLOOKUP(A7,A1:D4,MATCH(B7,A1:D1,0),0)

Returns 43
 
Upvote 0

Forum statistics

Threads
1,224,558
Messages
6,179,512
Members
452,920
Latest member
jaspers

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