In one row I have 24 cells, each cell representing 1 hour. I would like a
cell to change color, say from white to yellow, during the hour it
represents on the clock. I have tried conditional formatting with =HOUR,
Now() and =TIME without success.
I would greatly appreciate any assistance in solving this problem.
Colin
|
|
0
|
|
|
|
Reply
|
Colin
|
11/27/2009 11:15:10 AM |
|
It's always useful if you tell us what's in your cells, what CF condition
you are trying to use, what result you're getting, and what result you
expected.
If you have times at 1 hour intervals, what's wrong with, CF/ Formula Is:
=HOUR(A1)=HOUR(NOW()) ?
--
David Biddulph
"Colin" <colin.gough@gmail.com> wrote in message
news:062C1B79-E21E-4AB6-9D22-2D6B2F3569C1@microsoft.com...
> In one row I have 24 cells, each cell representing 1 hour. I would like a
> cell to change color, say from white to yellow, during the hour it
> represents on the clock. I have tried conditional formatting with =HOUR,
> Now() and =TIME without success.
>
> I would greatly appreciate any assistance in solving this problem.
>
> Colin
|
|
0
|
|
|
|
Reply
|
David
|
11/27/2009 11:24:04 AM
|
|
Another option is / Cell value is:
=TIME(HOUR(NOW()),,)
--
David Biddulph
"David Biddulph" <groups [at] biddulph.org.uk> wrote in message
news:OpydnbwxHpYJKpLWnZ2dnUVZ8kGdnZ2d@bt.com...
> It's always useful if you tell us what's in your cells, what CF condition
> you are trying to use, what result you're getting, and what result you
> expected.
>
> If you have times at 1 hour intervals, what's wrong with, CF/ Formula Is:
> =HOUR(A1)=HOUR(NOW()) ?
> --
> David Biddulph
>
> "Colin" <colin.gough@gmail.com> wrote in message
> news:062C1B79-E21E-4AB6-9D22-2D6B2F3569C1@microsoft.com...
>> In one row I have 24 cells, each cell representing 1 hour. I would like
>> a cell to change color, say from white to yellow, during the hour it
>> represents on the clock. I have tried conditional formatting with =HOUR,
>> Now() and =TIME without success.
>>
>> I would greatly appreciate any assistance in solving this problem.
>>
>> Colin
>
>
|
|
0
|
|
|
|
Reply
|
David
|
11/27/2009 11:25:57 AM
|
|
1. Select the cell/Range (say A1:X1). Please note that the cell reference A1
mentioned in the formula is the active cell in the selection. Active cell
will have a white background even after selection
2. From menu Format>Conditional Formatting>
3. For Condition1>Select 'Formula Is' and enter the below formula
'if values from A1 to X1 are entered as 1,2,3,....24 then
=A1=VALUE(TEXT(NOW(),"hh"))
OR if values are entered in time format 1:00 AM, 2:00 AM etc; then try
=TEXT(A1,"hh")=TEXT(NOW(),"hh")
4. Click Format Button>Pattern and select your color (say Red)
5. Hit OK
PS: If you are using XL2007 Goto Home tab>Styles>Conditional
Formatting>Manage rules>New rule>Use a formula to determine which cells to
format. Enter the formula in the box below.
If this post helps click Yes
---------------
Jacob Skaria
"Colin" wrote:
> In one row I have 24 cells, each cell representing 1 hour. I would like a
> cell to change color, say from white to yellow, during the hour it
> represents on the clock. I have tried conditional formatting with =HOUR,
> Now() and =TIME without success.
>
> I would greatly appreciate any assistance in solving this problem.
>
> Colin
>
|
|
0
|
|
|
|
Reply
|
Utf
|
11/27/2009 11:36:03 AM
|
|
Sorry for lack of detail. In my SS cells B17 to Y17 are number 0 to 23,
representing 24 hours. Directly below each row 17 cell is a blank/empty
cell. During the period midnight to 1am I would like only cell B18 to have
a yellow fill, then during the period 1am to 2 am I would like only cell C18
to have a yellow fill and so on for the full 24 hours after which the
colored cell returns to the beginning and starts the process again.
Colin
"Colin" <colin.gough@gmail.com> wrote in message
news:062C1B79-E21E-4AB6-9D22-2D6B2F3569C1@microsoft.com...
> In one row I have 24 cells, each cell representing 1 hour. I would like a
> cell to change color, say from white to yellow, during the hour it
> represents on the clock. I have tried conditional formatting with =HOUR,
> Now() and =TIME without success.
>
> I would greatly appreciate any assistance in solving this problem.
>
> Colin
|
|
0
|
|
|
|
Reply
|
Colin
|
11/27/2009 12:16:52 PM
|
|
Try a CF of:
=B$17=hour(now())
Regards,
Fred.
"Colin" <colin.gough@gmail.com> wrote in message
news:79C962F7-E5FD-42B7-945D-45D5A3195D89@microsoft.com...
> Sorry for lack of detail. In my SS cells B17 to Y17 are number 0 to 23,
> representing 24 hours. Directly below each row 17 cell is a blank/empty
> cell. During the period midnight to 1am I would like only cell B18 to
> have a yellow fill, then during the period 1am to 2 am I would like only
> cell C18 to have a yellow fill and so on for the full 24 hours after which
> the colored cell returns to the beginning and starts the process again.
>
> Colin
>
> "Colin" <colin.gough@gmail.com> wrote in message
> news:062C1B79-E21E-4AB6-9D22-2D6B2F3569C1@microsoft.com...
>> In one row I have 24 cells, each cell representing 1 hour. I would like
>> a cell to change color, say from white to yellow, during the hour it
>> represents on the clock. I have tried conditional formatting with =HOUR,
>> Now() and =TIME without success.
>>
>> I would greatly appreciate any assistance in solving this problem.
>>
>> Colin
>
|
|
0
|
|
|
|
Reply
|
Fred
|
11/27/2009 12:29:52 PM
|
|
1. Select the cell/Range (say B18:X18). Please note that the active cell in
the selection should be B18. Active cell will have a white background even
after selection
2. From menu Format>Conditional Formatting>
3. For Condition1>Select 'Formula Is' and enter the below formula
=B17=HOUR(NOW())
4. Click Format Button>Pattern and select your color (say Red)
5. Hit OK
If this post helps click Yes
---------------
Jacob Skaria
"Colin" wrote:
> Sorry for lack of detail. In my SS cells B17 to Y17 are number 0 to 23,
> representing 24 hours. Directly below each row 17 cell is a blank/empty
> cell. During the period midnight to 1am I would like only cell B18 to have
> a yellow fill, then during the period 1am to 2 am I would like only cell C18
> to have a yellow fill and so on for the full 24 hours after which the
> colored cell returns to the beginning and starts the process again.
>
> Colin
>
> "Colin" <colin.gough@gmail.com> wrote in message
> news:062C1B79-E21E-4AB6-9D22-2D6B2F3569C1@microsoft.com...
> > In one row I have 24 cells, each cell representing 1 hour. I would like a
> > cell to change color, say from white to yellow, during the hour it
> > represents on the clock. I have tried conditional formatting with =HOUR,
> > Now() and =TIME without success.
> >
> > I would greatly appreciate any assistance in solving this problem.
> >
> > Colin
>
|
|
0
|
|
|
|
Reply
|
Utf
|
11/27/2009 1:28:02 PM
|
|
|
6 Replies
123 Views
(page loaded in 0.197 seconds)
Similiar Articles: Count how many times conditional formatted cells are positive ...Once you have applied conditional formatting, is it possible to count the number of cells that turn the different colours? ... Conditional Formatting: Change .BackColor on-the-fly? - microsoft ...I can set the .BackColor in the conditional formatting dialog, but the next time the code changes .BackColor of all the fields, it their new .BackColor will get trumped ... Copy loses order of Conditional Formatting rules - microsoft ...Hi- I have tried multiple times, and I am losing the order of conditional formatting for a cell when I copy it to another cell. The relative refere... Conditional formatting not working as expected (A2007) - microsoft ...I've got 4 unbound textboxes which represent start date, start time, end date, end time. These textboxes are visible and initially get filled in wi... Conditional formatting with expired dates after current ...I'm after a conditional format forumla that checks each value of a cell in a column and ... Privacy Policy | All Times Are GMT(UTC) | powered by Conditional Formatting In a Datasheet Form - microsoft.public ...Is there a way to accomplish this? Thank you for your time, Cage ... the Default View of a form from Datasheet (which does not support conditional formatting) to ... Conditional Formatting: Fill Cell if Formula Overwritten ...Count how many times conditional formatted cells are positive ..... to change the color fill of the cell. If conditional formatting ... Find Duplicate Cell Values with ... Conditional formatting and percentages - microsoft.public.excel ...... rows (one for each month), and 3 columns: Incidents Closed, Closed on Time ... ... Conditional Formatting in Reports - microsoft.public ... Add-in Tool for Creating Standard ... Conditional Formatting Does Not Refresh Automatically - microsoft ...I've experienced this a couple of times in the past. Not recently, though. Here's a reply I got from Dave Peterson: "Dave Peterson" > There's an acceleration ... Conditional format multiple controls - microsoft.public.access ...Then click on Format + Conditional Formatting. Any condition entered will apply to all of the ... on your end by giving more details ends up in all of us spending less time. Excel Conditional formatting and Time - MrExcel.com | Excel ...I have cells with conditional formatting that changes the color of cells if curent time has elapsed. Works only if I recalculate or add additional data. Conditional Formatting in Excel | Chandoo.org - Learn Microsoft ...I’ve actually tried that method earlier, but couldn’t set the NOW() function in the conditional formatting field to only calculate the time. Excel - Conditional Formatting Time Comparison W/ =now() - Guys ...Conditional Formatting Time Comparison W/ =now() - Guys and Gals I was wondering if you could help... - Free Excel Help Excel: Time/conditional formatting, free microsoft excel, question ...free microsoft excel, question sign, excel tips tricks: There are MANY ways to do this, but assuming you have your date/time value in A1, then set B1 to: =INT(A1 ... Excel - Conditional Formatting Using If With Times - I have a ...Conditional Formatting Using If With Times - I have a program using conditional formatting to color... - Free Excel Help 7/9/2012 12:58:56 AM
|