Welcome to the Excel Forum

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.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-03-2009, 09:34 AM
XLBob XLBob is offline
Registered User
 
Join Date: 22 Apr 2009
Location: Stockholm, Sweden
MS Office Version:Excel 2003
Posts: 17
XLBob is becoming part of the community
Charting with weeknumbers over two years

Please Register to Remove these Ads

Hi all,
I am having a problem with a chart. I have a column with Year (2008-2009) which is not used in the chart and a column called Weeknumber (1-52 (for both 2008 and 2009)) and finally a column with values. I am trying to do a chart with this and 2008 works fine shows all values from 1 to 52, but when I put in year 2009 ie week 1 to 27 the scale does not accept that and just scales upwards from 52 to 79 how can I fool excel to accept that it puts out 1 to 27 for year 2009 (instead of 52 - 79)??
Xlbob

Last edited by XLBob; 07-06-2009 at 09:11 AM.
Reply With Quote
  #2  
Old 07-03-2009, 11:05 AM
Andy Pope's Avatar
Andy Pope Andy Pope is online now
Forum Guru
 
Join Date: 10 May 2004
Location: Essex, UK
MS Office Version:2003 & 2007 sp2
Posts: 7,223
Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding
Re: Charting with weeknumbers over two years

depends what type of chart you are using and how you data is set up

can you post example workbook
__________________
Cheers
Andy
www.andypope.info
Reply With Quote
  #3  
Old 07-06-2009, 04:28 AM
XLBob XLBob is offline
Registered User
 
Join Date: 22 Apr 2009
Location: Stockholm, Sweden
MS Office Version:Excel 2003
Posts: 17
XLBob is becoming part of the community
Re: Charting with weeknumbers over two years

Certainly Andy,

Please see attached!

XLBob
Attached Files
File Type: xls Example.xls (38.5 KB, 3 views)
Reply With Quote
  #4  
Old 07-06-2009, 04:57 AM
Andy Pope's Avatar
Andy Pope Andy Pope is online now
Forum Guru
 
Join Date: 10 May 2004
Location: Essex, UK
MS Office Version:2003 & 2007 sp2
Posts: 7,223
Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding
Re: Charting with weeknumbers over two years

The problem was both columns of information were plotted as a series.

What you actually needed was the first series to be used as category labels and the second as the data.

Simplest way would have been to remove the header above the category labels.

I have also changed the data so it's possible to get the year information included in group.
Attached Files
File Type: xls 690076.xls (49.0 KB, 5 views)
__________________
Cheers
Andy
www.andypope.info
Reply With Quote
  #5  
Old 07-06-2009, 05:20 AM
XLBob XLBob is offline
Registered User
 
Join Date: 22 Apr 2009
Location: Stockholm, Sweden
MS Office Version:Excel 2003
Posts: 17
XLBob is becoming part of the community
Re: Charting with weeknumbers over two years


That easy?? A really nice solution! But how would I do to show only the value on the X axis of every say fourth value?
XLBob
Reply With Quote
  #6  
Old 07-06-2009, 05:26 AM
Andy Pope's Avatar
Andy Pope Andy Pope is online now
Forum Guru
 
Join Date: 10 May 2004
Location: Essex, UK
MS Office Version:2003 & 2007 sp2
Posts: 7,223
Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding
Re: Charting with weeknumbers over two years

double click X axis.
Scale tab > Number of categories between tick mark labels.
__________________
Cheers
Andy
www.andypope.info
Reply With Quote
  #7  
Old 07-06-2009, 05:30 AM
XLBob XLBob is offline
Registered User
 
Join Date: 22 Apr 2009
Location: Stockholm, Sweden
MS Office Version:Excel 2003
Posts: 17
XLBob is becoming part of the community
Re: Charting with weeknumbers over two years

Hum,
Cannot do that its greyed out...
XlBob
Reply With Quote
  #8  
Old 07-06-2009, 05:35 AM
Andy Pope's Avatar
Andy Pope Andy Pope is online now
Forum Guru
 
Join Date: 10 May 2004
Location: Essex, UK
MS Office Version:2003 & 2007 sp2
Posts: 7,223
Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding Andy Pope Has a higher level of understanding
Re: Charting with weeknumbers over two years

I see, when you use the multi level category labels ALL labels are displayed.

If you want only some of the labels AND multi levels you will have to remove the unwanted values from the range.
__________________
Cheers
Andy
www.andypope.info
Reply With Quote
  #9  
Old 07-06-2009, 06:17 AM
XLBob XLBob is offline
Registered User
 
Join Date: 22 Apr 2009
Location: Stockholm, Sweden
MS Office Version:Excel 2003
Posts: 17
XLBob is becoming part of the community
Re: Charting with weeknumbers over two years

Aha, got it!
Cheers Andy
XLBob
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump