Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Highlight the lowest number - only if it does not equal another va

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?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Highlight the lowest number - only if it does not equal another va

Conditionally format A1:A6 with

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

Tyro

"JJ2356" wrote in message
...
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?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Highlight the lowest number - only if it does not equal anothe

Thanks...

"Tyro" wrote:

Conditionally format A1:A6 with

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

Tyro

"JJ2356" wrote in message
...
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?




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Highlight the lowest number - only if it does not equal another va

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


"JJ2356" wrote in message
...
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?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Highlight the lowest number - only if it does not equal another va

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


"Rick Rothstein (MVP - VB)" wrote in
message ...
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


"JJ2356" wrote in message
...
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?





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Highlight the lowest number - only if it does not equal another va

Try this...

Select the range A1:A6
Goto the menu FormatConditional 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

--
Biff
Microsoft Excel MVP


"JJ2356" wrote in message
...
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?



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Highlight the lowest number - only if it does not equal another va

Thanks for all your help.

"JJ2356" wrote:

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Highlight lowest price in a row. chadboehne Excel Discussion (Misc queries) 6 December 17th 07 05:04 PM
Highlight highest / lowest number in a row [email protected] Excel Discussion (Misc queries) 3 April 1st 07 02:00 AM
highlight lowest value in a list MRB Excel Discussion (Misc queries) 2 March 1st 07 05:34 PM
CF to highlight lowest price in row kale Excel Worksheet Functions 5 December 1st 06 07:45 PM
Highlight lowest number Amber M Excel Discussion (Misc queries) 2 January 12th 05 12:19 AM


All times are GMT +1. The time now is 11:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"