Search database

Lawrences

New Member
Joined
Aug 10, 2014
Messages
45
I have been trying to use several formulas (VLOOKUP, INDIRECT, INDEX etc.) however I cant seem to arrive at the correct formula. My problem is:

I am trying to create an excel sheet (named eg. Sheet1) which pulls information from Sheet2. Basically, in sheet1 you enter the name of the object and in the cells below all the information of the object will be pulled out of the database and displayed. Here is an example:
Search Sheet1 has the following cells. Basically you enter the footballers name and the rest of the information (age, weight) is displayed.
Capture3.png


The database spreadsheet looks like the following cells on Sheet2. The age/weight/height/footballer are all arranged in columns now.
Capture2.png


Can someone please help me write a formula into cells B2, B3 and B4 of Sheet1 so that it pulls the value of the right row in Sheet2 based on column A (footballer name).

Thanks
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Try this in B2:

=INDEX(Sheet2!$A$1:$D$40,MATCH(B$1,Sheet2!$A$1:$A$40,0),MATCH($A2,Sheet2!$A$1:$D$1,0))
 
Upvote 0

Forum statistics

Threads
1,214,786
Messages
6,121,553
Members
449,038
Latest member
Guest1337

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