Highlight lowest value in row via conditional formating

mstillwago

New Member
Joined
Dec 3, 2002
Messages
1
How do I use conditional formating to highlight the lowest (or highest) value in a row of numbers?

Thanks.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Howdy mstillwago, welcome to the board.

Condition 1:

cell value is equal to =MAX(row#:row#)

Condition 2:

cell value is equal to =min(row#:row#)

Hope this helps.

Edit: apply the format to the entire row, you can select the row while doing this.
_________________
Cheers,<font size=+2><font color="red"> Nate<font color="blue"> Oliver</font></font></font>
This message was edited by NateO on 2002-12-04 17:50
 
Upvote 0
=AND(A1=MIN(A:A),COUNTIF(A:A,A1)=1)
will highlight only the lowest number, if there is a dupe number i.e. two 1's, it will not highlight

Forgot to mention, got this from Mark W.
This message was edited by maxflia10 on 2002-12-04 17:49
 
Upvote 0
First of All, Welcome to the Board!

Under conditional format, change the drop down to formula is.
For condition 1, type the formula
=if(a3=max($A$3:$A$24),1,0) then format
For condition 2, type the formula
=if(a3=min($a$3:$a$24),1,0)

Make sure you put the range as absolute reference otherwise multiple highlights will showup.

HTH~
EdE
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,380
Members
448,955
Latest member
BatCoder

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
Back
Top