Link to home
Start Free TrialLog in
Avatar of Ian Bell
Ian BellFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Convert date and time format

Hi,
Can someone please assist with two formulas to convert date and time from a cell with combined date and time
Please refer attached
Thanks
IanConvert time and date.xlsx
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

You may simply try...
=B14+C14

Open in new window

so you want to combine date and time to get a datetime?
ie, D = B+C?
Avatar of Ian Bell

ASKER

The opposite Neeraj. I want to extract date and time from column D and display as shown in B and C columns.
Thanks
try

B13: =TIME(HOUR(D13),MINUTE(D13),SECOND(D13))
C13: =DATE(YEAR(D13), MONTH(D13), DAY(D13))

I copied datetime to D13
ASKER CERTIFIED SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks guys for those formulas. I chose the one from Neeraj as so simple to satisfy my simple mind :)
You're welcome Ian!