+ Reply to Thread
Results 1 to 9 of 9

Cell colour

  1. #1
    Registered User
    Join Date
    01-24-2007
    Posts
    6

    Cell colour

    How can I get a cell to change to a colour, say green, if I type a date in it TIA
    Last edited by NBVC; 06-10-2009 at 08:56 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Cell colour

    Can anything else be put in the cell? If yes, how do you need to handle?

    If no:

    Format|Conditional Formatting >> Cell Value Is >> Is Greater Than >> =0

    If yes (and you only want dates coloured):

    Format|Conditional Formatting >> Formula Is >> =Isnumber($A$1)

    where A1 is the cell you are on and want to colour.

    After you choose from options above, click Format to continue to choose the colour.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor
    Join Date
    11-11-2008
    Location
    Euro
    MS-Off Ver
    2007, 2010
    Posts
    470

    Re: Cell colour

    Quote Originally Posted by Dell View Post
    How can I get a cell to change to a colour, say green, if I type a date in it TIA

    What does it mean TIA???

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Cell colour

    TIA - Thanks in Advance.

  5. #5
    Registered User
    Join Date
    01-24-2007
    Posts
    6

    Re: Cell colour

    Thanks for that now can I take it one step further. Nothing in the cell so its white. When I put a date in the cell I want it to turn green or red depending whether the date is higher or lower than a cell I want to reference it to.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Cell colour

    =And(Isnumber($A$1),$A$1<=$B$1) for Green

    =And(Isnumber($A$1),$A$1<$B$1) for Red

    You may need to alter for your exact requirements..

    where B1 contains date to check against.

  7. #7
    Registered User
    Join Date
    01-24-2007
    Posts
    6

    Re: Cell colour

    Sorry I am a novice at this. Where do I put these formulas. I have put them in the conditioning format as condition 2 and condition 3, condition 1 as your first reply. I have put the condition to be white,green and red respectively for conditions1,2 and 3, but the colour of the cell stays white no matter what I type in the cell

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Cell colour

    You replace Condition 1 with one of the new formulas... then after you selected the format for that condition, click Add, select Formula Is and paste the other formula in the 2nd condition.. then click format to get the new colour scheme.

  9. #9
    Registered User
    Join Date
    01-24-2007
    Posts
    6

    Re: Cell colour

    Thanks again ,sorted. Needed to put right cell value for A1 as well as B1

+ 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