If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > "If" and time

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-08, 07:50
wpbcdeacon wpbcdeacon is offline
Registered User
 
Join Date: Mar 2008
Posts: 1
"If" and time

I have a coloum of times and I need to show which times are after 6:00 pm.
I have tried numerous combination and I am getting close with

=IF(I3>"18:00:00""<24:00:00","Evening","Day")

but my result is alway "Day"
Thanking you in advice.
Reply With Quote
  #2 (permalink)  
Old 03-02-08, 19:55
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy, and welcome to the board.

Is cell I3 in time, or is actually day and time (how it is normally entered into a cell). You may have to convert to serial numbers; hours would be fractions, and then use that as the basis for determining, and you would have to subtract the serial day to determine what part of the day it is.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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