Skip to main content

PARETOSPARKLINE

The pareto sparkline has the following options:

OptionDescription
pointsA reference that represents the range of cells that contains all values, such as "B2:B7".
pointIndexA number or reference that represents the segment's index of the points, such as 1 or "D2". The pointIndex >= 1 .
colorRangeA reference that represents the range of cells that contain the color for the segment box, such as "D2:D7". This setting is optional. The default value is none.
targetA number or reference that represents the 'target' line position, such as 0.5. This setting is optional. The default value is none. The target line color is #8CBF64 if shown.
target2A number or reference that represents the 'target2' line position, such as 0.8. This setting is optional. The default value is none. The target2 line color is #EE5D5D if shown.
highlightPositionA number or reference that represents the rank of the segment to be colored in red, such as 3. This setting is optional. The default value is none. If you set the highlightPosition to a value such as 4, then the fourth segment box's color is set to #CB0000. If you do not set the highlightPosition, the segment box's color is set to the color you assigned to the colorRange or the default color #969696.
labelA number that represents whether the segment's label is displayed as the cumulated percentage (label = 1) or the single percentage or none (label = 2) or none, such as 2,1. This setting is optional. The default value is 0.
verticalA boolean that represents whether the box's direction is vertical or horizontal. This setting is optional. The default value is FALSE.

Sample Usage


In order to use the PARETOSPARKLINE formula, start with your edited Excellentable:


Then type in the PARETOSPARKLINE formula in the area you would like to display the outcome:

By adding the values you would like to calculate the PARETOSPARKLINE formula for, Excellentable will generate the outcome:


A
B
C
1
Data1
Data2
Color
2
P1
10
red
3
P2
15
green
4
P3
30
yellow
5
P4
14
brown
6
P5
12
black
7
P6
7
blue
8
Target1
0.5
9
Target1
0.8
D
1
2
#NAME?
3
#NAME?
4
#NAME?
5
#NAME?
6
#NAME?
7
#NAME?
8
9

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.