Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
msimpy22
 
Posts: n/a
Default Conditional Formatting Problem

I am building a timeline of college course based on time of class and day of
class. I have been semi successful in coloring each row at the approximate
time of the class, but I am unable to associate those times with the specific
days.

The column before the start and stop times has the day(s) of classes which
need to match the day row at the top of the spreadsheet. Any help here would
be appreciated. Also the row of days is merged cells above the hourly times.
  #2   Report Post  
Mohamed Shafiee
 
Posts: n/a
Default

Hi,

Use this formula for conditional formatting:
=IF(TEXT(NOW(), "ddd") = C$2,
IF(AND(TIME(HOUR(NOW()),MINUTE(NOW()),SECOND(NOW() ))=$A3,
TIME(HOUR(NOW()),MINUTE(NOW()),SECOND(NOW()))<$B3) , 1, 0), 0)

In this formula
Column A is start time
Column B is the end time
Row 2 is the day

ie
C2 is today's date abbreviated to 3 characters
A3 is start time
B3 is end time

Hope that helped.

Shafiee.



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 formatting conflict? Abi Excel Worksheet Functions 2 January 11th 05 03:41 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional Formatting problem Cumbo Excel Discussion (Misc queries) 2 January 5th 05 03:44 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
Count and Sum with Conditional Formatting Problem pmahajan Excel Worksheet Functions 1 December 14th 04 05:30 AM


All times are GMT +1. The time now is 09:53 PM.

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"