Conditional Formatting Cells Based on Max of Corresponding Cells

cdubs34

New Member
Joined
Jul 26, 2011
Messages
34
In the example below, I need to conditionally format (in red text) the name that has the highest spend. So in the example Jane Doe would be conditionally formatted to red text. Could you please provide help on the formula to use for this? Thank you!
John Smith$20
Jane Doe$25
Don Johnson$10

<tbody>
</tbody>
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,484
Office Version
  1. 365
Platform
  1. Windows
Select cells A1 to A3. Click on Conditional Formatting | New Rule | Use a formula... Paste or type exactly the following into the Format Values where... box =MAX($B$1:$B$3)=$B1 Choose a format that you desire, like red font. Cell A2 (Jane Doe) will be red because the expenditure in B2 matches the highest expenditure in Column B's range.

You can learn all about CondFrmt by watching the ExcelIsFun channel's videos on YouTube https://www.youtube.com/watch?v=GRfe4bHsjhI&t=1s
 
Last edited:

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,484
Office Version
  1. 365
Platform
  1. Windows
Terrific. You're welcome.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,854
Messages
5,833,993
Members
430,250
Latest member
Reggie Mcqueen

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
Top