+ Reply to Thread
Results 1 to 4 of 4

Reversing Secondary X Axis Category Order

  1. #1
    Registered User
    Join Date
    04-27-2015
    Location
    North Carolina
    MS-Off Ver
    2013
    Posts
    2

    Reversing Secondary X Axis Category Order

    I am building a table with two data sets over a range of months. Like so:

    Month Data 1 Data 2
    April 45 2.1
    March 62 1.5
    February 40 2.3
    January 37 2.7
    December 83 2.6
    November 96 5.6
    October 94 6.4
    September 46 4.0

    When I format it into a "Clustered Column - Line on Secondary Axis" table with default "Standard" formatting, it shows up properly with both axis displaying their own data sets. However when I try to reverse it into chronological order (by using the "Categories in reverse order" tickbox in Axis Options), only one data set (Data 1) gets reversed and the other (Data 2) stays the same. This causes my data to be inaccurate because Data 2's values do not match with their appropriate month.

    tO7Xl7u.png

    I have found that when I change Data 2 to show on the Primary Axis with Data 1 it reverses normally. This leads me to believe that I need to reverse the data on Data 2's Secondary Axis, but I cannot see an option to do that.

    Any assistance in letting me know what I'm doing wrong, or how I can format this table properly is greatly appreciated.
    Last edited by acf_tech; 04-30-2015 at 06:26 PM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Reversing Secondary X Axis Category Order

    In order to change the order of the secondary x axis, you first need to display the secondary x axis. With one of the series formatted on the secondary axis system, find the "axes" command in the design group, then tell it to display the secondary horizontal axis. Then you can apply the desired formatting to the secondary horizontal axis.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    04-27-2015
    Location
    North Carolina
    MS-Off Ver
    2013
    Posts
    2

    Re: Reversing Secondary X Axis Category Order

    That was it.

    It was hiding in "Add Chart Element -> Axis -> Secondary Horizontal". After enabling that I was able to select the axis and reverse it along with Data 1's.

    Thanks very much MrShorty, you're a lifesaver.

  4. #4
    Registered User
    Join Date
    07-12-2023
    Location
    Houston TX
    MS-Off Ver
    Excel 2019
    Posts
    1

    Re: Reversing Secondary X Axis Category Order

    18 years and 3 months later, and this is still the quick & direct answer lmao. Thank MrShorty

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 06-15-2012, 03:57 AM
  2. How to add secondary horizontal (category) axis in a chart?
    By S K ROY in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 01-09-2012, 07:13 AM
  3. bar charts default to reversing order on axis
    By doosa in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-14-2011, 05:00 AM
  4. Secondary Axis Order
    By efils_god in forum Excel General
    Replies: 1
    Last Post: 07-20-2010, 03:10 AM
  5. Pivot Graph - Secondary category (x) axis labels
    By maggmich in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-24-2007, 06:15 PM

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