+ Reply to Thread
Results 1 to 3 of 3

Automatically scale horizontal axis to different table sizes

  1. #1
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    811

    Automatically scale horizontal axis to different table sizes

    I am limited for screen space, and I need to let the user choose which of two charts to display. On the horizontal axis one chart has the days of the month, and the other shows the summary by week showing up to 5 weeks. How do I do this?
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Automatically scale horizontal axis to different table sizes

    Hello
    Take a look at the attached example. It uses the CHOOSE function to pick between selected values: "Daily Cumulative" and "Weekly Cumulative". The ranges are also dynamic using the OFFSET function to eliminate the "#N/A's".

    Hope this helps.
    DBY
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    12-02-2008
    Location
    Brisbane
    MS-Off Ver
    2016
    Posts
    811

    Re: Automatically scale horizontal axis to different table sizes

    Thanks DBY, that's exactly what I was looking for. Your help is aprreciated

+ 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. X axis scale and multiple graph sizes
    By tashlana1 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-01-2016, 02:42 PM
  2. [SOLVED] Automatically scale X axis of a chart as new data is added?
    By smaier69 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-09-2015, 01:17 AM
  3. Need help creating a graph that can automatically keep the x & y axis in the same scale
    By chris.excel in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2013, 04:00 AM
  4. Replies: 0
    Last Post: 08-23-2012, 11:52 AM
  5. Automatically set min & max scale for y-axis
    By tms_ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-27-2008, 09:05 AM
  6. Automatically adjusting x-axis scale
    By braydon16 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-02-2008, 12:24 AM
  7. Automatically Set Min and Max Scale for Axis
    By Aussie1497 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-14-2005, 03:51 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