Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How to Compare between cells and choose smallest value

If I have four cells, and I want the one with the smallest value change
color automatically.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default How to Compare between cells and choose smallest value

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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default How to Compare between cells and choose smallest value

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
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to Compare between cells and choose smallest value

Assume the range of cells is A1:D1

Select the range A1:D1
Goto the menu FormatConditional 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
wrote in message
...
If I have four cells, and I want the one with the smallest value change
color automatically.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default How to Compare between cells and choose smallest value

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.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to Compare between cells and choose smallest value

......A.....B.....C.....D
1..22....15....29...30

=SMALL(A$1:D$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:D$1)=ROWS(A$1:A1),SMALL(A$1:D$1,ROW S(A$1:A1)),"")

--
Biff
Microsoft Excel MVP


"jerminski73" wrote in message
...
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
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
Compare 2 columns and choose one and enter answer in third column Betsy Excel Worksheet Functions 1 June 30th 06 06:17 PM
How do I compare cells and if FALSE compare to next cell in EXCEL Cindie Excel Worksheet Functions 0 March 24th 06 05:29 PM
How do I compare two lists and choose the items that are in both? laurabailey8 Excel Worksheet Functions 0 January 3rd 06 11:31 PM
COMPARE DATA AND LIST SMALLEST AND LARGEST ENTRY BY UNIT Dwain A, louisiana Excel Discussion (Misc queries) 3 August 5th 05 05:01 PM
Ranking cells largest to smallest jim314 Excel Discussion (Misc queries) 1 January 10th 05 09:01 PM


All times are GMT +1. The time now is 03:19 PM.

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

About Us

"It's about Microsoft Excel"