+ Reply to Thread
Results 1 to 6 of 6

Change color bar based on name?

  1. #1
    Registered User
    Join Date
    07-16-2009
    Location
    Rio de Janeiro/RJ/Brasil
    MS-Off Ver
    Excel 2003
    Posts
    6

    Change color bar based on name?

    Hello to all!
    I have a horizontal graphic chart showing Intel and AMD processors speeds. I was wondering if it is possible to tell Excel to apply a color to Intel processors bar and another to AMD ones?
    Thanks a lot for any help.

    http://www.mrexcel.com/forum/showthr...=1#post2001107
    Attached Files Attached Files
    Last edited by Jimic; 07-16-2009 at 05:07 PM.

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

    Re: Change color bar based on name?

    Create 2 more series based on formula that provide either the value or #N/A

    Set the overlap to 100 and format bars as required.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    07-16-2009
    Location
    Rio de Janeiro/RJ/Brasil
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Change color bar based on name?

    Thank you very much Andy!
    What do you mean by overlap?

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

    Re: Change color bar based on name?

    the chart is a clustered bar chart, so when the chart contains 3 series normally you would see the 3 bars next to each other. When certains bars have no value you would not see the bar but a gap would be left in each category.

    To avoid this you set the series overlap to 100. Now the 3 series will occupy the same space within a category.

    double click series and on the series option tab set the overlap to 100

  5. #5
    Registered User
    Join Date
    07-16-2009
    Location
    Rio de Janeiro/RJ/Brasil
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Change color bar based on name?

    I see, very nice explanation.
    I want to do another thing on that chart, should i open another topic to discuss it?
    Thank you Andy.

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

    Re: Change color bar based on name?

    start a new thread, include a link to this thread if it's relevent

+ 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