A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

dymanically generate chart, based on multiple values



 
 
Thread Tools Display Modes
  #1  
Old July 4th, 2007, 11:24 AM posted to microsoft.public.excel.charting
OTWarrior via OfficeKB.com
external usenet poster
 
Posts: 23
Default dymanically generate chart, based on multiple values

I have a table with 3 columns, the first being the date, second being the
type of recording, and the 3rd being the amount of that type that happened on
that day

04/06/2007 type1 2
04/06/2007 type2 26
04/06/2007 type3 9
04/06/2007 type4 9
04/06/2007 type5 1
05/06/2007 type1 2
05/06/2007 type4 39
05/06/2007 type5 19
05/06/2007 type6 19
05/06/2007 type7 2
06/06/2007 type2 1
06/06/2007 type4 20
06/06/2007 type5 11
06/06/2007 type7 10

I would like to create chart based on this, which show the date in the y axis,
the total ammount in the x axis, and each coloured segment as the type (in a
stacked bar 3d chart)

which of the columns to i select at which point? as I have tried many
variations, and I either get the data without the dates, with no values, or
it wont let me add another series.

This chart also needs to be dynamic (so it looks for "type1" in the second
column and makes that a series). Is this possible?

This is to be used in a report to show how the business is working, and what
types are more successful.

--
Message posted via http://www.officekb.com

  #2  
Old July 4th, 2007, 01:26 PM posted to microsoft.public.excel.charting
OTWarrior via OfficeKB.com
external usenet poster
 
Posts: 23
Default dymanically generate chart, based on multiple values

Ok, figured out how to do it but using a macro after pressing F11 on one
table.

however, the dates are not corresponding to the data:
eg:

type1 has values in 01/06/07, 02/06/07, and 04/06/07
type2 has values in 01/06/07, 04/06/07, and 07/06/07


how can you make the data only show in the correct row on the chart? at the
moment it goes my the R2C2:R25C2 type of source.

I tried maiking it look at teh column with teh dates in (as I thought it
would read these to know what column to put teh data in) but it doesn't

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...chart/200707/1

  #3  
Old July 4th, 2007, 03:38 PM posted to microsoft.public.excel.charting
Jon Peltier
external usenet poster
 
Posts: 5,018
Default dymanically generate chart, based on multiple values

Make a pivot table of your data, with date in the rows area, type in the
columns area, and value in the data area. Make a stacked bar chart of this
table. You might try a clustered bar as an alternative to the stacked bar. I
would also recommend a 2D chart, which shows the data more clearly, with
less clutter and distortion, than the 3D version.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"OTWarrior via OfficeKB.com" u33269@uwe wrote in message
news:74a9faf5e11c8@uwe...
I have a table with 3 columns, the first being the date, second being the
type of recording, and the 3rd being the amount of that type that happened
on
that day

04/06/2007 type1 2
04/06/2007 type2 26
04/06/2007 type3 9
04/06/2007 type4 9
04/06/2007 type5 1
05/06/2007 type1 2
05/06/2007 type4 39
05/06/2007 type5 19
05/06/2007 type6 19
05/06/2007 type7 2
06/06/2007 type2 1
06/06/2007 type4 20
06/06/2007 type5 11
06/06/2007 type7 10

I would like to create chart based on this, which show the date in the y
axis,
the total ammount in the x axis, and each coloured segment as the type (in
a
stacked bar 3d chart)

which of the columns to i select at which point? as I have tried many
variations, and I either get the data without the dates, with no values,
or
it wont let me add another series.

This chart also needs to be dynamic (so it looks for "type1" in the second
column and makes that a series). Is this possible?

This is to be used in a report to show how the business is working, and
what
types are more successful.

--
Message posted via http://www.officekb.com



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.