+ Reply to Thread
Results 1 to 10 of 10

Define colours in Bar Graphs/Charts

  1. #1
    Registered User
    Join Date
    10-08-2014
    Location
    Bangalore, India
    MS-Off Ver
    2007
    Posts
    4

    Define colours in Bar Graphs/Charts

    Hello Forum

    I have this question on MS Excel 2007

    Let us say I'm creating a bar graph. The default color happens to be blue and I can choose colors as below

    \1

    Is there any way that I can define colors based upon values.? For ex: In this case "sales". The objective is to set color pattern based upon the sales numbers. If the sales numbers meets or exceeds 25000 it should take up a color by default instead of us choosing the color for that particular bar in the graph

    Is it feasible? Can I receive some help and inputs on the same?

    Kindly let me know if my question makes sense or if I need to put it any better

    Thanks and Regards
    Karthik
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Define colours in Bar Graphs/Charts

    Welcome to the forum Karthik,

    I could try to explain, but will point you to the site where I learned how to do it:

    http://peltiertech.com/conditional-f...-excel-charts/

    I hope this helps, please let me know!

    Regards,

    David

    If this has been of assistance, please advise. A little thanks goes a long way.
    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".

    If several people have responded, when you reply please make it clear WHO you are responding
    to by mentioning their name.

  3. #3
    Registered User
    Join Date
    10-08-2014
    Location
    Bangalore, India
    MS-Off Ver
    2007
    Posts
    4

    Re: Define colours in Bar Graphs/Charts

    Hi David

    Thank you for the reply and sharing the reference URL. I went through the steps and came up with the following

    \1

    The only glaring problem that I am currently facing is highlighted in dark circles. The sales bar does not coordinate with the months. Any inputs on that?

    Regards
    Karthik

  4. #4
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Define colours in Bar Graphs/Charts

    Hi Karthik,

    First of all, I find it very difficult looking at Tinypic images - it would be much better if you attached the workbook (or an extract of it). That way I can see what is happening.

    I really don't know why the axis label appears to be offset, however, try adjusting the Gap Width.

    To do this, right click on the bar(s) and then Click on the Format Data Series option. Move the arrow toward No Gap. If you go as low a 0%, all the bars will touch, but id you set it at about 20%, you will see that most of the space is filled, and it looks a lot better.

    I would also be inclined to put the legend at the bottom, but that's just me! I think is looks better, but thousands of people will disagree!

    I hope this helps, please let me know!

    Regards,

    David

    If this has been of assistance, please advise. A little thanks goes a long way.
    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".

    If several people have responded, when you reply please make it clear WHO you are responding
    to by mentioning their name.

  5. #5
    Registered User
    Join Date
    10-08-2014
    Location
    Bangalore, India
    MS-Off Ver
    2007
    Posts
    4

    Re: Define colours in Bar Graphs/Charts

    Hi David

    Thanks for letting me know on the Tinypic concerns. Apologies, if that has been a trouble.

    I worked based upon the inputs shared by you. The result is can be found in the attached excel. The issue unfortunately still persists and I hope we can find a solution

    Kindly let me know if you are able to see the excel in the attachments. Looking forward

    Regards
    Karthik
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Define colours in Bar Graphs/Charts

    Try this! I fiddled with the Overlap as well as Gap.

    I hope this helps, please let me know!

    Regards,

    David

    If this has been of assistance, please advise. A little thanks goes a long way.
    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".

    If several people have responded, when you reply please make it clear WHO you are responding
    to by mentioning their name.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-08-2014
    Location
    Bangalore, India
    MS-Off Ver
    2007
    Posts
    4

    Re: Define colours in Bar Graphs/Charts

    Thanks David. That has worked for now. I would get in touch by Tuesday if I need more guidance on this.

    Much appreciated and wish you the best

    Regards
    Karthik

  8. #8
    Spammer
    Join Date
    01-26-2010
    Location
    Worcester MA
    MS-Off Ver
    Excel 2003
    Posts
    184

    Re: Define colours in Bar Graphs/Charts

    Karthik -

    If you click on the picture in the TinyPic link, it shows a larger image of the picture. Not hard at all to read, and preferable to having to download and open a whole workbook.
    Jon Peltier
    http://PeltierTech.com/

  9. #9
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Define colours in Bar Graphs/Charts

    Thanks for your input Jon, it's an honour to meet you! I've marvelled at your work for a long time.

    My main problem with TinyPics is that you don't have the workbook to look at so that you can give informed advice.

    Kind regards

    David

  10. #10
    Spammer
    Join Date
    01-26-2010
    Location
    Worcester MA
    MS-Off Ver
    Excel 2003
    Posts
    184

    Re: Define colours in Bar Graphs/Charts

    I work differently. I don't like to spend a lot of time figuring out what's wrong in a workbook, especially since so much might be non-optimum.

    I prefer the person asking the question take the time and thought to clearly describe the problem, and use a minimal amount of supporting files. A couple images is good, especially when trying to describe what's wrong with a chart.

    It turns out that the amount of clear thought needed to state a problem might actually help the person solve the problem themself. At the least, it makes it much easier for us to understand.

+ 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. Using VBA to add alternating colours to graphs
    By Peter.M in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-21-2014, 12:15 PM
  2. Replies: 0
    Last Post: 11-24-2010, 06:21 PM
  3. Excel include more colours for fill & graphs
    By Bec in forum Excel General
    Replies: 1
    Last Post: 03-26-2006, 10:55 PM
  4. Excel include more colours for fill & graphs
    By Bec in forum Excel General
    Replies: 1
    Last Post: 03-07-2006, 09:20 AM
  5. Define range for graphs/charts with validation list
    By janfolmer in forum Excel General
    Replies: 2
    Last Post: 08-29-2005, 09:05 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