Hi,
I've just registered for Mr excel forum because I need to find a way to sum a certain Range depending on the value of the date (multiple value for the same date). In other term, I want to sum every minute together and every hour together.
What I want is help with the VBA code that would help me do that and here is an example of what I want :
___A __ B __C __D
1 12:00 _3 __24 _64
2 12:00 _7 __24 _ 64
3 12:00 _14 _24 _ 64
4 12:01 _20 _40 _ 64
5 12:01 _15 _40 _64
6 12:01 _ 5 _40 _ 64
So if we consider A and B to be our Data, I would want C to be an aggregation by the minute and D an aggregation by the hour (considering I have only 2 minute in the hour).
I Know I'm not being very clear on the detail, but I hope you can help me.
By the way, I'm using Excel 2007 with Visual Basic for my macros.
Anything you can give me to achieve my goal? advice, code, existing fonction?
appreciated,
Zaron
I've just registered for Mr excel forum because I need to find a way to sum a certain Range depending on the value of the date (multiple value for the same date). In other term, I want to sum every minute together and every hour together.
What I want is help with the VBA code that would help me do that and here is an example of what I want :
___A __ B __C __D
1 12:00 _3 __24 _64
2 12:00 _7 __24 _ 64
3 12:00 _14 _24 _ 64
4 12:01 _20 _40 _ 64
5 12:01 _15 _40 _64
6 12:01 _ 5 _40 _ 64
So if we consider A and B to be our Data, I would want C to be an aggregation by the minute and D an aggregation by the hour (considering I have only 2 minute in the hour).
I Know I'm not being very clear on the detail, but I hope you can help me.
By the way, I'm using Excel 2007 with Visual Basic for my macros.
Anything you can give me to achieve my goal? advice, code, existing fonction?
appreciated,
Zaron