PC Review


Reply
Thread Tools Rate Thread

How to Compare between cells and choose smallest value

 
 
Smallest value cell change color
Guest
Posts: n/a
 
      22nd Jun 2008
If I have four cells, and I want the one with the smallest value change
color automatically.
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      22nd Jun 2008
Hi,

Select you 4 cells - in my case A1 - A4 then

Format|Conditional format
Formula is
=A1=MIN($A$1:$A$4)

Pick a colour and click OK

Mike

"Smallest value cell change color" wrote:

> If I have four cells, and I want the one with the smallest value change
> color automatically.

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      22nd Jun 2008
You can:
Select the range (say A1:B2)
format|conditional formatting (xl2003 menus)
formula is:
=a1=min($a$1:$b$2)

and give it a nice format.

Smallest value cell change color wrote:
>
> If I have four cells, and I want the one with the smallest value change
> color automatically.


--

Dave Peterson
 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      22nd Jun 2008
Assume the range of cells is A11

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

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

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

--
Biff
Microsoft Excel MVP


"Smallest value cell change color" <Smallest value cell change
(E-Mail Removed)> wrote in message
news:4E9E8ECA-F14F-4D6A-88D5-(E-Mail Removed)...
> If I have four cells, and I want the one with the smallest value change
> color automatically.



 
Reply With Quote
 
jerminski73
Guest
Posts: n/a
 
      10th Jul 2008
I would like to do this same function only I want to grab the three lowest
values. Any ideas?

"Smallest value cell change color" wrote:

> If I have four cells, and I want the one with the smallest value change
> color automatically.

 
Reply With Quote
 
T. Valko
Guest
Posts: n/a
 
      10th Jul 2008
......A.....B.....C.....D
1..22....15....29...30

=SMALL(A$1$1,ROWS(A$1:A1))

Copy down a total of 3 cells.

Note that if there aren't at least N numbers in the range you'll get errors.

This formula makes sure there are enough numbers:

=IF(COUNT(A$1$1)>=ROWS(A$1:A1),SMALL(A$1$1,ROWS(A$1:A1)),"")

--
Biff
Microsoft Excel MVP


"jerminski73" <(E-Mail Removed)> wrote in message
news:5C1175DD-B4D8-4B2F-B396-(E-Mail Removed)...
>I would like to do this same function only I want to grab the three lowest
> values. Any ideas?
>
> "Smallest value cell change color" wrote:
>
>> If I have four cells, and I want the one with the smallest value change
>> color automatically.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare values in columns and highlight the smallest value lihui69 Microsoft Excel Misc 0 29th Dec 2008 03:37 AM
How do I compare two lists and choose the items that are in both? =?Utf-8?B?bGF1cmFiYWlsZXk4?= Microsoft Excel Worksheet Functions 0 3rd Jan 2006 11:31 PM
Smallest range on sheet containing non-blank cells? Ken Johnson Microsoft Excel Programming 4 3rd Oct 2005 09:48 AM
COMPARE DATA AND LIST SMALLEST AND LARGEST ENTRY BY UNIT =?Utf-8?B?RHdhaW4gQSwgbG91aXNpYW5h?= Microsoft Excel Misc 3 5th Aug 2005 05:01 PM
Ranking cells largest to smallest =?Utf-8?B?amltMzE0?= Microsoft Excel Misc 1 10th Jan 2005 09:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:33 PM.