Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Richard - ExcelForums.com
 
Posts: n/a
Default If Between 2 Times

Hello,

I am trying to find out if a cell is between 2 times.

A1 = 06:00
B1 = 10:00

A cell will represent 15 minutes. So the cell will display a number if
the cells number (say 06:15) falls between or is equal to anyof
these.

i.e. =IF(A1<="06:15" AND B1="06:15", "true", "false")

Cheers
Richard
---------
www.coffeecozy.com

Use your Bodum and give up cold coffee for good!
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
=IF(AND(C1=A1,A2<=B1),"Between","not between")

--
Regards
Frank Kabel
Frankfurt, Germany

Richard - ExcelForums.com wrote:
Hello,

I am trying to find out if a cell is between 2 times.

A1 = 06:00
B1 = 10:00

A cell will represent 15 minutes. So the cell will display a number if
the cells number (say 06:15) falls between or is equal to anyof
these.

i.e. =IF(A1<="06:15" AND B1="06:15", "true", "false")

Cheers
Richard
---------
www.coffeecozy.com

Use your Bodum and give up cold coffee for good!



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
Countif("between start/end times) Ian Jones Excel Discussion (Misc queries) 0 January 6th 05 06:17 PM
Adding/Averaging Times in Excel JD Excel Discussion (Misc queries) 2 January 5th 05 05:07 PM
Whats the function to count the total times a word is displayed Monk Excel Discussion (Misc queries) 3 December 10th 04 10:39 PM
How can use IF function more than 7 times in a cell wuwu Excel Worksheet Functions 4 November 13th 04 10:23 AM
how do I get a calculation to repeat various number of times? weelittlekim Excel Worksheet Functions 1 October 27th 04 08:13 PM


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