+ Reply to Thread
Results 1 to 4 of 4

Help with Conditional Formating Time

  1. #1
    Registered User
    Join Date
    06-13-2006
    Posts
    45

    Help with Conditional Formating Time

    I have various deadlines and I have formatted my cells to have a Green background if the deadline is met. So the first condition is "Less than or Equal to." The cell turns red if the deadline isn't met, so the condition is "Greater than."

    I would type in 12:51 as the conditional value and not worry about a.m or p.m. The numbers are converted to something like 0.03546666.

    Things have been going along great until I got into early a.m. times, but now I'm having problems. If I type in 12:51 as the conditional value and 11:20 as the actual I should get a green background, but I'm getting red.

    It doesn't seem as if AM or PM should make a difference in the outcome, but something strange is going on. I tried formatting the actual time as PM, but that didn't make a difference.

    Thanks for any help.

  2. #2
    Sandy Mann
    Guest

    Re: Help with Conditional Formating Time


    "jonhunt" <[email protected]> wrote in
    message news:[email protected]...

    > I would type in 12:51 as the conditional value and not worry about a.m
    > or p.m. The numbers are converted to something like 0.03546666.


    Excel is therefore interpreting your entry as 12:51 AM therefore 11:20,
    whether A or PM is later,(greater), then your first entry

    --
    HTH

    Sandy
    In Perth, the ancient capital of Scotland

    [email protected]
    [email protected] with @tiscali.co.uk


    "jonhunt" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have various deadlines and I have formatted my cells to have a Green
    > background if the deadline is met. So the first condition is "Less than
    > or Equal to." The cell turns red if the deadline isn't met, so the
    > condition is "Greater than."
    >
    > I would type in 12:51 as the conditional value and not worry about a.m
    > or p.m. The numbers are converted to something like 0.03546666.
    >
    > Things have been going along great until I got into early a.m. times,
    > but now I'm having problems. If I type in 12:51 as the conditional
    > value and 11:20 as the actual I should get a green background, but I'm
    > getting red.
    >
    > It doesn't seem as if AM or PM should make a difference in the outcome,
    > but something strange is going on. I tried formatting the actual time as
    > PM, but that didn't make a difference.
    >
    > Thanks for any help.
    >
    >
    > --
    > jonhunt
    > ------------------------------------------------------------------------
    > jonhunt's Profile:
    > http://www.excelforum.com/member.php...o&userid=35370
    > View this thread: http://www.excelforum.com/showthread...hreadid=561199
    >




  3. #3
    Registered User
    Join Date
    06-13-2006
    Posts
    45

    Still doesn't work

    I have entered 12:51 as the conditional value, so I suspect the problem must be in how the entered values for the deadline and actual times are formatted. They obviously have to be formatted as times and I've tried all sorts of ways, but it isn't working.

  4. #4
    Sandy Mann
    Guest

    Re: Help with Conditional Formating Time

    Jon,

    If I understand what it is you are saying then you entered 12:51 in the
    conditional formatting dialog box and it turned into 0.03546666 which is
    equivelant to 00:51. All times entered that are after nine minutes to one
    in the morning will therefore be greater then the conditional time thus will
    turn red.

    --
    HTH

    Sandy
    In Perth, the ancient capital of Scotland

    [email protected]
    [email protected] with @tiscali.co.uk


    "jonhunt" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have entered 12:51 as the conditional value, so I suspect the problem
    > must be in how the entered values for the deadline and actual times are
    > formatted. They obviously have to be formatted as times and I've tried
    > all sorts of ways, but it isn't working.
    >
    >
    > --
    > jonhunt
    > ------------------------------------------------------------------------
    > jonhunt's Profile:
    > http://www.excelforum.com/member.php...o&userid=35370
    > View this thread: http://www.excelforum.com/showthread...hreadid=561199
    >




+ 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