Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Check if a time is past a certain time

If i have a time entered in a cell say A1, how can i check if the time
is past a certain time say 5:00pm using an if statement?
thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Check if a time is past a certain time

Or how can i check if the current time is past a certain time say 5pm?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Check if a time is past a certain time

On Sat, 31 Jan 2009 13:23:42 -0800 (PST), Savio
wrote:

Or how can i check if the current time is past a certain time say 5pm?


Try this:

=IF(MOD(NOW(),1)TIME(17,0,0),"later than 17","not later than 17")

Hope this helps / Lars-Åke
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7,247
Default Check if a time is past a certain time


=IF(HOUR(A1)=17,"5 PM or later","Not yet 5PM")

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)

On Sat, 31 Jan 2009 13:12:59 -0800 (PST), Savio
wrote:

If i have a time entered in a cell say A1, how can i check if the time
is past a certain time say 5:00pm using an if statement?
thanks

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
Past Due/Completed on time date formula Stacy Excel Discussion (Misc queries) 3 June 13th 08 06:16 PM
subtracting time going backwards past midnight? Billman Excel Worksheet Functions 3 March 9th 08 01:21 PM
Calculating time past midnight. mailrail Excel Discussion (Misc queries) 3 April 18th 07 07:39 PM
Using date and time of past crimes to project the next occurance WR1CH Excel Discussion (Misc queries) 13 February 7th 07 07:47 PM
Calculating Time Past Midnight Darren Excel Worksheet Functions 6 March 13th 06 03:03 PM


All times are GMT +1. The time now is 06:05 AM.

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

About Us

"It's about Microsoft Excel"