+ Reply to Thread
Results 1 to 8 of 8

create secondary axis that makes sense

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    create secondary axis that makes sense

    Hello. I have expenses year over year in a chart and I want to compare to customer growth. I tried creating a secondary axis but it looks stupid because the line doesn't really line up with the column charts. Maybe I should just add text saying customer growth was x%. Any thoughts? Spreadsheet attached. Also, why do the dates show up as January when I have March in the cells?
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: create secondary axis that makes sense

    Quote Originally Posted by ammartino44 View Post
    I tried creating a secondary axis but it looks stupid because the line doesn't really line up with the column charts.
    How do you expect it should look like?

    Quote Originally Posted by ammartino44 View Post
    Also, why do the dates show up as January when I have March in the cells?
    Strange. When I format text in table as number then it show proper date in the chart.
    But not when I format it as date.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,031

    Re: create secondary axis that makes sense

    Foramt/Format Axis to Text axis gets the dates sorted. However, I'm not sure what you want about the secondary axis. Do you wan the line extended forward back (I did that with a trend line and it doesn't look good...). Or do you want it running through zero? Or something else?
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: create secondary axis that makes sense

    Using a date axis set to use years as units, you get the first day of each year as labels. You don't really want a date axis anyway for just two dates.
    Remember what the dormouse said
    Feed your head

  5. #5
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: create secondary axis that makes sense

    @ romperstomper. I don't follow you. What do you mean a date axis as units? I'm comparing volume from two months. Why wouldn't I want a date axis and why would it default to Jan when I clearly have Mar written as my column headers? If I don't have a date axis I can't show what periods I'm comparing.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,031

    Re: create secondary axis that makes sense

    Because in your original graph, you had the x-axis set to DATE not TEXT. That's the change that I made...

  7. #7
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: create secondary axis that makes sense

    Hi Amma - kindly follow the forum rules as this is seems to be duplicate content post with thread " dates are off in excel column chart".

    Please take care in future.
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

  8. #8
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: create secondary axis that makes sense

    Quote Originally Posted by ammartino44 View Post
    @ romperstomper. I don't follow you. What do you mean a date axis as units? I'm comparing volume from two months. Why wouldn't I want a date axis and why would it default to Jan when I clearly have Mar written as my column headers? If I don't have a date axis I can't show what periods I'm comparing.
    The chart axis is either a date axis or a category axis. If it is a date axis, it plots your data against the date values, leaving gaps for any missing dates, and it will use the first day of each unit period as the label. So if you have days as units, it will show you each day; if you use months, the label will use the first of each month; for years, it will use 1st Jan of each year. (typically, you would use a number format for the display based on the unit - eg mmm-yy for month, or just yyyy for year)

    For your purposes here you do not need any of that functionality, so you should specify a text axis so that it simply plots each X axis value as the next category.

+ 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. [SOLVED] Can someone translate an equation so it makes sense to me?
    By Teblol in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-24-2014, 01:41 PM
  2. help making a y-axis that makes sense for fractions
    By tomlight in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-11-2013, 12:21 PM
  3. Replies: 3
    Last Post: 06-01-2011, 10:19 AM
  4. Hope this makes sense...
    By mckoy_1 in forum Excel - New Users/Basics
    Replies: 10
    Last Post: 09-20-2006, 03:21 AM
  5. Format Cell- Hope this makes sense
    By Denise in forum Excel General
    Replies: 1
    Last Post: 10-14-2005, 01:05 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