+ Reply to Thread
Results 1 to 3 of 3

Can chart axis formatting vary across range?

Hybrid View

  1. #1
    Registered User
    Join Date
    04-15-2020
    Location
    San Diego
    MS-Off Ver
    Office 365
    Posts
    1

    Can chart axis formatting vary across range?

    The x-axis is showing dates, but I'd like to highlight those that are weekends (Sat/Sun). Is it possible to have this occur automatically? I'm currently using a low-opacity overlay, but I have to move each of them as days are added to the data table.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,028

    Re: Can chart axis formatting vary across range?

    I don't know of a way to make them bold or a different color automatically but you can format them to show the day of the week (Sat 4/11/2020). Or instead of highlighting the axis labels you can use two different data series and make the weekend data a different color.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

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

    Re: Can chart axis formatting vary across range?

    The only way to format individual points on the axis label is with custom number formats. In this case it will not work to catch weekend dates.

    You can build your own axis labels with additional series, using their data labels. The 2 series can be formatted differently and by use of formula points can be displayed or suppressed.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ 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. Automatically vary chart axis range wrt data
    By gautamvats4796 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-18-2019, 10:29 AM
  2. [SOLVED] Chart X-Axis Range Automatically Expanding With Selected Y-Axis Range
    By Mvaldesi in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 10-08-2015, 03:43 PM
  3. Replies: 2
    Last Post: 01-22-2015, 03:51 PM
  4. [SOLVED] Chart is not formatting axis to Min - Max range it is starting al the way at zero
    By bdouglas1011 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-04-2014, 10:40 PM
  5. Excel 2007 : Formatting a chart axis
    By weiser_john in forum Excel General
    Replies: 2
    Last Post: 11-16-2011, 09:06 PM
  6. Replies: 0
    Last Post: 07-08-2011, 02:25 PM
  7. [SOLVED] Vary colors in area chart by x-axis value
    By Deirdre M. in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-12-2005, 06: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