Highlight the lowest number - only if it does not equal another va

  • Thread starter Thread starter JJ2356
  • Start date Start date
J

JJ2356

I want to highlight the lowest number in a range, only if that number does
not equal another number in the same range.

For instance, if in Cells A1:A6, the number 2 is the lowest number and all
other numbers are higher, I want the cell with the number 2 highlighted.

If in Cells A1:A6, the number 2 is the lowest number, but occurs twice, I do
not want any cells highlighted.

Any advice?
 
Conditionally format A1:A6 with

=AND(A1=MIN($A$1:$A$6),COUNTIF($A$1:$A$6,MIN($A$1:$A$6))=1)

Tyro
 
You could use this formula in a Conditional Format...

=AND(A1=SMALL(A$1:A$6,1),SMALL(A$1:A$6,1)<>SMALL(A$1:A$6,2))

Rick
 
In thinking about it, I guess we could save 8 characters...

=AND(A1=MIN(A$1:A$6),MIN(A$1:A$6)<>SMALL(A$1:A$6,2))

Rick
 
Try this...

Select the range A1:A6
Goto the menu Format>Conditional Formatting
Formula Is:

=AND(A1<>"",A1=MIN(A$1:A$6),COUNTIF(A$1:A$6,A1)=1)

Click the Format button
Select the desired style(s)
OK out
 
Back
Top