ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Format? (https://www.excelbanter.com/excel-discussion-misc-queries/183037-conditional-format.html)

Ken

Conditional Format?
 
Excel2003

I have a list of values (approx 30) of which some may repeat.

I wish to set cell pattern of "next to lowest" value.

=MIN(myrange) will set cell pattern containing lowest value, but I need to
be 1 click up from MIN value ... (I need to set cell pattern of "next to
lowest" value(s)).

Solutions? ... Thanks ... Kha



Jim Rech[_2_]

Conditional Format?
 
Look at the SMALL worksheet function.

--
Jim
"Ken" wrote in message
...
| Excel2003
|
| I have a list of values (approx 30) of which some may repeat.
|
| I wish to set cell pattern of "next to lowest" value.
|
| =MIN(myrange) will set cell pattern containing lowest value, but I need to
| be 1 click up from MIN value ... (I need to set cell pattern of "next to
| lowest" value(s)).
|
| Solutions? ... Thanks ... Kha
|
|



Pete_UK

Conditional Format?
 
Use the SMALL function, with a parameter of 2 to get the second
smallest - XL Help describes it well.

Hope this helps.

Pete

On Apr 9, 1:01*pm, Ken wrote:
Excel2003

I have a list of values (approx 30) of which some may repeat.

I wish to set cell pattern of "next to lowest" value.

=MIN(myrange) will set cell pattern containing lowest value, but I need to
be 1 click up from MIN value ... (I need to set cell pattern of "next to
lowest" value(s)).

Solutions? ... Thanks ... Kha



Ken

Conditional Format?
 
Issue with SMALL Function is ... when MIN Value randomly Repeats SMALL
Function returns MIN Value.

Thanks ... Kha

"Pete_UK" wrote:

Use the SMALL function, with a parameter of 2 to get the second
smallest - XL Help describes it well.

Hope this helps.

Pete

On Apr 9, 1:01 pm, Ken wrote:
Excel2003

I have a list of values (approx 30) of which some may repeat.

I wish to set cell pattern of "next to lowest" value.

=MIN(myrange) will set cell pattern containing lowest value, but I need to
be 1 click up from MIN value ... (I need to set cell pattern of "next to
lowest" value(s)).

Solutions? ... Thanks ... Kha




Pete_UK

Conditional Format?
 
Well, if you have 3 values that happen to be the minumum, those are
the 3 smallest values - you will find the next largest value with a
parameter of 4, so instead of using a specific number you can use
COUNTIF for the smallest number and then add 1 onto it, something like
this:

=SMALL(A1:A10,COUNTIF(A1:A10,SMALL(A1:A10,1))+1)

This will find the second smallest numerical value in A1:A10, even if
you have several that are equal to the minimum.

Hope this helps.

Pete

On Apr 10, 3:12*pm, Ken wrote:
Issue with SMALL Function is ... when MIN Value randomly Repeats SMALL
Function returns MIN Value.

Thanks ... Kha



"Pete_UK" wrote:
Use the SMALL function, with a parameter of 2 to get the second
smallest - XL Help describes it well.


Hope this helps.


Pete


On Apr 9, 1:01 pm, Ken wrote:
Excel2003


I have a list of values (approx 30) of which some may repeat.


I wish to set cell pattern of "next to lowest" value.


=MIN(myrange) will set cell pattern containing lowest value, but I need to
be 1 click up from MIN value ... (I need to set cell pattern of "next to
lowest" value(s)).


Solutions? ... Thanks ... Kha- Hide quoted text -


- Show quoted text -



Ken

Conditional Format?
 
Pete ... (Hi)

SMALL ... Finds small value
COUNTIF(SMALL)+1 ... becomes the SMALL "k" position
Wrap all this in SMALL again ... Right Answer.

I have no idea how the members of these boards that are intimate with Excel
unravel all these spider webs presented on a daily basis ... BUT I am
grateful that you do ... Another one bites the dust ... Thanks ... Kha

"Pete_UK" wrote:

Well, if you have 3 values that happen to be the minumum, those are
the 3 smallest values - you will find the next largest value with a
parameter of 4, so instead of using a specific number you can use
COUNTIF for the smallest number and then add 1 onto it, something like
this:

=SMALL(A1:A10,COUNTIF(A1:A10,SMALL(A1:A10,1))+1)

This will find the second smallest numerical value in A1:A10, even if
you have several that are equal to the minimum.

Hope this helps.

Pete

On Apr 10, 3:12 pm, Ken wrote:
Issue with SMALL Function is ... when MIN Value randomly Repeats SMALL
Function returns MIN Value.

Thanks ... Kha



"Pete_UK" wrote:
Use the SMALL function, with a parameter of 2 to get the second
smallest - XL Help describes it well.


Hope this helps.


Pete


On Apr 9, 1:01 pm, Ken wrote:
Excel2003


I have a list of values (approx 30) of which some may repeat.


I wish to set cell pattern of "next to lowest" value.


=MIN(myrange) will set cell pattern containing lowest value, but I need to
be 1 click up from MIN value ... (I need to set cell pattern of "next to
lowest" value(s)).


Solutions? ... Thanks ... Kha- Hide quoted text -


- Show quoted text -




Pete_UK

Conditional Format?
 
Thanks for feeding back, Ken - I'm glad to be of help.

Of course, in your specific case you could have used MIN(A1:A10) instead of
the inner SMALL function, but then you might have come back asking to find
the third smallest value ...

Hopefully you can see how you might do that now.

Pete

"Ken" wrote in message
...
Pete ... (Hi)

SMALL ... Finds small value
COUNTIF(SMALL)+1 ... becomes the SMALL "k" position
Wrap all this in SMALL again ... Right Answer.

I have no idea how the members of these boards that are intimate with
Excel
unravel all these spider webs presented on a daily basis ... BUT I am
grateful that you do ... Another one bites the dust ... Thanks ... Kha

"Pete_UK" wrote:

Well, if you have 3 values that happen to be the minumum, those are
the 3 smallest values - you will find the next largest value with a
parameter of 4, so instead of using a specific number you can use
COUNTIF for the smallest number and then add 1 onto it, something like
this:

=SMALL(A1:A10,COUNTIF(A1:A10,SMALL(A1:A10,1))+1)

This will find the second smallest numerical value in A1:A10, even if
you have several that are equal to the minimum.

Hope this helps.

Pete

On Apr 10, 3:12 pm, Ken wrote:
Issue with SMALL Function is ... when MIN Value randomly Repeats SMALL
Function returns MIN Value.

Thanks ... Kha



"Pete_UK" wrote:
Use the SMALL function, with a parameter of 2 to get the second
smallest - XL Help describes it well.

Hope this helps.

Pete

On Apr 9, 1:01 pm, Ken wrote:
Excel2003

I have a list of values (approx 30) of which some may repeat.

I wish to set cell pattern of "next to lowest" value.

=MIN(myrange) will set cell pattern containing lowest value, but I
need to
be 1 click up from MIN value ... (I need to set cell pattern of
"next to
lowest" value(s)).

Solutions? ... Thanks ... Kha- Hide quoted text -

- Show quoted text -







All times are GMT +1. The time now is 07:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com