If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 Conditional format of minimum number
 Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

## Conditional format of minimum number

#1
September 17th 05, 02:42 AM
 MaggieMagill external usenet poster Posts: n/a
Conditional format of minimum number

I have a column of numbers that are the results of a formula (common to
each row). What I would like to do is apply a format to the cell that
contains the minimum value in the column and to the max value as well.

I can use the MIN or MAX formula to place the value in a remote cell then
use the conditional format to match that value to what's in the column but
I'm thinking there's better mousetrap.

Shouldn't I be able to just apply the formatting to the cell directly?
#2
September 17th 05, 03:24 AM
 Ron Rosenfeld external usenet poster Posts: n/a

On Sat, 17 Sep 2005 01:42:11 GMT, MaggieMagill > wrote:

>I have a column of numbers that are the results of a formula (common to
>each row). What I would like to do is apply a format to the cell that
>contains the minimum value in the column and to the max value as well.
>
>I can use the MIN or MAX formula to place the value in a remote cell then
>use the conditional format to match that value to what's in the column but
>I'm thinking there's better mousetrap.
>
>Shouldn't I be able to just apply the formatting to the cell directly?

Format/Conditional Formatting/Formula Is:

condition 1: =G1=MAX(\$G\$1:\$G\$23)
format to taste
condition 2: =G1=MIN(\$G\$1:\$G\$23)
format to taste

Note the use of relative and absolute references in the formula.

--ron
#3
September 17th 05, 03:26 AM
 Peo Sjoblom external usenet poster Posts: n/a

Assume the values are in A2:A100, select from A2 as the active cell (type
A2:A100 in the name box and press enter or select A2 and hold down the mouse
button and select down to A100), do format>conditional formatting, select
formula is, in the formula box put

=MIN(\$A\$2:\$A\$100)=A2

select the format you want, then add condition 2 and use

=MAX(\$A\$2:\$A\$100)=A2

--
Regards,

Peo Sjoblom

"MaggieMagill" > wrote in message
news:[email protected]..
>I have a column of numbers that are the results of a formula (common to
> each row). What I would like to do is apply a format to the cell that
> contains the minimum value in the column and to the max value as well.
>
> I can use the MIN or MAX formula to place the value in a remote cell then
> use the conditional format to match that value to what's in the column but
> I'm thinking there's better mousetrap.
>
> Shouldn't I be able to just apply the formatting to the cell directly?

#4
September 17th 05, 03:48 AM
 bill k external usenet poster Posts: n/a

highlight the range and under conditional formatting select
<cell value><is equal to>
and enter in the right hand block =Max(\$A\$2:\$A\$51)
then set the format.....

similar for the minimum

--
bill k

------------------------------------------------------------------------
bill k's Profile: http://www.excelforum.com/member.php...nfo&userid=821

#5
September 18th 05, 10:00 AM
 MaggieMagill external usenet poster Posts: n/a

bill k > wrote in
:

>
> highlight the range and under conditional formatting select
> <cell value><is equal to>
> and enter in the right hand block =Max(\$A\$2:\$A\$51)
> then set the format.....
>
> similar for the minimum
>
>

Thank you all for the responses! Works perfect! I guess my biggest problem
was not using absolute references for the range.

But I'm curious - two different solutions were offered and both seem to
work for what I need. Why does one version (suggested twice) include the
relative reference to the first cell in the range?

Oh wait - I see one is "formula is" the other "cell value is". So what I
see is that the "formula is" version is basicaly
={cell value is}=Max(abs range).

So now my question is (in trying to understand the function better) if the
=MAX(\$A\$2:\$A\$51) can be applied to each cell in the range for the
condition, is there any benefit in applying it as a formula that contains
that relative cell's value to compare with the function within the formula?

Am I correct in seeing the "formula is" version as an added wrapper or
redundancy of sorts?

Don't mind my question - I'm just trying to figure out the "formula logic"
Excel uses. It's an academic question as both provide the desired results!
#6
September 25th 05, 10:05 PM
 bill k external usenet poster Posts: n/a

thanks for the feed back
excellent question.
I have been waiting for Ron or Peo to answer as both are experts in
excell. I'm merely an amateur learning by risking to offer the odd

--
bill k

------------------------------------------------------------------------
bill k's Profile: http://www.excelforum.com/member.php...nfo&userid=821

#7
September 25th 05, 11:36 PM
 Roger Govier external usenet poster Posts: n/a

Hi Maggie

In the cell value scenario, the formatting will only change if the condition
of that cell meets the criteria set.

In the Formula Is scenario, the same happens to be true (in your case)
because the criteria contains the cell name as part of the criteria set.
But equally you could set a cell to change format based upon the results of
criteria relating to an entirely different set of cells.

e.g. You might want the heading to become bold red if there are more than a
certain number of entries in the column.

Regards

Roger Govier

MaggieMagill wrote:
> bill k > wrote in
> :
>
>
>>highlight the range and under conditional formatting select
>><cell value><is equal to>
>>and enter in the right hand block =Max(\$A\$2:\$A\$51)
>>then set the format.....
>>
>>similar for the minimum
>>
>>

>
>
> Thank you all for the responses! Works perfect! I guess my biggest problem
> was not using absolute references for the range.
>
> But I'm curious - two different solutions were offered and both seem to
> work for what I need. Why does one version (suggested twice) include the
> relative reference to the first cell in the range?
>
> Oh wait - I see one is "formula is" the other "cell value is". So what I
> see is that the "formula is" version is basicaly
> ={cell value is}=Max(abs range).
>
> So now my question is (in trying to understand the function better) if the
> =MAX(\$A\$2:\$A\$51) can be applied to each cell in the range for the
> condition, is there any benefit in applying it as a formula that contains
> that relative cell's value to compare with the function within the formula?
>
> Am I correct in seeing the "formula is" version as an added wrapper or
> redundancy of sorts?
>
> Don't mind my question - I'm just trying to figure out the "formula logic"
> Excel uses. It's an academic question as both provide the desired results!

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts vB code is On Smilies are On [IMG] code is On HTML code is Off
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Excel Newsgroups     Excel Discussion (Misc queries)     Setting up and Configuration of Excel     New Users to Excel     Excel Worksheet Functions     Links and Linking in Excel     Charts and Charting in Excel     Excel Programming About ExcelBanter     About this forum

 Similar Threads Thread Thread Starter Forum Replies Last Post How to link cells and keep number format altogether Yi Excel Discussion (Misc queries) 0 May 6th 05 02:12 PM Format number as text on import Ron Swinehart Excel Discussion (Misc queries) 3 March 4th 05 10:59 PM How do I format a cell for a custom part number? PJ Excel Discussion (Misc queries) 4 March 3rd 05 03:57 AM Conditional Format Titles Jenn Excel Discussion (Misc queries) 1 February 22nd 05 09:41 PM Conditional Format With SUMIF Minitman Excel Worksheet Functions 3 November 1st 04 02:58 PM

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