» Separating Dates and Times
CATEGORY - Excel Date & Time Formulas
VERSION - All Microsoft Excel Versions
The values in column A are combined dates and times.
We want to create two new columns of data: one containing the date and the other containing the time.
Solution:
To extract dates, use the INT function as shown in the following formula:
=INT(A2)
Enter the above formula in column B and format as "mm/dd/yyyy".
To extract times, use the MOD function as shown in the following formula:
=MOD(A2,1)
Enter the above formula in column C and format as "h:mm".
Book Store:
Recommended Books:
- 422 Tax Deductions for Businesses and Self-Employed Individuals : You Get a Raise Every Time You Find a Legitimate Tax Deduction
- East of Eden (Oprah's Book Club)
- Windows XP Pocket Reference
- Business Plans For Dummies®
- Advanced modelling in finance using Excel and VBA
- Real Estate Loopholes: Secrets of Successful Real Estate Investing
No comments have been submitted.

