Solved

need a particular column chart in Excel

Posted on 2014-02-14
3
285 Views
Last Modified: 2014-02-17
I attached a simple Excel file with two columns of data: dates and scores.

How can I create a column chart like this: http://peltiertech.com/images/2009-10/stackchartlabels02.png

where each column (A, B, C, etc...) is a quarter of year and the 3 colors are respectively:
- blue: the number of items with score < 3
- red: the number of items with score = 3
- green: the number of items with score > 3

?
data-for-chart.xlsx
0
Comment
Question by:lucavilla
[X]
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
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
Harry Lee earned 500 total points
ID: 39860093
Is this what you want?

If it is, you can use this as a chart template.
data-for-chart.xlsx
0
 

Author Comment

by:lucavilla
ID: 39860905
Wow.  Just invert Date <-> Class  and it's what I needed!

Questions:
- how did you set the dates as quarters?
- how can I rename the legend texts?
0
 
LVL 12

Assisted Solution

by:Harry Lee
Harry Lee earned 500 total points
ID: 39865337
lucavilla,

To invert the date and class, right click on the chart and choose Select Data.

In the Select Data Source window, click the center button Switch Row/Column.

To answer your questions,

#1 Grouping Date as Quarters is a feature of Pivot Table. I first use the Pivot Table to create a summary of the data. Put the Date into the Pivot Table AXIS (Category), Count of Score in to the Values, and Class into the Legend (Series). After that, you will have a long table listing out all the dates. Now, right click on the any of the dates and select Group. In the Grouping window, select Quarters.

There are many other grouping to choose. Like, Seconds, Minutes, Hours, Days, Months, Quarters, and Years.

#2 To rename the Legends, instead of doing it in the chart, you do it in the Pivot Table. (The light blue colored table on above the chart.

Besides any calculated fields, you can pretty much change any of the fields by selecting it and use F2 to edit them.
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

624 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