Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default shade a row based on the current time

I have a spreadsheet that is utilized as a schedule for phone coverage. Each
cell is in half hour increments. I want to have the current time in one cell
that the rest of the cells reference in a formula to highlight the row that
fits the timeframe. How can I do this? Or is it even possible? Or is there
another appllication that might be better?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default shade a row based on the current time

Use conditional formatting.

In the cell that has the time (assumed to be A1 here), choose FormatConditional
Formatting...

Change Condition 1 to Formula is, enter the following formula

=AND(INT(A1/"00:30")*"00:30"<NOW()-TODAY(),INT(A1/"00:30")*"00:30"+"00:30"NOW()-TODAY())

Choose Format..., and whatever highlight you want, such as Pattern grey.

Copy the formatting as far down as needed.

--
Regards,
Fred


"Lorri" wrote in message
...
I have a spreadsheet that is utilized as a schedule for phone coverage. Each
cell is in half hour increments. I want to have the current time in one cell
that the rest of the cells reference in a formula to highlight the row that
fits the timeframe. How can I do this? Or is it even possible? Or is there
another appllication that might be better?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I calculate amount of time left based on amount spent? KLD Excel Worksheet Functions 3 May 23rd 06 04:20 PM
Find a time value in one column based on names in another Robert Excel Discussion (Misc queries) 1 January 6th 06 01:33 PM
Run macro based on time Bruce Excel Worksheet Functions 7 December 23rd 05 01:27 PM
How to enter current static time in Excel in 00:00:00.0 format? Wlumkong Excel Worksheet Functions 3 May 12th 05 03:54 PM
how do i insert the current time into a cell, and show different . Dave Excel Discussion (Misc queries) 1 March 22nd 05 06:57 PM


All times are GMT +1. The time now is 10:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"