Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-27-2014, 12:23 AM
Nisio07 Nisio07 is offline Macro to format unpredictable data Windows 7 64bit Macro to format unpredictable data Office 2007
Novice
Macro to format unpredictable data
 
Join Date: Sep 2014
Posts: 21
Nisio07 is on a distinguished road
Default Macro to format unpredictable data

I have attached a sample file of data I download on a weekly basis. It generated total time spent by various students. Unfortunately, the time is unpredictable. All fields come trailing with the words "hours or "minutes". These can be easily removed but it what them happens which is nuts! the time can be formatted as mm:ss, hh:mm:ss or yy dd mm hh:mm:ss. If you view the attached you will see more clearly. (Column C is a simple value paste of column b with the word " minutes" removed)



Is there any macro that will cater for all these possible formats and just give me a column contain the time value in minutes? BTW, there really is no way of altering the format of the incoming data. I wish to rank students in time spent so this need the time data in comparable, numeric format.

Any help greatly appreciated.

Regards

Nisio
Attached Files
File Type: xlsx msof query.xlsx (8.4 KB, 12 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to format unpredictable data Mailmerge Data Format tombradley Mail Merge 1 09-29-2013 07:35 PM
Macro to format unpredictable data How to format WORD data using edit field? Azuki Mail Merge 2 04-01-2013 06:08 PM
Macro to format unpredictable data macro to format this ubns Word 3 04-24-2012 11:44 PM
Changing format of time data Sammael Excel 2 04-08-2012 12:13 PM
Macro to format unpredictable data Excel 2007 and data in dd:hh:mm:ss format Sammael Excel 6 11-05-2011 06:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:55 AM.


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