+ Reply to Thread
Results 1 to 2 of 2

colors in bar graphs

  1. #1
    dsomz
    Guest

    colors in bar graphs

    I would like to automatically change the color of a bar depending on the
    entered value versus a targeted number. For example: The target value is
    50, if the entered value is 40 (below target) the bar on the graph shows up
    red. If the entered number is 60 (above target) the bar on the graph shows
    up green. This way I can see if each data point is above or below target
    easily. Thanks

  2. #2
    Andy Pope
    Guest

    Re: colors in bar graphs

    Hi,

    You can either create conditional charts, see Jon's page for further
    information.
    http://peltiertech.com/Excel/Charts/...nalChart1.html

    Or use VBA code, which can be placed in one of the worksheet events, to
    change the colours.

    Cheers
    Andy

    dsomz wrote:
    > I would like to automatically change the color of a bar depending on the
    > entered value versus a targeted number. For example: The target value is
    > 50, if the entered value is 40 (below target) the bar on the graph shows up
    > red. If the entered number is 60 (above target) the bar on the graph shows
    > up green. This way I can see if each data point is above or below target
    > easily. Thanks


    --

    Andy Pope, Microsoft MVP - Excel
    http://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)

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