+ Reply to Thread
Results 1 to 7 of 7

Column Chart to color each day of the week

  1. #1
    Registered User
    Join Date
    01-14-2012
    Location
    Longmont, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    22

    Column Chart to color each day of the week

    I have a column with dates and another column with numbers. I created a Column chart that shows each day, but how can I color code each bar per day of the week? Basically Mondays being red and fading each day to have Sat and Sun green. Is this possible?

    Here is a sample of what it looks like with each days just the standard blue:

    sample.jpg

    and here is the sample file
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-14-2012
    Location
    Longmont, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Column Chart to color each day of the week

    Would I be better off conditionally formatting by the numbers? Like 400-600 is red and 200-399 amber, and less than 200 green?

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Column Chart to color each day of the week

    something like this? chart on sheet 2 series set up on sheet 1 using method from here
    http://peltiertech.com/conditional-f...-excel-charts/
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    01-14-2012
    Location
    Longmont, Colorado
    MS-Off Ver
    Excel 2010
    Posts
    22

    Re: Column Chart to color each day of the week

    Thanks! That is exactly what I was looking for. I seem to be having problems with adding additional data to it though. I've added in additional months but when I try to edit the chart it gets all messed up.

    Here is the sheet with the added months
    Attached Files Attached Files

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Column Chart to color each day of the week

    sorry that's me for charts! i'll ask someone

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Column Chart to color each day of the week

    Exactly how are you editing the chart and exactly how does it mess up?

    I notice that if I move the chart so it is on the same tab as the data, that I can simply grab one of the lower "handles" on the chart range and extend it down. Does the chart need to be on its own tab, separate from the data?

    You should be able to accomplish the same thing with the chart on a different tab, though it means going through the "select source data" dialog, which often means editing each series individually. If you try to edit the chart source data field, you may get inconsistent results.

    This may be a case where it is easiest, when the chart is first created, to extend the source data range way below the range that is actually needed. Then, as data is added to sheet, these additional data are automatically added to the chart. Or, perhaps this is an example of when using "dynamic named ranges" (a common technique for a variable sized source data range in charts) will be helpful. http://support.microsoft.com/kb/830287
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  7. #7
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Column Chart to color each day of the week

    In the attached use named ranges like

    mon =OFFSET(Mond,1,0,COUNT(Sheet1!$C:$C))
    for each day and cal-date
    (mond is the named range for cell D4, which was chosen for the anchor for no particular reason, just...)


    Then, in the chart reference them by
    series 1: Sheet1!mon, etc.
    Attached Files Attached Files
    Last edited by protonLeah; 12-23-2014 at 11:57 PM.
    Ben Van Johnson

+ 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. Column Chart Changing Color on Me...
    By hey_ray in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-09-2014, 04:45 AM
  2. Column/Bar chart showing NEW data in a different color
    By justinpeeler in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-21-2014, 04:43 AM
  3. Replies: 2
    Last Post: 10-30-2013, 06:03 PM
  4. Chart previous week data as grouped and current week as ungrouped
    By r_a_c_a_4_u in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2013, 12:55 PM
  5. Column Chart - color based on x value
    By smilewithme in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 08-03-2012, 08:39 AM

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