UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to calculate Time Difference in Excel    
 
   
cracklenet
post Aug 9 2005, 03:36 PM
Post #1

New Member
Posts: 1
From: India



Hi,

I am trying to calculate the time difference between two time intervals.

For example, I have some number of people coming between 23:30 and 0:00. The same way for some more intervals starting from 22:00 till 2:00.

My Task is to find out how many number of people are coming in, in each half hour interval.

I was able to get this number successfully from 22:00 till 23:30.

But when the time filps i.e., from 23:30 to 0:00, I am not able to do it.

Is there any way to accomplis this?

Regards,
Anjani Kumar
Go to the top of the page
 
+
KingMartin
post Aug 9 2005, 03:46 PM
Post #2

Retired Moderator
Posts: 10,959
From: Prague,CZ / Kiev,UA



Hi Anjani,
welcome to UA Forums! (IMG:http://www.utteraccess.com/forum/style_emoticons/default/frown.gif)

try this out:

=IF(B1<A1,B1-A1+1,B1-A1)

A1 is start, B1 end of your interval

(IMG:http://www.utteraccess.com/forum/style_emoticons/default/frown.gif)
Martin
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 24th May 2013 - 11:57 PM