Excel With VBA

Status
Not open for further replies.

poonamkvp

New Member
Joined
Feb 19, 2014
Messages
2
I have 24 hours Road Survey Data in different direction and different Vehicles and these datas at 15 min intervals and these datas are in excel sheet . I want to sum each hour's values eg. (07.00-07.15),(07.15-07.30),(07.30-07-45),(07.45-08.00) I want to add values for these time periods.Then I want to proceed and add all values for the next hour, i.e. between 07.00 and 08.00, and i need Peak Hour Value,Total Hours and Pie & Line chart .
I need these calculations are using vba programming.For example, THIS IS MY DATA FORMAT
timecartwowheelerautom.busbus3wgoodslcvhcvmavcyclec.ricksawothersT.P.VT.G.VT.S.VT.VT.V(PCU)
7.00-7.1578935455120840
7.15-7.3012681514161389526
7.30-7.456238795612323
7.45-8.007218172523227615712
8.00-8.15429687126834
8.15-8.3078945515424522
8.30-8.457894561236974
8.45-9.00141516171819121314151914
up to
text day
morning
5.00-5.151425141414481719814
5.15-5.301214151718189161412151877
5.30-5.451223456789141
5.45-6.0014528697145896
6.00-6.15121417181916151213111417
6.15-6.30545849422678768946434758
6.30-6.451213141515614171819141516
6.45-7.00121314141414141414141414

<tbody>
</tbody>
T.P.V=Total Passenger Vehicles(sum of car+t.w+auto+minibus+bus)
T.G.V=Total Goods Vehicles (sum of 3w Goods+lcv+hcv+mav)
T.S.V=Total Slow Moving Vehicles(cycle+cycleRickshaw+others)

T.V=Total Vehicles(sum of T.P.V+T.G.V+T.S.V)

Every Direction has like this .Can anyone please help?Because i am new for VBA.Thanks
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Status
Not open for further replies.

Forum statistics

Threads
1,215,217
Messages
6,123,673
Members
449,116
Latest member
HypnoFant

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top