+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting based on Text

  1. #1
    Registered User
    Join Date
    06-05-2017
    Location
    Toronto, Canada
    MS-Off Ver
    2016
    Posts
    2

    Conditional Formatting based on Text

    Hi Everyone,

    This is my first time here. I love what you do. Hope you can help me.

    I have a list of 11 different objects that I rank from 1-11 every year for 10 years. I have assigned a different fill color to each object. I want to create a formula that will copy that formatting for each object in my yearly ranking table. Is there a formula I can use to look up text and apply formatting matching that text?

    For example:

    Objects
    Apples - RED
    Oranges - Orange
    Grapes - Purple
    Banana - Yellow
    etc

    2007
    Apples
    Oranges
    Grapes
    Banana

    2008
    Banana
    Grapes
    Oranges
    Apples

    etc

    IF not I guess I'll do it manually but I figure there's gotta be a way. Thanks for your help.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Conditional Formatting based on Text

    You can try:
    1. select range of all years with fruits (sth like A1:A10000)
    2. define in CF 11 times (eleven fruits?) =A1="Apples" and set color (next rule: =A1="Banana" and set another color) etc...
    on the end you will get 11 rules

  3. #3
    Registered User
    Join Date
    06-05-2017
    Location
    Toronto, Canada
    MS-Off Ver
    2016
    Posts
    2

    Re: Conditional Formatting based on Text

    Thanks Sandy. I'll try that. I though there might be a more efficient way where I could reference my legend of object/colors and use that as a conditional formatting rule. I'm sure this will work though.

+ 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. conditional formatting fill cells based on text, how to find sum based on CF colour
    By tubbybear in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 08-27-2016, 12:04 PM
  2. Conditional Formatting based on Text and Value
    By Barrera006 in forum Excel General
    Replies: 12
    Last Post: 10-07-2015, 07:34 AM
  3. Conditional formatting based on text color
    By iloveexcelsomuch in forum Excel General
    Replies: 8
    Last Post: 09-16-2015, 09:01 AM
  4. [SOLVED] Conditional Formatting Based On Text Value
    By Tenaciousjeebs in forum Excel General
    Replies: 2
    Last Post: 05-08-2014, 03:15 PM
  5. conditional formatting row based on text
    By lpratt in forum Excel General
    Replies: 5
    Last Post: 02-01-2011, 08:49 PM
  6. Conditional Formatting based on Text
    By avidcat in forum Excel General
    Replies: 3
    Last Post: 12-31-2010, 07:11 AM
  7. Conditional formatting based on text
    By Gilles Desjardins in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-18-2005, 10:06 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