+ Reply to Thread
Results 1 to 4 of 4

Excel chart: Aligning secondary axis with primary

  1. #1
    Registered User
    Join Date
    09-12-2010
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    41

    Excel chart: Aligning secondary axis with primary

    Hi!

    I have a diagram with a primary axis(kUSD) and a secondary axis(percent). I'm having problems aligning the ticks(major unit, minor unit) between the primary and secondary axis.

    Primary axis: Max value 30000 Min value -15000 (major unit 5000 minor unit 2500).
    Secondary axis: Max is let's say 55% Min -45.

    How would the secondary look if I want the ticks to align???

    I'm no math whiz, so if some one could help with a "formula" or some other tricks/tips to
    solve this I would be very grateful!

    Thansk

    Best Regards,
    Niklas

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

    Re: Excel chart: Aligning secondary axis with primary

    Code to align axes
    http://peltiertech.com/Excel/Charts/AlignXon2Ys.html
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    09-12-2010
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: Excel chart: Aligning secondary axis with primary

    Thanks Andy,

    I don't wan to use code. So I'm wondering if someone that is good with algebra could help me with some sort of "key" where I could enter data manually and it would caculate the
    needed values that I then could enter into the chart.

    Help

    Regards
    /Niklas

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

    Re: Excel chart: Aligning secondary axis with primary

    just use the algebra in the code Jon has posted.

+ 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