Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Conditional formatting based on elapsed time

I've been reading question and answers all morning but can't quite find the
help i need. I am making a spreadsheet that tracks attendance. I have two
columns for start and end times both formatted as time. What I need is a
method to highlight cells if a user enters an end time that is prior to the
start time; but I do not want it to consider blank cells for EndTime. So far
all my attempts at conditional formatting are kicking my rear.
Please help. the boss is watching.....
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Conditional formatting based on elapsed time

Assuming starttime in column A and endtime in column B

Select B1:B10 or whatever range you want and FormatCFFormula is:

=AND(ISNUMBER($B1),$B1<$A1)


Gord Dibben MS Excel MVP


On Wed, 19 Aug 2009 14:54:01 -0700, Dan Robles
wrote:

I've been reading question and answers all morning but can't quite find the
help i need. I am making a spreadsheet that tracks attendance. I have two
columns for start and end times both formatted as time. What I need is a
method to highlight cells if a user enters an end time that is prior to the
start time; but I do not want it to consider blank cells for EndTime. So far
all my attempts at conditional formatting are kicking my rear.
Please help. the boss is watching.....


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Conditional formatting based on elapsed time

Most Excellent. Thanks Loads. If this gets me a raise, the beers are on me.

"Gord Dibben" wrote:

Assuming starttime in column A and endtime in column B

Select B1:B10 or whatever range you want and FormatCFFormula is:

=AND(ISNUMBER($B1),$B1<$A1)


Gord Dibben MS Excel MVP


On Wed, 19 Aug 2009 14:54:01 -0700, Dan Robles
wrote:

I've been reading question and answers all morning but can't quite find the
help i need. I am making a spreadsheet that tracks attendance. I have two
columns for start and end times both formatted as time. What I need is a
method to highlight cells if a user enters an end time that is prior to the
start time; but I do not want it to consider blank cells for EndTime. So far
all my attempts at conditional formatting are kicking my rear.
Please help. the boss is watching.....



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Conditional formatting based on elapsed time

Sounds good to me.


Gord

On Thu, 20 Aug 2009 08:35:02 -0700, Dan Robles
wrote:

Most Excellent. Thanks Loads. If this gets me a raise, the beers are on me.

"Gord Dibben" wrote:

Assuming starttime in column A and endtime in column B

Select B1:B10 or whatever range you want and FormatCFFormula is:

=AND(ISNUMBER($B1),$B1<$A1)


Gord Dibben MS Excel MVP


On Wed, 19 Aug 2009 14:54:01 -0700, Dan Robles
wrote:

I've been reading question and answers all morning but can't quite find the
help i need. I am making a spreadsheet that tracks attendance. I have two
columns for start and end times both formatted as time. What I need is a
method to highlight cells if a user enters an end time that is prior to the
start time; but I do not want it to consider blank cells for EndTime. So far
all my attempts at conditional formatting are kicking my rear.
Please help. the boss is watching.....




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 Based of Cells Based on Data Entry in anoth Jim Excel Discussion (Misc queries) 3 November 11th 08 11:52 PM
Calculate Ending time using Start Time and Elapsed Time Chief 711 Excel Worksheet Functions 5 May 13th 08 04:34 PM
Elapsed Time formatting pasajescultura Excel Discussion (Misc queries) 3 December 7th 07 01:31 PM
conditional formatting or formulae to show elapsed dates Jo Excel Worksheet Functions 3 May 26th 07 11:14 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM


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