+ Reply to Thread
Results 1 to 4 of 4

Auto Cell color

  1. #1
    Registered User
    Join Date
    08-21-2008
    Location
    Preston UK
    Posts
    23

    Auto Cell color

    Hi all
    I am a bit of a novice, so hope i explain what the problem is correctly. I have 3 teams Red, Blue and Green, with 5 members in an team.I need to depict each members name with the correct team colour in a cell and there name. However i need it to change the cell colour when i select the members name from a drop down list. The drop down list is not a problem its getting the cell to colourize to. Hope this is explained sufficiently enough. Would be grateful of any help.
    Last edited by shaun0_0; 10-07-2008 at 03:47 PM.

  2. #2
    Registered User
    Join Date
    04-18-2008
    Posts
    80
    to walk you through it depends how you did the list. You can get by with using conditional formatting as long as you only have 3 colors. you will want to go to Format/conditional formatting. Select Formula is then use a formula similar to

    =COUNTIF($G$2:$G$6,A1)
    in the example G2:G6 are the cells that contain the names of the red team for instance, and A1 is the current cell. then set the formatting to cell color of red. then click the add button for the other two teams.
    Last edited by VBA Noob; 10-07-2008 at 03:50 PM. Reason: changed { to [ and change to quote tags

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    or
    =OR(A1=($F$1:$F$5)) where f1 to f5 are list of 5 members in same team and A1 is the cell with the drop down

  4. #4
    Registered User
    Join Date
    08-21-2008
    Location
    Preston UK
    Posts
    23
    cheers guys for your help

+ 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. auto date in cell
    By stevesunfold in forum Excel General
    Replies: 8
    Last Post: 09-20-2008, 02:31 PM
  2. How to color the cell based on some condition?
    By ananthakumar.e in forum Excel General
    Replies: 3
    Last Post: 03-07-2008, 10:16 AM
  3. read cell content and use with Hyperlinks.Add Cell
    By apoc [t.i.m.] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2007, 10:02 AM
  4. Change cell color dependand on cell value
    By DonTron in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-06-2007, 08:50 AM
  5. change color and value of cell by formula
    By jurjon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-12-2006, 11:00 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