Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-06-2012, 07:23 PM
caholmes caholmes is offline Changing format of time data Windows Vista Changing format of time data Office 2007
Advanced Beginner
 
Join Date: Dec 2008
Location: Sydney, Australia
Posts: 54
caholmes is on a distinguished road
Default

Hi Sammael,

We need to split apart the time into its respective hour and minute components by using string functions and then join them back together again as a valid time. Lets just say we have the times in column A



Follow these steps:
  1. in a new column (I'll use column B) enter the following formula:
    =LEFT(A1,LEN(A1)-2)
    This will give you the hours.
  2. in another column (I'll use column C) enter the next formula:
    =RIGHT(A1,2)
    This will give you the minutes.
  3. in another column enter this formula to rejoin them back together again: =TIME(B1,C1,0)
  4. This gives us the time however we need to convert it from a formula to a value because this formula is dependant on the other 2 previous formulas created in steps 1 and 2.
    Select all of the new times and copy and paste as values either in another column of over the top of itself.
  5. Delete the formulas you create above leaving you with just the times
I hope this helps you out.
Reply With Quote
 

Tags
conversion, excel 2007, time



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing format of time data Excel 2007 and data in dd:hh:mm:ss format Sammael Excel 6 11-05-2011 06:52 AM
How to restore original data format - from a .pdf file to Excel columns KIM SOLIS Excel 1 09-18-2011 10:49 PM
Changing format of time data Font colour and format changing? Lamya Word 5 05-16-2011 02:35 AM
changing font size without changing leading carolns Word 1 09-14-2009 12:30 PM
Recurring Appointment randomly changing time rkryd03 Outlook 0 03-06-2007 10:25 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft