+ Reply to Thread
Results 1 to 9 of 9

Dynamic TEXT Axis Chart

  1. #1
    Registered User
    Join Date
    12-16-2020
    Location
    LaGrange, KY
    MS-Off Ver
    365
    Posts
    4

    Dynamic TEXT Axis Chart

    I need to provide a quad-week and single week 'look' option in the same chart. If I choose a date axis I can get the weeks to expand and contract showing what I need (for the most part). But I loose some of the chart aesthetics which is not ideal because this applies to 4 of 8 'group' charts.

    My Ask:

    Can someone help me create a dynamic 'text' axis that will not chart cells with the #N/A value. And perhaps better stated, if the date is #N/A (resulting from formula), ignore those cells.

    Any help appreciated!

    Rhonda502

  2. #2
    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
    43,959

    Re: Dynamic TEXT Axis Chart

    Hi there.

    A picture is worth 1,000 words. An Excel sheet is worth 1,000 pictures.

    Please read the yellow banner about sample worksheets, at the top of the screen. Act on its guidelines and post a SMALL sample sheet.
    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

  3. #3
    Registered User
    Join Date
    12-16-2020
    Location
    LaGrange, KY
    MS-Off Ver
    365
    Posts
    4

    Re: Dynamic TEXT Axis Chart

    Example Spreadsheet Attached.

    My ask from original post: I need to provide a quad-week and single week 'look' option in the same chart.
    If I choose a date axis I can get the weeks to expand and contract showing what I need (for the most part).
    But I loose some of the chart aesthetics which is not ideal because this applies to 4 of 8 'group' charts.
    Any assistance appreciated.
    Attached Files Attached Files

  4. #4
    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
    43,959

    Re: Dynamic TEXT Axis Chart

    I am not 100% sure if this is what you want. I changed the formula in h13 to:
    =IF(H6="","",H6)

    and the formulae in H16 and below to:

    =IF(H7>0,H7,NA())

    your formula put something in that LOOKED like the #N/A error, but was just text, not the error. I also set the X-axois range to automatic.

    Any good??
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-16-2020
    Location
    LaGrange, KY
    MS-Off Ver
    365
    Posts
    4

    Re: Dynamic TEXT Axis Chart

    Glenn,

    Thank you for the assist. Your formula is much cleaner and one I didn't know. I've added a screen shot which might better explain what I'm trying to achieve.

    Dynamic Chart Picture.png

  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
    43,959

    Re: Dynamic TEXT Axis Chart

    I'm about to go away now, but will be back in the Irish morning. Will look at it again.

  7. #7
    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
    43,959

    Re: Dynamic TEXT Axis Chart

    I think I may have added the wrong file last night. Is this any better?
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-16-2020
    Location
    LaGrange, KY
    MS-Off Ver
    365
    Posts
    4

    Re: Dynamic TEXT Axis Chart

    Glorious!!! ! Thank you Glenn!

  9. #9
    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
    43,959

    Re: Dynamic TEXT Axis Chart

    You're welcome!!

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It would also be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

+ 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] Dynamic X Axis for Bar Chart
    By ExSkidder in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 02-11-2020, 06:27 PM
  2. Dynamic Chart on both X and Y axis with VBA.
    By Pinkoto in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-28-2017, 05:08 PM
  3. Dynamic Chart on both X and Y axis
    By Pinkoto in forum Excel Charting & Pivots
    Replies: 18
    Last Post: 08-26-2017, 04:09 PM
  4. Replies: 1
    Last Post: 11-20-2015, 12:50 PM
  5. [SOLVED] Dynamic x-axis chart
    By NeoFlex in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 04-02-2013, 09:50 AM
  6. Legend Only Shows Used Axis on Dynamic Chart (X, Y and Y2 axis)
    By TEBrown in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 06-21-2012, 10:15 AM
  7. chart with dynamic x axis
    By name in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-04-2006, 10:45 AM

Tags for this Thread

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