Name lookup formula

MarkAn

Board Regular
Joined
Sep 28, 2005
Messages
69
Office Version
  1. 2010
Hi

I have a spreadsheet with 2 worksheets.

Sheet1 holds a list of Names I.e. Mark, Paul, Peter etc
Sheet2 holds daily data, Column A = 1st day, Column B = 2nd day etc (this information changes month on month when new data is pasted in), it holds the name of the person and then below it holds a number.

The Names on Sheet1 appear in each column on Sheet2, however, not in the same order.

I am looking for a formula that I can input into Sheet1 Column B that will look at Column A of Sheet2 and bring back the value directly under the name. Ie. for Mark - Column A = 8, Column B = 6, Column C = 10 and so forth.

Hope you understand what I am trying to achieve.

Thanks
Mark
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
try this, copy B1 down and across


Excel 2013/2016
ABCDE
1
2
3
4Mark
522/10/201729/09/201714/10/201710/10/201713/10/2017
6
7
8
9
10
11Paul
1218/10/201713/10/201720/10/201707/10/201721/10/2017
Sheet2



Excel 2013/2016
ABCDEF
1Paul18/10/201713/10/201720/10/201707/10/201721/10/2017
2Mark22/10/201729/09/201714/10/201710/10/201713/10/2017
Sheet1
Cell Formulas
RangeFormula
B1=OFFSET(Sheet2!$A$1,MATCH($A1,Sheet2!$A:$A,0),COLUMN(B$1)-COLUMN($B$1))
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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