+ Reply to Thread
Results 1 to 6 of 6

Formatting of graphs dependending on input given

  1. #1
    Forum Contributor
    Join Date
    08-13-2008
    Location
    South Africa
    Posts
    130

    Formatting of graphs dependending on input given

    Hey Guys!

    Is it possible to create a bar graph and have the bar change colour depending on the values inputed?

    For example: If i have sales of 100 the bar on the graph should show red in colour, if i have sales of 150 the bar should show orange in colour and if i have sales of 200 the bar should show green in colour

  2. #2
    Forum Contributor
    Join Date
    08-13-2008
    Location
    South Africa
    Posts
    130

    Unhappy Re: Formatting of graphs dependending on input given

    Anyone....

  3. #3
    Forum Contributor mubashir aziz's Avatar
    Join Date
    03-18-2009
    Location
    Lahore, Pakistan
    MS-Off Ver
    MS Office 2013
    Posts
    533

    Smile Re: Formatting of graphs dependending on input given

    I think it can be thru macro but my macro skill is not good although i'm attaching a sample file. may be it will be helpful for you ......
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Formatting of graphs dependending on input given

    Your post does not comply with Rule 5 of our Forum RULES. We have Seven question forums: Miscellaneous, General, Programming, Worksheet Functions, Charting, Excel 2007 Help and New Users. Please choose the appropriate forum, and post your question in ONLY one forum.

    Your thread will be transferred to the correct forum

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

    Re: Formatting of graphs dependending on input given

    bumping you thread after a whole 34 minutes, it must be important :P

    Use multiple series with formula to determine which of the series gets the value and which gets zero.

    The set the Overlap value to 100.

    Search forum for conditional charts.
    Cheers
    Andy
    www.andypope.info

  6. #6
    Forum Contributor
    Join Date
    08-13-2008
    Location
    South Africa
    Posts
    130

    Re: Formatting of graphs dependending on input given

    @ Mubashir- Thank you!! It works perfectly!!

    @Andy- It was important, i sold my mouth to someone thinking i was able to do it

+ 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