Hi, I have hierarchical data in a named range "Table1" that looks like below, where the "Count" is the value for each Category, and The "Cumulative Count" is the sum of the current level and all child levels. Is there a way to quickly get this into a format to use the Treemap or Sunburst plots?
It would be amazing if I could do it withoug using the Cumulative Count column as generating that column on my dataset (250k records) requires an expensive calculation. The solution here looks close but doesn't quite get the format for the charts.
As a further step I would really like there to be a dynamic range (on another sheet) where I could enter e.g. "A" into a cell and the output range & chart would update automatically with the sub-categories starting with "A".
[TABLE="width: 325"]
<tbody>[TR]
[TD]Count[/TD]
[TD]Cumultative Count[/TD]
[TD]Level[/TD]
[TD]Category Name[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]A1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]7[/TD]
[TD]A2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]8[/TD]
[TD]A3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]10[/TD]
[TD]5[/TD]
[TD]A4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5[/TD]
[TD]7[/TD]
[TD]A5[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]A6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5[/TD]
[TD]7[/TD]
[TD]A7[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]A8[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]5[/TD]
[TD]9[/TD]
[TD]A9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]3[/TD]
[TD]5[/TD]
[TD]B1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]7[/TD]
[TD]B2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]8[/TD]
[TD]B3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]9[/TD]
[TD]B4[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]10[/TD]
[TD]B5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]9[/TD]
[TD]B6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]10[/TD]
[TD]B7[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]11[/TD]
[TD]B8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]7[/TD]
[TD]B9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]8[/TD]
[TD]B10[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]9[/TD]
[TD]B11[/TD]
[/TR]
</tbody>[/TABLE]
Thanks for any insight.
It would be amazing if I could do it withoug using the Cumulative Count column as generating that column on my dataset (250k records) requires an expensive calculation. The solution here looks close but doesn't quite get the format for the charts.
As a further step I would really like there to be a dynamic range (on another sheet) where I could enter e.g. "A" into a cell and the output range & chart would update automatically with the sub-categories starting with "A".
[TABLE="width: 325"]
<tbody>[TR]
[TD]Count[/TD]
[TD]Cumultative Count[/TD]
[TD]Level[/TD]
[TD]Category Name[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]5[/TD]
[TD]A1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]7[/TD]
[TD]A2[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]8[/TD]
[TD]A3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]10[/TD]
[TD]5[/TD]
[TD]A4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5[/TD]
[TD]7[/TD]
[TD]A5[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]A6[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5[/TD]
[TD]7[/TD]
[TD]A7[/TD]
[/TR]
[TR]
[TD][/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