Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
1/25/2013 1:40:46 PM EDT
I want to input a start time in one cell and a stop time in another cell, then I want a formula to calculate the elapsed time in either hours and minutes or in hours and tenths.





If my start time and end time remains within the same day, I have no problem.  The problem arises when the stop time carries over past midnight.   I don't know how to get it to tell me that from 23:00 to 01:00 = 2 hours.





Any ideas?

 
1/25/2013 1:42:42 PM EDT
[#1]
Excel confuses the hell out of me.  I had to do a simple graph earlier today and it took me 30 minutes.

So basically, OST.
1/25/2013 1:44:14 PM EDT
[#2]
taggzors
1/25/2013 1:45:02 PM EDT
[#3]
Format the cells so that they are "time" by going to the "number" tab??? 24 hour time is available
1/25/2013 1:52:15 PM EDT
[#4]
Assuming dates in cells A1 and B1:

=A1-B1



format the cell as custom: [h]:mm:ss;@
 
1/25/2013 1:56:19 PM EDT
[#5]
You can also use the TIME() function.
1/25/2013 1:56:59 PM EDT
[#6]
FUCK EXCELL!!!!!
1/25/2013 2:01:15 PM EDT
[#7]
For the hijack: Does anyone know how to use the search function in an Excell spreadsheet to look for things like 8-32, 10-32, etc without it automatically converting the numbers to dates? I created a sheet of different hardware that we stock at work and I can't search it for 10-32 because it converts it to October 1932.
1/25/2013 2:07:29 PM EDT
[#8]




Quoted:

For the hijack: Does anyone know how to use the search function in an Excell spreadsheet to look for things like 8-32, 10-32, etc without it automatically converting the numbers to dates? I created a sheet of different hardware that we stock at work and I can't search it for 10-32 because it converts it to October 1932.


Format those cells as 'text'.

1/25/2013 2:14:42 PM EDT
[#9]
Quoted:

Quoted:
For the hijack: Does anyone know how to use the search function in an Excell spreadsheet to look for things like 8-32, 10-32, etc without it automatically converting the numbers to dates? I created a sheet of different hardware that we stock at work and I can't search it for 10-32 because it converts it to October 1932.

Format those cells as 'text'.


I did. They show up as 10-32, 8-32, etc. It is when I try to use type something like that into search function that it refuses to cooperate. It comes back with "October 1932 not found" or something like that.
1/25/2013 3:50:11 PM EDT
[#10]





Quoted:



Assuming dates in cells A1 and B1:


=A1-B1





format the cell as custom: [h]:mm:ss;@  



I did this but it won't work for me when the time carries over past midnight.  But actually it would be =B1-A1





 
1/25/2013 3:58:47 PM EDT
[#11]
Quoted:
Assuming dates in cells A1 and B1:
=A1-B1

format the cell as custom: [h]:mm:ss;@  


Without having a pc in front of me to validate, this sounds right...or very close.
1/25/2013 5:06:27 PM EDT
[#12]



Quoted:



Quoted:

Assuming dates in cells A1 and B1:

=A1-B1



format the cell as custom: [h]:mm:ss;@  




Without having a pc in front of me to validate, this sounds right...or very close.
Close but not quite there...





 
1/25/2013 5:11:55 PM EDT
[#13]
Quoted:

Quoted:
Assuming dates in cells A1 and B1:
=A1-B1

format the cell as custom: [h]:mm:ss;@  

I did this but it won't work for me when the time carries over past midnight.
 


I'd use an IF statement so that if the result is negative to add 24 hours.