English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm using Excel. A1=14:20pm, B1=9:45am. I would like to know what would be the formula to put in cell C1 to get the answer 19 hrs 25 min. (It has to be shown as 19:25). I've been trying " =sum(b1-a1)" but that's not correct and that's the extent of my formula writing knowledge. I could really use the help!

2006-10-09 14:42:36 · 5 answers · asked by musicbuff 1 in Education & Reference Other - Education

5 answers

You need to include the actual dates in the cells when you enter the data. Excel displays negative time values as ############. To avoid this you need the dates in the value.

The dates don't need to show though. Just choose a format for the cells that show the times only. The format that will give you 19:25 is h:mm.

Oh yeah, the formula would just be =B1-A1.

2006-10-10 01:59:10 · answer #1 · answered by O Caçador 6 · 1 0

If no one can help you here then I highly recommend mrexcel.com, the people on that forum are superb.

I don't quite understand the question. So is the goal that the outcome look like this in one cell?
"19 hrs 25 min" or would you like that in two cells split up?

2006-10-09 14:59:20 · answer #2 · answered by Ladida 4 · 0 0

enter your value required to be converted in cellular A1 (formatted as text cloth or enter as such '2:40 seven) In cellular B1 enter here (all one line pls as YA breaks formulation) =value(LEFT(A1,seek(":",A1) -a million)*60+(MID(A1,seek(":",A1) +a million,2))) answer comes back in seconds (excuse the pun). Will convert any style of minutes wisely yet no longer if entered as hours, minutes and seconds. HTH

2016-12-08 11:49:44 · answer #3 · answered by goslin 4 · 0 0

It is in the same day, right?
If so, use this function:
=LEFT( TEXT( A1- B1,"hh:mm"), SEARCH( ":", TEXT( A1- B1,"hh:mm" ),1) -1) + ( VALUE( MID( TEXT( A1- B1,"hh:mm" ),SEARCH( ":", TEXT( A1- B1 ,"hh:mm"),1)+1 ,2)))/ 60

It is complicated, but it is working as you asked, I wrote this function long time ago, I think I can enhance it now

Any way
If you have it in differant dates, or have more questions,
mail me here

Read my profile, I am the XLMan

2006-10-11 00:37:47 · answer #4 · answered by Anonymous · 0 1

just right click the cell and click format cells then go to time. and set the time.

2006-10-09 14:49:06 · answer #5 · answered by happylittletoes 6 · 0 0

fedest.com, questions and answers