Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2014, 10:21 PM
dharani suresh dharani suresh is offline Vba macro code for grouping the data based on 2 hours time Windows 7 32bit Vba macro code for grouping the data based on 2 hours time Office 2007
Novice
Vba macro code for grouping the data based on 2 hours time
 
Join Date: Apr 2014
Posts: 3
dharani suresh is on a distinguished road
Default Vba macro code for grouping the data based on 2 hours time

VBA MACRO CODE FOR GROUPING THE DATA BASED ON 2 HOURS TIME...


Hello Experts,

I need a VBA macro code to get the output like in the excel file which I have attached with this thread. Which means, I need to group the data for every two hours. in the output I need all 4 cols namely A, B, C, D along with extra col namely, interval based on which I need these groupings to be done..

I did manually for your kind reference and easy understanding... please find the attachment.... in the excel sheet I have explained still more clearly, please refer that...

A kind request, the code has to be really flexible so that it works for all dates and times in the files. because like this I have to do for 2000 files.....
I hope I am clear and I am not confusing you experts and also I hope for experts like you this code will be easier to write...
for further clarification, I am very much ready to answer you...

Looking forward for the positive reply..... please do the needful...
Thank you,

With kind regards,
Dharani.
Attached Files
File Type: xlsx plant area.xlsx (40.0 KB, 11 views)
Reply With Quote
  #2  
Old 04-28-2014, 01:27 AM
macropod's Avatar
macropod macropod is offline Vba macro code for grouping the data based on 2 hours time Windows 7 32bit Vba macro code for grouping the data based on 2 hours time Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Cross-posted at: http://windowssecrets.com/forums/sho...hlight=Dharani
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184

Also, when posting Excel topics, please use the appropriate Excel forum, not one of the Word forums.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-28-2014, 01:41 AM
dharani suresh dharani suresh is offline Vba macro code for grouping the data based on 2 hours time Windows 7 32bit Vba macro code for grouping the data based on 2 hours time Office 2007
Novice
Vba macro code for grouping the data based on 2 hours time
 
Join Date: Apr 2014
Posts: 3
dharani suresh is on a distinguished road
Default

How to remove this post?
Reply With Quote
  #4  
Old 04-28-2014, 01:50 AM
macropod's Avatar
macropod macropod is offline Vba macro code for grouping the data based on 2 hours time Windows 7 32bit Vba macro code for grouping the data based on 2 hours time Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I have already moved it to the correct forum, so there is no need to delete.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 04-29-2014, 12:42 AM
dharani suresh dharani suresh is offline Vba macro code for grouping the data based on 2 hours time Windows 7 32bit Vba macro code for grouping the data based on 2 hours time Office 2007
Novice
Vba macro code for grouping the data based on 2 hours time
 
Join Date: Apr 2014
Posts: 3
dharani suresh is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
I have already moved it to the correct forum, so there is no need to delete.
so nice of you admin... thank you... now i got answer for this thread.. how i will mark this thread as a solved one... and can you please tell me, to which forum you moved this thread??? so that i will close this thread... i should not waste others time thats y...

Thank you...
Dharani...
Reply With Quote
  #6  
Old 04-29-2014, 03:25 AM
macropod's Avatar
macropod macropod is offline Vba macro code for grouping the data based on 2 hours time Windows 7 32bit Vba macro code for grouping the data based on 2 hours time Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

There is a option for marking threads as solved on the 'Thread Tools' dropdown at the top of the thread. I've done that for you.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vba macro code for grouping the data based on 2 hours time Pivot table grouping problem 2 tables need different grouping differentdrummer Excel 3 12-10-2013 01:19 AM
Calculations based off of unsorted data custermd Excel 1 05-04-2012 08:12 AM
Modify vba code to print based on name in the InputBox OTPM Project 0 05-25-2011 02:03 AM
Vba macro code for grouping the data based on 2 hours time field value based on time of day akraw Word 3 03-26-2011 08:29 PM
Vba macro code for grouping the data based on 2 hours time Date and time calcs excluding non-working hours mrsatchmo Excel 1 01-26-2011 08:50 AM

Other Forums: Access Forums

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


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