Redlad91

New Member
Joined
Sep 29, 2015
Messages
11
Office Version
  1. 365
Hi,

I am looking for some help in finding an excel formula which will look up to manual values against a table on another sheet and give me the number in return.

For example, On sheet 1 I am looking search for the following values, Colleague name and period.

Within the table on Sheet 2 i have the colleagues names vertical on the left hand side of the sheet and the periods horizontally across the top of the sheet.

From here i want to manually type the name of the person i am looking for along with the period, for this to then find the value for both of these.

Example;

Sheet 1

Colleague Name: Bob
Period: P2

Result: 100

Sheet 2

Colleague name Period 1 Period 2 Period 3 Period 4

Bob 12 100 45 23
Anne 11 12 34 76
Dave 6 23 19 44
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
No cell references mentioned at all so I'll have to guess and come up with a working solution and you then have to adjust the formula according to your spreadsheet
I'm ignoring blank lines in your examples

Heres where I'm assuming the data is
Colleague Name in Sheet1 is in A1
Bob in Sheet1 is in B1

Colleague Name in Sheet2 is in A1
Bob in Sheet2 is in A2

FYI

You cant attach files on this forum. There are tools on this forum for adding small spreadsheet images

https://www.mrexcel.com/forum/about-board/508133-attachments.html

Or upload the file to an online storage site and post a link to it, though some people may not download the file for fear of viruses.


Otherwise try this

in Sheet1!B3
=INDEX(Sheet2!B$2:E$4,MATCH(B1,Sheet2!A$2:A$4,0),MATCH(B2,Sheet2!B$1:E$1,0))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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