Index, Match and Lookup Problem

by76

New Member
Joined
May 2, 2010
Messages
15
I have a problem with data in different alignment to the outcome I need. I have names across the top, dates down the side, and random numerical data in the middle, but want to tip the data data on the side to meet another similar table. The data I have shows in Row 1, 26 names (B1:AA1), and in Column A a series of dates of 3 years (A2:A200). I need to be able to search the names in row 1, against the names that are in another table in column A, finding the dates in column A against the dates in row 1 in the destination table, and return the appropriate answer. I've tried Index, Match, and various lookups, but can't seem to get the syntax correct.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
What version of Excel are you using?
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
=INDEX(Sheet2!B2:AA20,MATCH(B1,Sheet2!A2:A200,0),MATCH(A2,Sheet2!B1:AA1,0))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,072
Messages
6,122,968
Members
449,095
Latest member
Mr Hughes

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