VLOOKUP/HLOOKUP/XLOOKUP novice question

Copper Contributor

Hello all, 

 

First, thanks in advance for any help. 

 

Running Microsoft Excel for Mac v 16.56, MacOS Mojave 12.1


I am doing some scorekeeping for a gymnastics team, using the attached spreadsheet. My question focuses around the ALL AROUND section, range A40:I44. In that group, I have VLOOKUP formulas to look up the name and values for the BARS, BEAM and FLOOR events in the spreadsheet. That was easy for me to do. 

 

However, the VAULT is a little tougher. That's because in gymnastics, a gymnast will perform once on an event, and their score is averaged by the two judges...however on the vault, a gymnast has two attempts. So in the ALL AROUND section at the bottom, what I need to have is a formula that will lookup Jenny's name in the Vault group, look at her two scores (D3 and D4) and return the LARGER (or MAX) of the two scores. In Jenny's case, 8.500 in cell B42. For Jasmine, it should return the value 8.500 from the D5 and D6 scores in cell B43. For Emily, it should return in cell B44 the value 8.200 from the scores in D7 and D8. 

 

This is where I don't know how to write the formula. I believe it's an XLOOKUP of some kind, with MAX somewhere in there, but I have no idea where to start or how to write it.

 

8.5008.5008.2008.1008.3008.5009.1008.9008.7007.7007.9008.10024.900025.100025.3000

VAULT      
NameScoreAvg.      
Jenny7.0008.0007.500      
8.0009.0008.500     
Jasmine9.0008.000

8.500

     
8.0008.4008.200      
Emily8.2008.2008.200     
8.0008.0008.000      
          
         
          
         
          
UNEVEN BARS      
NameScoreAvg.      
Jenny8.0008.200

8.100

     
Jasmine8.2008.4008.300     
Emily8.4008.6008.500     
          
          
          
BEAM      
NameScoreAvg.      
Jenny9.0009.2009.100     
Jasmine8.8009.0008.900     
Emily8.6008.8008.700     
          
          
          
FLOOR EXERCISE      
NameScoreAvg.      
Jenny7.6007.8007.700     
Jasmine7.8008.0007.900     
Emily8.0008.2008.100     
          
          
          
          
          
ALL AROUND 
NameVAULTBARSBEAMFLOORTOTAL 
Jenny?????8.1009.1007.700 
Jasmine?????8.3008.9007.900 
Emily?????8.5008.7008.100 

 

 

Anyone have any suggestions or help for me???? THANK YOU!

Brad

2 Replies

@bzenner I copied the table into an empty sheet and moved a few cells around to arrive at what I believe your real sheet looks like. Why don't you add a column (E) in the VAULT section that calculates the MAX of the two Average scores for each gymnast? Than you can use VLOOKUP or XLOOPUP just like you did for the other disciplines.

Screenshot 2021-12-23 at 07.05.48.png

@Riny_van_Eekelen Duh that makes sense, thanks for the idea! I thought i was going to have to do some complicated formula at the bottom of the sheet. Appreciate it!
 Brad