Time Format solution required

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,215
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
How to get E2 & F2?

E2=B2-C2 (C2 is in minutes)
F2=E2+D2 (D2 is in minutes)

B2 is in MM/DD/YY format.

Sheet1

BCDEF
26/11/15 9:30 AM1546/11/15 9:15 AM6/11/15 9:19 AM

<colgroup><col style="FONT-WEIGHT: bold; WIDTH: 30px"><col style="WIDTH: 108px"><col style="WIDTH: 45px"><col style="WIDTH: 44px"><col style="WIDTH: 108px"><col style="WIDTH: 108px"></colgroup><tbody>
</tbody>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Row\Col
B​
C​
D​
E​
F​
2​
06/11/2015 09:30​
15​
4​
06/11/2015 09:15​
06/11/2015 09:19​
3​
E2: =B2 - C2/1440F2: =E2 + D2/1440
 
Upvote 0
3​
E2: =B2 - C2/1440F2: =E2 + D2/1440

<tbody>
</tbody>
[/QUOTE]

It WORKS. Please tell what is/why used 1440?
 
Upvote 0
In Excel serial date/time values, whole numbers are dates starting from 1/0/1900, and fractions are times.

1440 is the number of minutes in a day.
 
Upvote 0

Forum statistics

Threads
1,216,119
Messages
6,128,947
Members
449,480
Latest member
yesitisasport

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