+ Reply to Thread
Results 1 to 3 of 3

Can not figure out how to color cells based on the text contained in the cell

  1. #1
    Registered User
    Join Date
    11-07-2012
    Location
    Broomfield, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    2

    Can not figure out how to color cells based on the text contained in the cell

    I have data validation set up for cells. The list I pick from, from the drop down, is called StatusCodes and contains:
    Work
    Vac
    Trn
    Sick
    Lab
    Class
    Hol
    Other
    I simply want to color/fill each cell with a different color based on which selection from the dropdown I choose and at the same time keep the text chosen visible. Would I use Conditional formating or Smart Tags or what? Attached is a small example.
    Attached Files Attached Files
    Last edited by Kjorg; 11-07-2012 at 07:02 PM.

  2. #2
    Forum Contributor
    Join Date
    09-13-2012
    Location
    Atlanta, USA
    MS-Off Ver
    Office 2003, 2010
    Posts
    230

    Re: Can not figure out how to color cells based on the text contained in the cell

    I would use conditional formatting. If your cells = G2, then format it red, as I have done. To see the rules, go to conditional formatting, then manage rules.

    If you needed to change the colors of other cells, all you would need to do is create more rules.

    Is this what you were looking for?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-07-2012
    Location
    Broomfield, Colorado
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Can not figure out how to color cells based on the text contained in the cell

    Exactly what I needed. Thank you very much. And cut/paste to create other 'regions' takes all the attributes along with it. Perfect!!

+ 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