+ Reply to Thread
Results 1 to 8 of 8

Conditional format assistance

Hybrid View

Guest Conditional format assistance 04-08-2005, 06:06 AM
widemonk On cell C4, goto Conditional... 04-08-2005, 06:22 AM
Guest Re: Conditional format... 04-08-2005, 07:06 AM
Guest Re: Conditional format... 04-08-2005, 07:06 AM
Guest Re: Conditional format... 04-08-2005, 08:06 AM
Guest Re: Conditional format... 04-08-2005, 09:06 AM
Guest Re: Conditional format... 04-08-2005, 10:06 AM
widemonk It must be that the cell isnt... 04-08-2005, 08:14 AM
  1. #1
    Bobby
    Guest

    Conditional format assistance

    I have a spreadsheet with dates in cells that are future holiday dates, and i
    would like the cells to change colour when the date has passed.
    In A1 I have the formula for todays date... today() but would like some
    assistance on how I would format C4 which is the first of my dates to enable
    the cell to change colour when the date in C4 has passed.

    Thanks in advance

    Bobby

  2. #2
    Registered User
    Join Date
    02-25-2005
    Posts
    84
    On cell C4, goto Conditional formatting and set conditions to:
    Cell Value Is > greater than > =A1

    Alternatively, you could remove the need for todays date in any particular cell and do it direct from Cond. Format... ie,
    Cell Value Is > greater than > =TODAY()

  3. #3
    P Sitaram
    Guest

    Re: Conditional format assistance


    Bobby wrote:
    > I have a spreadsheet with dates in cells that are future holiday

    dates, and i
    > would like the cells to change colour when the date has passed.
    > In A1 I have the formula for todays date... today() but would like

    some
    > assistance on how I would format C4 which is the first of my dates to

    enable
    > the cell to change colour when the date in C4 has passed.
    >
    > Thanks in advance
    >
    > Bobby


    select the cells of interest, i.e., say, C4:C100. go to
    Format|conditional formatting , select Formula Is and enter the
    formula:

    =C4<A1 and set the formatting


  4. #4
    Bobby
    Guest

    Re: Conditional format assistance



    "P Sitaram" wrote:

    >
    > Bobby wrote:
    > > I have a spreadsheet with dates in cells that are future holiday

    > dates, and i
    > > would like the cells to change colour when the date has passed.
    > > In A1 I have the formula for todays date... today() but would like

    > some
    > > assistance on how I would format C4 which is the first of my dates to

    > enable
    > > the cell to change colour when the date in C4 has passed.
    > >
    > > Thanks in advance
    > >
    > > Bobby

    >
    > select the cells of interest, i.e., say, C4:C100. go to
    > Format|conditional formatting , select Formula Is and enter the
    > formula:
    >
    > =C4<A1 and set the formatting
    >

    Thank you, that part works fine but how do I get the cells with no date in
    them yet to stay clear.At the moment some cells have no dates in them yet and
    they are turning to the colour I have formatted.
    >


  5. #5
    P Sitaram
    Guest

    Re: Conditional format assistance

    =(LEN(C4)*(C4<A1))


  6. #6
    Bobby
    Guest

    Re: Conditional format assistance



    "P Sitaram" wrote:

    > =(LEN(C4)*(C4<A1))
    >
    >


    Thanks for that it worked perfectly. How does that formula work?

    I looked in the excel help pages for the LEN command but it was as much use
    as a chocolate fire guard. It did not explain anything to me.

  7. #7
    P Sitaram
    Guest

    Re: Conditional format assistance

    LEN returns the length of the cell entry, giving 0 when there is none.
    So, the formula can result in:
    0*0 = 0 i.e., FALSE
    O*1 = 0 -do-
    +ve number *0 = 0 -do-
    +ve number*1 = +ve number i.e., TRUE


  8. #8
    Registered User
    Join Date
    02-25-2005
    Posts
    84
    It must be that the cell isnt truly blank... have you inserted a space, or perhaps does it contain a formula with an ,"") section.

    If your dates are dead-figures and entered manually, make sure they are all definately blank.

    If the date is generated by a formula that also returns "" if criteria is not met, you will need to change your conditional formatting to :
    Formula Is > =AND(C4<>"",C4>TODAY())

    or

    Formula Is > =AND(C4<>"",C4>A1)

+ 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