Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dan
 
Posts: n/a
Default Conditional Formatting Bottom 10 with "ties"

Hello all -
I am wanting to highlight the Bottom 10 cells in a range ($D$6:$D$25),
I've got the basic formula but am confused when it comes to cells with
"ties" (a.k.a. the same number), as it wants to highlight more than 10
cells at times.

My formula is:
=D6<=SMALL($D$6:$D$25,10)

How can I modify this so it will account for a "tie" with another cell?

Thanks!
Dan

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Conditional Formatting Bottom 10 with "ties"

Hi!

Not sure what you're asking.

If a bottom n (or top n) list contains ties, those ties should be factored
in the n criteria.

A bottom 10 list can be more than 10 values if each value isn't unique It
could even be the entire range depending on the ties.

There was a post in another forum last night that wanted the top 5. I asked
this question (I'll adapt it to your situation):

Suppose you want the bottom 3. (assuming the low values are considered the
bottom)

These are the values:

1;1;1;1;2;2;3;4;5;6;7

.......................................1..1..1..1. .2..2..3..4..5..6..7
Would the bottom 3 be: ..1..2..3

.......................................1..1..1..1. .2..2..3..4..5..6..7
Would the bottom 3 be: ..1..2..3..3

.......................................1..1..1..1. .2..2..3..4..5..6..7
Would the bottom 3 be: ..1..1..1..1..2..2..3

Biff

"Dan" wrote in message
ups.com...
Hello all -
I am wanting to highlight the Bottom 10 cells in a range ($D$6:$D$25),
I've got the basic formula but am confused when it comes to cells with
"ties" (a.k.a. the same number), as it wants to highlight more than 10
cells at times.

My formula is:
=D6<=SMALL($D$6:$D$25,10)

How can I modify this so it will account for a "tie" with another cell?

Thanks!
Dan



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dan
 
Posts: n/a
Default Conditional Formatting Bottom 10 with "ties"

Biff -
Thanks for your response. In my situation, I would say the bottom
three are 1..1..1. Even though there are 4 in your example, I would
just want the first three.

Thanks,
Dan

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Conditional Formatting Bottom 10 with "ties"

Ok.....

Select the range D6:D25
Goto FormatConditional Formatting
Formula Is: use the one that applies

For the bottom 10:

=RANK(D6,D$6:D$25,1)+COUNTIF(D$6:D6,D6)-1<=10

For the top 10:

=RANK(D6,D$6:D$25)+COUNTIF(D$6:D6,D6)-1<=10

Biff

"Dan" wrote in message
oups.com...
Biff -
Thanks for your response. In my situation, I would say the bottom
three are 1..1..1. Even though there are 4 in your example, I would
just want the first three.

Thanks,
Dan



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dan
 
Posts: n/a
Default Conditional Formatting Bottom 10 with "ties"

Very cool! Thanks much for your help Biff!



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Conditional Formatting Bottom 10 with "ties"

You're welcome. Thanks for the feedback!

Biff

"Dan" wrote in message
ups.com...
Very cool! Thanks much for your help Biff!



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
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
conditional formatting Rich Excel Discussion (Misc queries) 2 April 1st 06 10:27 AM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 09:44 PM
Conditional Formatting Not Working Consistently Christina Excel Discussion (Misc queries) 6 July 22nd 05 11:55 PM
conditional formatting with formula mwc0914 Excel Worksheet Functions 2 July 20th 05 08:11 PM


All times are GMT +1. The time now is 06:04 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"