Looking to Find Max and Highlight Adjacent Cell

Copper Contributor

Hello,

 

I'm geeking out and making a spreadsheet for my Fantasy Football league and am looking for a way for Excel to find the Max score between two teams and then highlight the Winner in the column to the left. For example, below I want it to look in B2:B3 to find the Max and then fill the cell corresponding to that team (in this case A3). Is there any way to do that?

FF.JPG

1 Reply

@bbla1013 Simple answer yes.  

 

MaxHighlight.gif

 

You can use conditional formatting to accomplish this.  

DexterG_III_0-1663007087981.png

The formula in the rule is: =$B8=MAX($B$8:$B$9)

 

If you want to scale this to include all games, you'll need to include a game group or something similar that resets the max calculation for each game.  

 

Here I used a different formula that calculates the max for each individual game by game group: 

 

=$C8=MAXIFS($C$8:$C$13,$A$8:$A$13,$A8)

 

DexterG_III_1-1663007498404.png