» 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:
- Wall Street Journal Guide to Understanding Money and Investing
- Seven Habits Of Highly Effective People
- Absolute Beginner's Guide to Microsoft Office Excel 2003
- Managing by the Numbers: A Commonsense Guide to Understanding and Using Your Company's Financials: An Essential Resource for Growing Businesses
- Understanding Financial Statements
- Learn MS Excel 2002 VBA/XML Programming
No comments have been submitted.

