Worksheet: Conditional Formatting: Pareto
Calculate count of selected worksheet cells, order them from top frequent to least frequent, and color the most/least frequent items.
1. wcolorPareto rng:=[Book1]Sheet1!A:B name:="C1R1-C4R0";
2. wcolorPareto rng:=[Book1]Sheet1!A:B name:="C1R1-C2R0" rule:=1 tr.fill:=31306751 tr.font:=32497615;
3. wcolorPareto rng:=[Book1]Sheet1!A:B name:="C1R1-C2R0" rule:=2 n:=10;
Please refer to this page for additional option switches when accessing the x-function from script.
Input
Range
string
int
Double
TreeNode
Syntax: tr.treenode=value
Calculate count of all items in the selected range, and order them from top frequent to least frequent like Pareto chart. An then color the most/least frequent N items.
wcolor, wcolordup, wheatmap, wcolorbycr, wcolortb, wcoloroutlier
Keywords:cell coloring