Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formatte issue

I need to be able to right a conditional Formatte that can highlight a cell
(group of cells) in a sheet based on the time of day ... For instance... if
the starting time (cell C4) is 02:29 and the ending time (cell D5) is 04:30
then any time with in this range the cell should be high lighted. Any other
time the cell is not.

Scott

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formatte issue


S. A. Stone;537071 Wrote:
I need to be able to right a conditional Formatte that can highlight a
cell
(group of cells) in a sheet based on the time of day ... For
instance... if
the starting time (cell C4) is 02:29 and the ending time (cell D5) is
04:30
then any time with in this range the cell should be high lighted. Any
other
time the cell is not.

Scott

Which version of Excel?

For xl2003

Select the cell(s) you want conditionally formatted, choose 'Formula
is' and paste this formula:
=AND(MOD(NOW(),1)=$C$4,MOD(NOW(),1)<=$D$5)

set your format and finish.
When the time comes to a flip-over, the sheet will need to be
recalculated for the formatting to change.


--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: http://www.thecodecage.com/forumz/member.php?userid=558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=147618

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
conditional formatte date in a1 calculate the date in A2 jcurran1ma Excel Worksheet Functions 3 July 1st 09 06:59 AM
EXCEL - unable to get "TEXT" to wrap, even though cell is formatte onerudecat Excel Worksheet Functions 3 July 31st 07 08:10 PM
How do I delete a line at the edge of a column that's not formatte Vera Lemon Excel Discussion (Misc queries) 2 October 16th 06 09:19 PM
VBE Issue Seth[_5_] Excel Programming 1 November 15th 03 09:35 AM
VBE Issue Seth[_3_] Excel Programming 1 November 11th 03 11:30 PM


All times are GMT +1. The time now is 12:10 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"