Display Highest Score Using Vlookup

jewls567

New Member
Joined
Jun 1, 2020
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
I have an employee roster where I am doing a Vlookup using their employee ID from another sheet which has their ID & multiple quiz scores per employee. I'm trying to figure out how to bring over each employee's highest quiz score so that each employee shows the most accurate score. The second sheet may have employees included in the roster that never took the quiz, those that took it once, or those that took it multiple times and have several different scores. What would be the best way to do this? Thank you very much for your help in advance! :)
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hard to tell without examples, but I think you're looking for the MAXIFS formula.
 
Upvote 0
I think you're looking for the MAXIFS formula.
MAXIFS Help says it was introduced in Excel 2019 - which the OP does not have.

@jewls567
I have done this in one sheet but you should be able to adapt to 2. If not, or the general layout here is not what you have then please post a small set of sample data and expected results - preferably with XL2BB so that we can easily copy to test with.

jewls567.xlsm
ABCDEF
1IDScoreID
2ID 148ID 148
3ID 254ID 257
4ID 836ID 3 
5ID 955ID 4 
6ID 527ID 527
7ID 760ID 654
8ID 59ID 794
9ID 794ID 836
10ID 790ID 955
11ID 654
12ID 257
Sheet1
Cell Formulas
RangeFormula
F2:F10F2=IFERROR(AGGREGATE(14,6,B$2:B$12/(A$2:A$12=E2),1),"")
 
Upvote 0
Here another way to consider

Dante Amor
ABCDEF
1IDScoreID
2ID 148ID 148
3ID 254ID 257
4ID 836ID 30
5ID 955ID 40
6ID 527ID 527
7ID 760ID 654
8ID 59ID 794
9ID 794ID 836
10ID 790ID 955
11ID 654
12ID 257
Sheet1
Cell Formulas
RangeFormula
F2:F10F2=MAX(IF($A$2:$A$12=E2,$B$2:$B$12))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

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