Weird Time Format

Sufiyan97

Well-known Member
Joined
Apr 12, 2019
Messages
1,614
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Below is a Time format I copied from our company's system in cell first cell B2 Time is 102 hours and 30 minutes which is correct but when I see in formula bar it is showing 1/4/1900 6:30:00 AM which is not correct

I want to extract hours and minutes like 102:30 (102 hours and 30 minutes) and then I want to convert into decimals like 102.5 for 102:30

Hours will remain same but

For example
15 Minutes = 0.25
30 Minutes = 0.5
45 Minutes = 0.75

Productive hours.xlsx
BC
1AmountExpected Result
2102:30:00102.5
375:00:0075
463:00:0063
5112:00:00
6132:00:00
746:00:00
854:05:00
9176:00:00
1066:20:00
1192:30:00
12120:56:00
13181:20:00
1449:00:00
15133:45:00
16171:00:00
17203:45:00
18125:15:00125.25
1988:50:00
20103:30:00
2141:30:00
22165:00:00
23174:55:00
2447:10:00
25204:00:00
2676:15:00
2795:05:00
2884:00:00
2917:45:00
3061:45:00
3186:55:00
3243:50:00
3336:00:00
3482:00:00
3557:00:00
3676:00:00
37119:00:00
38184:00:00
39206:00:00
40176:00:00
41168:00:00
4244:00:00
43184:00:00
44289:30:00
45142:10:00
4694:45:00
47138:25:00
4886:00:00
4947:30:00
5074:00:00
5123:00:00
5246:00:00
53154:00:00
54106:49:00
55200:00:00
56200:00:00
57192:00:00
58176:00:00
5972:30:00
60121:30:00
61124:00:00
62109:50:00
63191:15:00
64168:30:00
65184:05:00
66173:45:00
67120:00:00
68136:00:00
69168:30:00
70198:45:00
7126:30:00
72157:00:00
73143:00:00
74178:20:00
75148:45:00
76149:15:00
7789:00:00
78176:00:00
79168:00:00
80172:30:00
81120:00:00
8233:30:00
8338:40:00
84225:00:00
85217:00:00
86199:30:00
8727:00:00
8844:30:00
8992:30:00
9088:00:00
91115:30:00
92176:00:00
93152:00:00
94137:00:00
9596:58:00
9684:00:00
9782:00:00
9880:00:00
9954:00:00
10092:00:00
101110:30:00
102167:00:00
103120:00:00
104104:30:00
10532:25:00
106129:18:00
107104:00:00
10889:35:00
10944:40:00
11069:42:00
11177:04:00
112165:00:00
113192:00:00
114164:45:00
11573:00:00
11671:20:00
11736:00:00
118161:45:00
11970:00:00
120155:00:00
12189:00:00
12215:00:00
123170:00:00
12472:45:00
12564:00:00
12626:15:00
127179:30:00
12894:00:00
12967:45:00
130172:00:00
13197:09:00
132184:00:00
1334:46:00
13446:00:00
135107:12:00
13612:10:00
13778:00:00
138115:00:00
139105:00:00
140165:00:00
141159:50:00
142179:30:00
14374:45:00
144137:00:00
145204:00:00
146179:05:00
147156:25:00
14892:15:00
14911:30:00
15083:00:00
15146:00:00
152166:50:00
153162:15:00
15484:00:00
155176:00:00
156176:00:00
15744:00:00
158168:00:00
15984:00:00
16046:00:00
161164:15:00
162200:35:00
16396:00:00
16466:00:00
16546:00:00
166184:00:00
167184:30:00
168125:00:00
16997:00:00
170133:00:00
17163:00:00
172205:00:00
173176:00:00
17432:45:00
175124:00:00
176192:00:00
177200:00:00
178184:00:00
17939:30:00
180197:15:00
181121:45:00
182187:05:00
18391:45:00
184145:15:00
185147:00:00
186184:00:00
187162:15:00
188184:00:00
18930:30:00
19080:00:00
191160:00:00
192184:00:00
19315:05:00
194175:45:00
195171:50:00
196163:30:00
197176:45:00
198144:45:00
199177:30:00
20024:00:00
201166:50:00
202169:30:00
20389:45:00
20499:15:00
205182:05:00
20695:39:00
207184:00:00
20848:45:00
20978:30:00
21062:20:00
211175:45:00
21216:30:00
213132:00:00
21420:30:00
215236:00:00
216162:50:00
217119:15:00
218103:00:00
21945:40:00
220196:00:00
221136:00:00
222183:30:00
22332:00:00
22445:46:00
225158:30:00
22665:30:00
227175:00:00
228143:35:00
229196:00:00
230240:20:00
23142:00:00
232125:00:00
233172:00:00
23446:00:00
23546:00:00
236206:10:00
237113:00:00
23835:30:00
2398:45:00
24056:00:00
241178:45:00
242175:05:00
243171:35:00
244182:30:00
245236:00:00
246126:45:00
247174:40:00
24820:30:00
24981:00:00
25048:00:00
25187:45:00
25257:45:00
253150:00:00
2548:00:00
255216:30:00
25690:00:00
25746:00:00
25872:00:00
259144:45:00
26030:00:00
261202:00:00
262138:55:00
26338:30:00
2642:30:00
26592:00:00
26620:30:00
2676:00:00
26876:00:00
269129:00:00
270183:00:00
271201:30:00
27260:00:00
273124:00:00
27482:00:00
275139:00:00
276135:30:00
277151:30:00
27848:00:00
279156:00:00
280180:35:00
281187:00:00
282185:15:00
28392:00:00
284156:03:00
285196:05:00
286173:45:00
28719:30:00
28875:45:00
28984:00:00
29043:10:00
29157:00:00
29294:25:00
293171:00:00
294157:30:00
295162:00:00
29610:00:00
29755:32:00
29885:30:00
299184:00:00
300115:45:00
30158:40:00
302136:30:00
30381:45:00
304184:00:00
305180:00:00
306176:00:00
307240:00:00
308184:00:00
309118:30:00
310115:45:00
31116:00:00
31292:00:00
31376:30:00
31420:33:00
315175:00:00
316180:00:00
317192:30:00
31843:15:00
319138:00:00
32076:00:00
321200:00:00
32292:00:00
323184:00:00
324183:30:00
325125:00:00
32680:20:00
32792:30:00
328124:45:00
329194:15:00
330168:00:00
331112:30:00
33219:00:00
33320:00:00
33410:00:00
33516:30:00
33624:00:00
33729:33:00
3382:05:00
33960:30:00
340160:10:00
341177:00:00
34266:30:00
34372:00:00
344136:00:00
34588:00:00
34646:00:00
347169:00:00
348175:45:00
349152:05:00
350144:00:00
351109:50:00
35293:40:00
353184:00:00
354184:00:00
355111:45:00
35688:00:00
357194:00:00
35888:45:00
35984:00:00
36067:30:00
36152:00:00
36289:00:00
363174:00:00
36459:15:00
365137:50:00
36685:30:00
367227:35:00
368176:00:00
36922:15:00
370154:10:00
37156:30:00
372198:00:00
373199:00:00
37411:00:00
37592:00:00
376118:30:00
377109:00:00
378115:15:00
37980:00:00
380176:00:00
38177:20:00
38287:20:00
38365:30:00
38488:30:00
385142:15:00
386123:15:00
387198:00:00
38880:45:00
38988:00:00
390184:00:00
39125:00:00
392144:00:00
39336:00:00
394175:30:00
395115:00:00
39653:45:00
397176:00:00
398196:00:00
399195:15:00
40062:50:00
40186:10:00
40226:50:00
403125:00:00
404109:30:00
40556:25:00
406101:30:00
407184:00:00
40833:00:00
40975:00:00
41047:00:00
41144:00:00
412176:00:00
413184:00:00
414176:00:00
415141:35:00
416167:40:00
417112:00:00
418151:00:00
41983:00:00
420139:30:00
421124:40:00
42252:50:00
42363:30:00
42444:08:00
42556:00:00
426138:00:00
42766:10:00
42842:10:00
429141:05:00
430133:30:00
4311:49:00
4323:00:00
43345:20:00
43489:30:00
43575:10:00
43682:44:00
4378:30:00
43811:30:00
439110:00:00
44039:00:00
44152:00:00
44262:55:00
44362:10:00
4441:00:00
445184:00:00
446184:00:00
44772:00:00
44892:00:00
4499:45:00
45018:15:00
451144:40:00
4528:30:00
453178:30:00
454176:30:00
455160:40:00
456184:00:00
457184:00:00
458142:00:00
459154:00:00
460168:00:00
46139:00:00
462112:00:00
463174:00:00
464147:00:00
46559:30:00
466136:20:00
46784:30:00
468134:00:00
46975:30:00
470138:00:00
471170:30:00
472174:00:00
47378:45:00
474106:00:00
47532:30:00
47618:59:00
47757:30:00
478176:30:00
47915:55:00
48025:40:00
481125:05:00
482111:46:00
48377:00:00
484110:30:00
48525:30:00
48679:15:00
48746:15:00
488184:00:00
489173:30:00
490151:00:00
491181:30:00
492181:00:00
493127:00:00
494130:30:00
495176:00:00
496182:15:00
497184:00:00
498179:15:00
49991:00:00
50083:50:00
501140:30:00
502194:00:00
503176:00:00
50492:00:00
505103:15:00
506142:30:00
50718:20:00
50849:30:00
50971:00:00
51029:00:00
511103:55:00
51271:59:00
513174:00:00
514184:00:00
515138:00:00
516281:30:00
517156:55:00
518184:00:00
519154:30:00
520136:38:00
52112:45:00
52245:00:00
523192:00:00
524176:00:00
525176:00:00
Sheet1
 
Last edited:

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
but can you please explain how to round the time? up and down?

What did you try?

Check Help ceiling, floor, and/or mround
I did not tried anything because I don't know about these formulas.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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