Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Conditional Formatting by % of whole


I'm trying to use conditional formatting to highlight the values that
are in the top 75% of the data set and the bottom 25% of the data set.
Any help would be great. Thanks

Ross


--
Ross Mattson
------------------------------------------------------------------------
Ross Mattson's Profile: http://www.excelforum.com/member.php...o&userid=36757
View this thread: http://www.excelforum.com/showthread...hreadid=564752

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default Conditional Formatting by % of whole

If your data is in column A (for example), in cell A1:

In the Conditional Formatting dialog, select "Formula Is". In the adjacent
textbox, enter =PERCENTRANK(A:A,A1,2)<=0.25
Click the Format... button. On the Patterns tab, click a color, then OK.

In the Conditional Formatting dialog, select Add . Select "Formula Is",
and in the adjacent textbox, enter =PERCENTRANK(A:A,A1,2)=0.75
Click the Format... button. On the Patterns tab, click a color, then OK.

Finally, click OK to close the Conditional Formatting dialog. Use the
Format Painter to apply this conditional formatting to other cells as desired.

PERCENTRANK may not give you exactly the results you expect, but it seemed
like the natural choice for your request. It simply converts the rank of each
number to a percentage - i.e.
PRECENTRANK(x) = (rank(x)-1)/(N-1)
...where rank is a number from 1 to N.

Hope this helps,

Hutch

"Ross Mattson" wrote:


I'm trying to use conditional formatting to highlight the values that
are in the top 75% of the data set and the bottom 25% of the data set.
Any help would be great. Thanks

Ross


--
Ross Mattson
------------------------------------------------------------------------
Ross Mattson's Profile: http://www.excelforum.com/member.php...o&userid=36757
View this thread: http://www.excelforum.com/showthread...hreadid=564752


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
sorting a range with conditional formatting renie Excel Worksheet Functions 2 June 2nd 06 11:43 PM
conditional formatting glitches Kat Excel Discussion (Misc queries) 2 May 26th 06 09:16 PM
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 04:00 PM
conditional formatting Rich Excel Discussion (Misc queries) 2 April 1st 06 11:27 AM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 10:44 PM


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

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

About Us

"It's about Microsoft Excel"