Stacked Data Charts from Excel

S

Sue

I have two columns of data - the first is a set of dates, i.e., 2/4/08,
3/4/08; the second column contains 4 different values depicting incidents
that occurred on the corresponding dates. I want to display a horizontal axis
of months from June 08 through March 2010, and a vertical axis of numbers of
incidents. The objective is to show how many incidents if each type occurred
each month, stacked up for a total quantity of incidents per month.
 
J

Jon Peltier

What are the values in the second column? Are they the number of
incidents on that day, or a code describing the type of incident?

I'll assume the latter.

Select the data and create a pivot table. Put the date field into the
rows area, and the incident field into the columns area. Then also put
the incident field into the data area, and make sure Count of Incidents
is how the pivot table interprets the data. This should give you one
column for each type of incident, with a number in each cell for the
number of that type of incident per day (probably it's a 1 or a blank).

Now group the date field into years and months. This gives a list of
months with the count of incident in each month.

This is what you want to chart in your stacked column chart. You can
make a pivot chart, or if that's not to your liking, a regular chart:

Regular Charts from Pivot Tables
http://peltiertech.com/WordPress/regular-charts-from-pivot-tables/

- Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top