What I’m trying to do is create a 2d stacked chart where the position of my series means something like where they are in a queue (position 1 – being the upermost section of the stacked column is last to get served and position 2- is the bottom section of the stacked column will be first up).
I’ve formatted my data to looks like this (but this can be easily changed if the solution needs it to be):
Task 1 Task 2 Task 3 <- x-axis A 100 B 400 B 510 <- This row is position 1 B 200 A 200 A 300 <- This row is position 2 ^-Legend
The issue I’m having is that I want all tasks on the same chart and excel isn’t recognizing at every x the position of A and B. It simply is assuming from Column 1 that Row 2 is A and Row 3 is B and is not adjusting in each subsequent column based on the A/B keys. I’m wondering if there’s a way to do this.
As a recap, is it possible to get a 2d stacked chart with multiple x-values that recognizes the position of your legend keys (whether it should be at the top or bottom of the column) at each unique x-value. Any solution either VBA or in-sheet formula I haven’t had any luck with.Thanks in advance.
This code requires that your legend values and number values each be in separate columns like shown below. The labels ‘Task 1’, etc. are not used in this example.