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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,216,342
Messages
6,130,114
Members
449,558
Latest member
andyamcconnell

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