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  

Add multiple categories to horizontal axis in chart



 
 
Thread Tools Display Modes
  #1  
Old April 18th, 2009, 01:21 PM posted to microsoft.public.excel.charting
Tango
external usenet poster
 
Posts: 8
Default Add multiple categories to horizontal axis in chart

Hi,
I am working on a staff sales chart & that compares 2 years worth of data on
a month by month basis for 4 staff.

I was wondering how I could have 2 categories on the horizontal axis of the
chart.
ie staff names & also month

eg Staff A Staff B Staff C Staff D Staff A Staff B Staff C Staff D
January February


Thanks in advance
  #2  
Old April 18th, 2009, 08:13 PM posted to microsoft.public.excel.charting
Tushar Mehta[_4_]
external usenet poster
 
Posts: 60
Default Add multiple categories to horizontal axis in chart

The easiest way to do this is by letting Excel do "heavy lifting."

If your data are not in relational form, re-arrange them. The result should
be something like:
Month Staff_ID Sales_Value
with 1 row per salesperson-month combination.

This lets you leverage all the tools developed for use with relational tables.

Now, create a PivotTable & PivotChart with the above table as the source.

Put the Month as the 1st (outermost) row field and the Sales_ID as the 2nd
(inner) row field. Put the Sales_Value as the Data field.
--
Tushar Mehta
http://www.tushar-mehta.com
Custom business solutions leveraging a multi-disciplinary approach
In Excel 2007 double-click to format may not work; right click and select
from the menu


"Tango" wrote:

Hi,
I am working on a staff sales chart & that compares 2 years worth of data on
a month by month basis for 4 staff.

I was wondering how I could have 2 categories on the horizontal axis of the
chart.
ie staff names & also month

eg Staff A Staff B Staff C Staff D Staff A Staff B Staff C Staff D
January February


Thanks in advance

 




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 06:21 AM.


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