Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I display multiple stacked columns for each date range in an excel graph?

Posted on 2014-01-31
7
770 Views
Last Modified: 2014-02-06
I would like to display multiple stacked columns in the same excel graph.

Essentially, the purpose is to compare what categories of tasks each member on my team is performing on a weekly basis.

so for each week, I have 6 individuals, who each are working on varying amounts of a possible 6 different tasks.  I have multiple other situations where i need to use this within the same excel doc, but i will use this as an example

I have used the method outlined here in the past: http://peltiertech.com/WordPress/clustered-stacked-column-bar-charts/

the problem with that method is that is does not scale well for larger data sets over time, it becomes pretty messy working with more than 2-3 indivuals.  It also does not account for situations where the data being distributed (the names of the tasks) are exactly the same for each column (team members).  To use that method for my team across 4-6 graphs would create some massive ugly tables that are not easy manage.

I am looking for a way to create this graph in a somewhat easy to maintain manner, rather than creating a sprawling/massive ugly set of tables.

thanks in advance
0
Comment
Question by:danetest
  • 3
  • 3
7 Comments
 
LVL 81

Expert Comment

by:byundt
ID: 39825716
You might consider using a PivotChart.

To start, I normalized the data, putting it all in a three column Table with columns for Name, Task and Hours. I then used the Insert...PivotChart menu item. In the PivotChart wizard, I put the Task in the Legend (Series) field, the Hours in the Values field, and the Name in the Axis (Categories) field. Finally, I changed the chart type to stacked column using the PivotChart Tools...Design...Change Chart Type menu item.
StackedColumnPivotChartQ28353850.xlsx
0
 
LVL 81

Expert Comment

by:byundt
ID: 39825735
If you want to show how each employee's stacked column compares by weeks, then you can add the Week underneath the Axes (Category) field. It does get a little busy, however.
StackedColumnPivotChartQ28353850.xlsx
0
 
LVL 1

Author Comment

by:danetest
ID: 39834347
Your second comment is close to what I am looking for.  However, I have my data organized differently.  I have my data grouped by week for each team member.  the reason for this is there is a LOT more data per team member than just this instance data am inquiring on how to graph.  I would prefer not to change the data format too much, but I am willing to do so to make this work.

What I am looking for is very similar to your attached file in your second comment, but instead of being grouped by team member, I would like the data grouped by week, with each team member having an entry per week.  This will help me evaluating performance on a weekly basis as time moves forward.

I have attached an example table
stacked-column-chart.xlsx
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 81

Accepted Solution

by:
byundt earned 500 total points
ID: 39834366
To group by week and then by team member, you switch the order of Week and Name in the Axis Fields (Categories) in the PivotTable field list dialog.

If that is the appearance you seek, it is worth noting that you will need to normalize your data as I had done in my sample workbook.
StackedColumnPivotChartQ28353850.xlsx
0
 
LVL 1

Author Comment

by:danetest
ID: 39834371
thanks! I'm going to try and normalize my data, I'll reply when I have given this a try.
0
 
LVL 1

Author Comment

by:danetest
ID: 39839881
this worked perfectly! thanks you so much!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question