+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    04-22-2009
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    17

    Charting with weeknumbers over two years

    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 10:11 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,938

    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

  3. #3
    Registered User
    Join Date
    04-22-2009
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Charting with weeknumbers over two years

    Certainly Andy,

    Please see attached!

    XLBob
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,938

    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 Attached Files
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    04-22-2009
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    17

    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

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,938

    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

  7. #7
    Registered User
    Join Date
    04-22-2009
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Charting with weeknumbers over two years

    Hum,
    Cannot do that its greyed out...
    XlBob

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    10,938

    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

  9. #9
    Registered User
    Join Date
    04-22-2009
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Charting with weeknumbers over two years

    Aha, got it!
    Cheers Andy
    XLBob

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0