+ Reply to Thread
Results 1 to 4 of 4

Chart colour based on cell text

  1. #1
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Chart colour based on cell text

    Hi,

    I have an thermometer chart and at the moment it is colour red. On my spread sheet I have a RAG status - Red/Amber/Green

    Is there anyway in which I can colour the lines based on a cell (if it contains "Red", "Yellow" or "Green")?

    e.g. on the attached the surrounding bars are black - I would like this red, yellow or green.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Chart colour based on cell text

    You can do this with helper columns. This example is covered in this site: http://peltiertech.com/Excel/Charts/. It can also be done with VB.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Valued Forum Contributor
    Join Date
    04-21-2005
    Location
    Southern England
    MS-Off Ver
    Excel for Office 365
    Posts
    1,689

    Re: Chart colour based on cell text

    Thanks will take a look!

    Does anyone have a working example of something similar they could share? Ideally I would like it without VBA as I am unsure how to edit code.

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

    Re: Chart colour based on cell text

    This is the tutorial I like for conditional formatting of charts: http://peltiertech.com/conditional-f...-excel-charts/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Colour Doughnut chart segment based on cell conditional format
    By ldarley1978 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2016, 06:44 AM
  2. VBA - Cell colour based on text
    By Clofty in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-18-2015, 12:39 PM
  3. [SOLVED] Conditional Formatting for Chart Series Based on Cell Colour
    By benjthom in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2013, 05:32 AM
  4. Replies: 1
    Last Post: 09-10-2013, 10:28 PM
  5. Replies: 2
    Last Post: 11-29-2012, 11:27 AM
  6. Colour change column chart based on cell colour
    By Alice21 in forum Excel General
    Replies: 11
    Last Post: 04-05-2011, 10:10 AM
  7. Change text Colour based a another cell
    By darkan9el in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-13-2007, 07:41 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