+ Reply to Thread
Results 1 to 13 of 13

Category x axis labels not displaying

  1. #1
    Registered User
    Join Date
    04-21-2010
    Location
    South Staffs, England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Category x axis labels not displaying

    I have graphs (see attached) and the months April to September are supposed to appear but only April does? why is this? This is unfuriatingly irrititating!
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Category x axis labels not displaying

    The data points are picked from a non contiguous range where as the axis labels are taken from a contigous range.

    =SERIES('Monthly data '!$I$2,
    'Monthly data '!$I$1:$CB$1,
    ('Monthly data '!$J$11,'Monthly data '!$V$11,'Monthly data '!$AH$11,'Monthly data '!$AT$11,'Monthly data '!$BF$11,'Monthly data '!$BR$11),
    1)

    So the first six cells of I1:CB1 are used.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    05-27-2008
    Location
    Newcastle Upon Tyne UK
    MS-Off Ver
    XP Excel 2003
    Posts
    105

    Re: Category x axis labels not displaying

    Hi
    check your X axis labels - they should be corrected here

    edvwvw
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-21-2010
    Location
    South Staffs, England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Category x axis labels not displaying

    Quote Originally Posted by edvwvw View Post
    Hi
    check your X axis labels - they should be corrected here

    edvwvw


    hi - tried adding September in the top left graph (no. of stroke admissions) and it results in just April appearing again

  5. #5
    Registered User
    Join Date
    04-21-2010
    Location
    South Staffs, England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Category x axis labels not displaying

    Quote Originally Posted by Andy Pope View Post
    The data points are picked from a non contiguous range where as the axis labels are taken from a contigous range.

    =SERIES('Monthly data '!$I$2,
    'Monthly data '!$I$1:$CB$1,
    ('Monthly data '!$J$11,'Monthly data '!$V$11,'Monthly data '!$AH$11,'Monthly data '!$AT$11,'Monthly data '!$BF$11,'Monthly data '!$BR$11),
    1)

    So the first six cells of I1:CB1 are used.

    hi - so what is the fix?

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Category x axis labels not displaying

    try treating the category range the same as your data range.

    =SERIES('Monthly data '!$I$2,('Monthly data '!$I$1,'Monthly data '!$U$11,'Monthly data '!$AG$1,'Monthly data '!$AS$1,'Monthly data '!$BE$1,'Monthly data '!$BQ$1),('Monthly data '!$J$11,'Monthly data '!$V$11,'Monthly data '!$AH$11,'Monthly data '!$AT$11,'Monthly data '!$BF$11,'Monthly data '!$BR$11),1)

    Of course there is a limit, 1024 characters, to the length of the Series formula. So eventually you will extend that are not be able to add more dates.

    You maybe better restructuring your data into contiguous ranges for charting

  7. #7
    Registered User
    Join Date
    04-21-2010
    Location
    South Staffs, England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Category x axis labels not displaying

    Not sure of the most efficient and timely way to fix this guys - as you can see if i have alot of columns in the data table with Denominator, numerator and % for each organisation and there are 3 of them. The graph itself just has to show the percentage though

  8. #8
    Registered User
    Join Date
    04-21-2010
    Location
    South Staffs, England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Category x axis labels not displaying

    it seems pretty ridiculous that you cannot reference category x axis labels non contiguously - where is the logic behind that?

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Category x axis labels not displaying

    cannot reference category x axis labels non contiguously
    Who said that?

    I showed you what the formula would look like when using non contiguous ranges.

    The limit is on formula length.

    The solution and sensible approach is to layout your charting data in such a way that is suitable for charting.

  10. #10
    Registered User
    Join Date
    04-21-2010
    Location
    South Staffs, England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Category x axis labels not displaying

    Quote Originally Posted by Andy Pope View Post
    Who said that?

    I showed you what the formula would look like when using non contiguous ranges.

    The limit is on formula length.

    The solution and sensible approach is to layout your charting data in such a way that is suitable for charting.

    my apologies - just getting frustrated and letting some steam out. you are right.
    So there is a 1024 char limit on formula length yes?

  11. #11
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Category x axis labels not displaying

    Correct. So what you have in the example will work but going forward more additional periods will cause you problems.

  12. #12
    Registered User
    Join Date
    04-21-2010
    Location
    South Staffs, England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Category x axis labels not displaying

    Quote Originally Posted by Andy Pope View Post
    Correct. So what you have in the example will work but going forward more additional periods will cause you problems.

    so the aim is then to have the category axis and the data as contiguous items

  13. #13
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Category x axis labels not displaying

    If you have any intentions of adding more data to the chart then yes, as I have previous said (twice).

+ Reply to Thread

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.6.0 RC 1