Often you may want to highlight the cell with the max value in each row in Excel.
Fortunately this is easy to do using the New Rule feature within the Conditional Formatting options.
The following example shows how to do so.
Example: Highlight Max Value in Each Row in Excel
Suppose we have the following dataset that shows the number of points scored during four different games by various basketball teams:
Suppose we would like to highlight the highest scoring game for each team.
To do so, we can highlight the cell range B2:E8 and then click the Conditional Formatting icon on the Home tab along the top ribbon, then click New Rule from the dropdown menu:
In the new window that appears, click Use a formula to determine which cells to format and then type the following formula in:
=B2=MAX($B2:$E2)
Then click the Format button and choose a color to use for the conditional formatting.
We’ll choose light green:
Lastly, click OK.
The max value in each row will now be highlighted:
Note: In this example we chose to use a light green fill for the conditional formatting of the cells, but you can choose any fill color you’d like.
Additional Resources
The following tutorials explain how to perform other common tasks in Excel:
Excel: How to Check if Cell Contains Text from List
Excel: Search for Value in List and Return Yes or No
Excel: How to Match Two Columns and Return a Third