Help create a Shale chart

Nitya0808

New Member
Joined
Jul 1, 2016
Messages
42
Hi,

I have (410 line) data like the sample attached below. Need VBA code to create a shale chart. With Unit being the various areas and End by being the X-axis.

Logic: All units put together totally there are 410 people. With 17 people having end by P1, 410 will get reduced by 17 in P02.

this logic has to be applied per unit and plotted in shale.

Excel 2013/2016
ABC
1NameUnitEnd by
2First Name 1Central TeamP01
3First Name 2Central TeamP02
4First Name 3Customer P03
5First Name 4Customer P04
6First Name 5Customer P05
7First Name 6Customer P07
8First Name 7Customer P08
9First Name 8Customer P12
10First Name 9Customer P10
11First Name 10Customer P12
12First Name 11Customer P12
13First Name 12Customer P12
14First Name 13Customer P02
15First Name 14Customer P06
16First Name 15Customer P04
17First Name 16Customer P12
18First Name 17Customer P12
19First Name 18Customer P08
20First Name 19Customer P12
21First Name 20Customer P10
22First Name 21Customer P12
23First Name 22Customer P12
24First Name 23Customer P12
25First Name 24Customer P02
26First Name 25Customer P08
27First Name 26Customer P04
28First Name 27Customer P12
29First Name 28Customer P12
30First Name 29Customer P08
31First Name 30Customer P12
32First Name 31Customer P10
33First Name 32Customer P12
34First Name 33Customer P12
35First Name 34Customer P12
36First Name 35Customer P02
37First Name 36Customer P12
38First Name 37Customer P04
39First Name 38Customer P12
40First Name 39Customer P12
41First Name 40Customer P08
42First Name 41Customer P12
43First Name 42Customer P10
44First Name 43Customer P12
45First Name 44Customer P08
46First Name 45Customer P12
47First Name 46Customer P02
48First Name 47Customer P12
49First Name 48Customer P04
50First Name 49Customer P12
51First Name 50Customer P12
52First Name 51Customer P08
53First Name 52Customer P12
54First Name 53Customer P10
55First Name 54Customer P11
56First Name 55Customer P12
57First Name 56Customer P01
58First Name 57Customer P02
59First Name 58Customer P03
60First Name 59Customer P04
61First Name 60Customer P05
62First Name 61Customer P07
63First Name 62Customer P08
64First Name 63Customer P09
65First Name 64Customer P10
66First Name 65Customer P11
67First Name 66Customer P12
68First Name 67Customer P01
69First Name 68Customer P02
70First Name 69Customer P03
71First Name 70Customer P04
72First Name 71Customer P05
73First Name 72Customer P07
74First Name 73Customer P08
75First Name 74Customer P09
76First Name 75Customer P10
77First Name 76Customer P11
78First Name 77Customer P12
79First Name 78Customer P01
80First Name 79Customer P02
81First Name 80Customer P12
82First Name 81Customer P04
83First Name 82Customer P12
84First Name 83Customer P12
85First Name 84Networks P08
86First Name 85Networks P12
87First Name 86Networks P10
88First Name 87Networks P12
89First Name 88Networks P12
90First Name 89Networks P12
91First Name 90Networks P02
92First Name 91Networks P12
93First Name 92Networks P04
94First Name 93Networks P12
95First Name 94Networks P12
96First Name 95Networks P08
97First Name 96Networks P12
98First Name 97Networks P10
sheet2
 
Last edited by a moderator:

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Another name for Area chart i think. Google images are showing me charts similar to that of area chart
 
Upvote 0
@Nitya0808
In future please limit the amount of data you post & do not select "All formulas" especially when there aren't any.
Thanks
 
Upvote 0
I've never used an area chart, so no suggestion.
 
Upvote 0
Can you help me with the code to convert the table into the below Pivot table.

P01P02P03P04P05P06P07P08P09P10P11P12
Unit 14.15.33.2
Unit 25.12.42
Unit 3
Unit 4
Unit 5
Unit 6
Unit 7
Unit 8
Unit 9
Unit 10
Unit 11
Unit 12

<colgroup><col width="64" span="13" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Cannot see any relationship between your first post and #7 . Please clarify. Your explanations are clearly elusive.
 
Upvote 0
Hi,

My first request still holds good. But since the other user mentioned he doesnt know shale, i requested if he can help me process the data to the mentioned format in #7 , as shale chart can be created with that format.

Thanks
 
Upvote 0
Still don't see any relationship that will lead to expected results. Suggest you show a before and after scenario using the same data set otherwise, we are throwing darts while blindfolded after being spun around a couple of times.
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,538
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top