using vlookup to display multiple results

chapperzz

New Member
Joined
May 3, 2017
Messages
1
Hi,

I have set up a vlookup, which pulls in a row of data from a unique user from a table of results. At the moment my user chooses from a list of exams to display the certain data related to a unique user: =VLOOKUP($B9,results!$A$3:$K$70,3,FALSE)


Choose Exam from List to Display Indv Student Results

Surname
First Name
Student ID
%Score
Result
Grade
Evans L2 Spreadsheet Software MS Excel 2010 Cert UK Eng BCS112893

Evans
Natasha
BCS112893
66%
FAIL
U
Davies L2 Presentation Software MS PowerPoint 2010 Cert UK Eng BCS112894

Davies
Mollie
BCS112894
91%
PASS
A
Davies L2 Presentation Software MS PowerPoint 2010 Cert UK Eng BCS112894

Davies
Mollie
BCS112894
91%
PASS
A
Davies L2 Schools Improving Productivity MS Office 2010 Cert UK Eng BCS112894

Davies
Mollie
BCS112894
82%
PASS
B

<tbody>
</tbody>


What I would like to happen is when the user chooses a particular exam the lookup returns ALL the data relating to a unique user.

Click 1st Column to Display Indv Student Results

Surname
First Name
Student ID
%Score
Result
Grade
Batty L2 Presentation Software MS PowerPoint 2010 Cert UK Eng BCS112896

Batty
Matthew
BCS112896
45
FAIL
U
#N/A
#N/A
#N/A
#N/A
#N/A
#N/A

<tbody>
</tbody>

The problem I am getting is that other than the first line the results return N/a

The lookup formula for the top line is =VLOOKUP($B$17,results!$A$3:$K$3,3,FALSE), this pulls data from a single row in the table.

The lookup is then changed to select and display the next row of data =VLOOKUP($B$17,results!$A$4:$K$4,3,FALSE)

Is this possible or do I need a different solution?

Thanks
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,216,084
Messages
6,128,726
Members
449,465
Latest member
TAKLAM

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