ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Stacked Data Charts from Excel (https://www.excelbanter.com/charts-charting-excel/259951-stacked-data-charts-excel.html)

Sue

Stacked Data Charts from Excel
 
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.

trip_to_tokyo[_3_]

Stacked Data Charts from Excel
 
I have just up an EXCEL 2007 file for you at:-

http://www.pierrefondes.com/

Item Number 80 towards the top of my home page.

This is one possible way of doing it.

If my comments have helped please hit Yes.

Thanks.



"Sue" wrote:

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.


Jon Peltier[_2_]

Stacked Data Charts from Excel
 
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/reg...-pivot-tables/

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/


On 3/25/2010 8:14 PM, Sue wrote:
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.



All times are GMT +1. The time now is 05:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com