Help with Vlookup in array of data

zillafreak

New Member
Joined
Oct 25, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hello, I am having trouble with vlookup formula. I am trying to search in an array of data for the max/min numbers and have it return name of a person associated with the number.
My data is as follows.

Week1Week2Week3Week 4Week5
Jason505560695
Nick2045104020
Bob3040501555

I am trying to do a cell that spits out the person with the max score.
First I have a cell that gives the max score (=max(B2:F4)) which is 69. Then I would like the cell next to it to display the person with the score aka Jason. I cant figure out how to search in multiply columns and rows then give the numbers.

thanks for any help.
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try

Book2
ABCDEFG
1Week1Week2Week3Week 4Week5
2Jason505560695
3Nick2045104020
4Bob3040501555
5
65055606955
7JasonJasonJasonJasonBob
8
9
Sheet1
Cell Formulas
RangeFormula
B6:F6B6=MAX(B2:B4)
B7:F7B7=INDEX($A$2:$A$4,MATCH(B6,B2:B4,0))
 
Upvote 0
What should happen if two people get the same max score?
 
Upvote 0
Upvote 0
Can you please answer my question?
 
Upvote 0
What should happen if two people get the same max score?
After 7 weeks, we had a couple close scores, but none were the same. it is possible, but I haven't seen this happen yet. Plus the chance of two teams having the same max and min is even lower.



This is my table of data. The #n/a cells, I am trying to get them to say the team name the corresponds to that score.
So for the max of 232.88, it should say Goose. Surprisingly, the min of 85.74 should also say Goose.

This is for my Fantasy Football league and I am trying to use it show some stats for everyone. Also doing this to help better my excel skills.
 

Attachments

  • sheet.png
    sheet.png
    40.5 KB · Views: 20
Upvote 0
Ok, how about
+Fluff 1.xlsm
ABCDEFGHI
1Week1Week2Week3Week 4Week5
2Jason5055606955Jason
3Nick206910402069Jason, Nick
4Bob3040501555
Main
Cell Formulas
RangeFormula
H2H2=MIN(B2:F4)
I2I2=TEXTJOIN(", ",,IF(B2:F4=H2,A2:A4,""))
H3H3=MAX(B2:F4)
I3I3=TEXTJOIN(", ",,IF(B2:F4=H3,A2:A4,""))
 
Upvote 0
Ok, how about
+Fluff 1.xlsm
ABCDEFGHI
1Week1Week2Week3Week 4Week5
2Jason5055606955Jason
3Nick206910402069Jason, Nick
4Bob3040501555
Main
Cell Formulas
RangeFormula
H2H2=MIN(B2:F4)
I2I2=TEXTJOIN(", ",,IF(B2:F4=H2,A2:A4,""))
H3H3=MAX(B2:F4)
I3I3=TEXTJOIN(", ",,IF(B2:F4=H3,A2:A4,""))
Thank you so much.
This worked perfectly.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,247
Messages
6,171,007
Members
452,374
Latest member
keccles

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