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>
 

Some videos you may like

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,338
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,338
Office Version
  1. 365
Platform
  1. Windows
Terrific. You're welcome.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,400
Messages
5,601,467
Members
414,452
Latest member
Dannysamworth

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