Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to create a macro that chooses the top 80% of the cells in a column,
0, and formats them with colour. I really just need the formula, I can do the macro. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I had 50 numbers in A1:A50 and attached this conditional format
(Format|Conditional Format) =(A1=LARGE($A$1:$A$100,20) ) then red background to pick out the top 80% of the numbers. Any help? -- Bernard V Liengme www.stfx.ca/people/bliengme remove caps from email "NN" wrote in message ... I need to create a macro that chooses the top 80% of the cells in a column, 0, and formats them with colour. I really just need the formula, I can do the macro. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Assuming by "top 80%" you mean the largest 80% of numeric values, do you
need to use a macro? One could use conditional formatting: CF1: Formula is =A1=PERCENTILE(A:A,0.2) Format1: <patterns/<desired color OTOH, if you *have* to use a macro, the Application.Percentile method should be helpful. In article , "NN" wrote: I need to create a macro that chooses the top 80% of the cells in a column, 0, and formats them with colour. I really just need the formula, I can do the macro. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
80% of value or 80% of number. For instance if the top value is 100 and
there are 50 items, do you want anything over 20 in value, or the top 40 items. If the latter, use conditional formatting with a formula of =A1=MAX(A:A)*20% -- HTH RP "NN" wrote in message ... I need to create a macro that chooses the top 80% of the cells in a column, 0, and formats them with colour. I really just need the formula, I can do the macro. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Office2000: Conditional format behaves strangely | Excel Discussion (Misc queries) | |||
can't format cell - have tried unlocking and unprotecting | Excel Discussion (Misc queries) | |||
why does currency format change to number format? | Excel Discussion (Misc queries) | |||
Keep custom format in new worksheet | Excel Discussion (Misc queries) | |||
Copying a conditional format | Excel Worksheet Functions |