Solved

need a particular column chart in Excel

Posted on 2014-02-14
3
283 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

734 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