Column chart

Lobsterboy1

Board Regular
Joined
Aug 5, 2016
Messages
90
I dont really know much about excel charts but have been asked to come up with a column chart from some data I have been given. The data looks like this

Date Shift Area No Code
6/9/17 John A 5 21
6/9/17 John A 10 17
6/9/17 John B 11 6
6/9/17 John B 4 9
6/9/17 John C 11 15
6/9/17 John C 9 19
6/9/17 John C 5 5
6/9/17 John C 10 7
6/9/17 Dave A 6 21
6/9/17 Dave A 1 17
6/9/17 Dave A 19 6
6/9/17 Dave B 6 9
6/9/17 Dave B 21 15
6/9/17 Dave C 19 19
6/9/17 Dave C 15 5
6/9/17 Dave C 10 7
7/9/17 John A 8 21
7/9/17 John A 15 17
7/9/17 John A 14 6
7/9/17 John B 9 9
7/9/17 John B 15 15
7/9/17 John B 8 19
7/9/17 John C 6 5
7/9/17 John C 19 7
7/9/17 Dave A 6 21
7/9/17 Dave A 1 17
7/9/17 Dave A 19 6
7/9/17 Dave B 6 9
7/9/17 Dave B 21 15
7/9/17 Dave C 19 19
7/9/17 Dave C 15 5
7/9/17 Dave C 10 7

Sorry for not using one of the add ins but I have a new pc at work and symantec is blocking excel Jenie download.

The chart they want is I think a stacked column chart. I am wanting the No value up the left hand side, this is the amount of units. Then along the bottom the area first then inside each area the code, then above each code a column with the total amount splint into two colours for each shift if that makes sense.

something like this.

100

75

50

25

0
21 17 6 6 9 15 19 15 19 5 7
| A | B | C |

So above the 21 in the A section there would be a column that is 25 high overall but split into 2 colours. 1st 13 high for John then the rest another colour for Dave. The date does not matter at this point but there might be other shifts added so then the column would need 3 or 4 colours split over the overall amount.

Is this possible?

I can change the layout of the data if needed.

The layout keeps changing the formatting when I try to post the 21,17 and 6 would be above the A, the 6,9,15 and 19 above the B and the rest above the C.

Thanks for any help.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Re: Column chart help

After some googling I have found that it is how the data was set out. I can now produce the chart I want but is there a quick way of changing

[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]SHIFT[/TD]
[TD="width: 64"]AREA[/TD]
[TD="width: 64"]NO[/TD]
[TD="width: 64"]CODE[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]A[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]21[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]A[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]17[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]B[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]B[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]C[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]C[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]19[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]C[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]C[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]A[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]21[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]A[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]17[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]A[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]B[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]B[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]C[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]19[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]C[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]C[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]A[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]21[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]A[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]17[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]A[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]B[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]B[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]B[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]19[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]C[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]JOHN[/TD]
[TD]C[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]A[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]21[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]A[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]17[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]A[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]6[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]B[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]9[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]B[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]C[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]19[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]C[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]DAVE[/TD]
[TD]C[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]7[/TD]
[/TR]
</tbody>[/TABLE]

Into


[TABLE="width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="width: 64"]JOHN[/TD]
[TD="width: 64"]DAVE[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]14[/TD]
[TD="align: right"]38[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]17[/TD]
[TD="align: right"]25[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]12[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]42[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]30[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]29[/TD]
[TD="align: right"]20[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]9[/TD]
[TD="align: right"]38[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,224,826
Messages
6,181,192
Members
453,021
Latest member
pingpong7117

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