How to Convert a number to a Time value?

vane0326

Well-known Member
Joined
Aug 29, 2004
Messages
819
In Collumn (J3) I want to convert the number in I3 to a time value but it gives me a #VALUE! error. Why?

Any Ideas?

Thanks!
PERSONAL.XLS
BCDEFGHIJ
1
2Start TimeLunch StartLunch EndBreak StartBreak EndEnd TimeTotal
3John5.308.329.0210.0010.2014.007.80#VALUE!
4
5
Sheet1
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Thanks it Works!
PERSONAL.XLS
BCDEFGHIJ
1
2Start TimeLunch StartLunch EndBreak StartBreak EndEnd TimeTotal
3John5.308.329.0210.0010.2014.007.807:48
4
Sheet1
 
Upvote 0
I format the cells by 2 decimals in I3. Thats why it came out 7.80 I went back and changed the format by zero decimals.

Thanks!
 
Upvote 0
What I'm trying to suggest is that....

=IF(H3< C3,1+H3-C3,H3-C3)-IF(E3< D3,1+E3-D3,E3-D3)-IF(G3< F3,1+G3-F3,G3-F3)

...isn't correct. The correct answer is 7.66666
 
Upvote 0
Note: This is an array formula which must be entered using the Control+Shift+Enter key combination. The outermost braces, {}, are not entered by you -- they're supplied by Excel in recognition of a properly entered array formula. For more on this topic see the Excel help topic for "Create an array formula".
Book1
BCDEFGHIJ
1
2
35.38.329.021010.2147.666666667
4
5
Sheet1
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,900
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top