Car Park Occupancy rate

Jampa

New Member
Joined
May 21, 2018
Messages
3
Hello Everyone,

Could some genius please help me with formula or ways to find a daily occupancy rate of car park in hourly bases based on transaction of “Date Time IN” and “Date Time OUT”. ?

Below are the actual sample of transaction we receive.

Note: Drivers can park for more than a day as well.

[TABLE="class: grid, width: 610"]
<tbody>[TR]
[TD]Session Start[/TD]
[TD]Session End[/TD]
[TD]Duration (in Mins)[/TD]
[TD]VRN[/TD]
[TD]Car Park[/TD]
[/TR]
[TR]
[TD]01/04/2018 04:22[/TD]
[TD]01/04/2018 17:59[/TD]
[TD]817[/TD]
[TD]****UXZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 05:18[/TD]
[TD]01/04/2018 17:59[/TD]
[TD]761[/TD]
[TD]****OXZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 05:53[/TD]
[TD]01/04/2018 17:59[/TD]
[TD]726[/TD]
[TD]****PTZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 06:03[/TD]
[TD]01/04/2018 17:59[/TD]
[TD]716[/TD]
[TD]****MGZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 06:15[/TD]
[TD]01/04/2018 17:59[/TD]
[TD]704[/TD]
[TD]****LBZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 06:53[/TD]
[TD]01/04/2018 11:00[/TD]
[TD]247[/TD]
[TD]****SKZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 06:57[/TD]
[TD]01/04/2018 15:00[/TD]
[TD]483[/TD]
[TD]****FBZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 07:03[/TD]
[TD]01/04/2018 17:59[/TD]
[TD]656[/TD]
[TD]****KDZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 07:10[/TD]
[TD]01/04/2018 17:59[/TD]
[TD]649[/TD]
[TD]****EHZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 20:40[/TD]
[TD]02/05/2018 18:59[/TD]
[TD]1339[/TD]
[TD]****ZHZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 20:44[/TD]
[TD]02/05/2018 18:59[/TD]
[TD]1335[/TD]
[TD]****JMZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
[TR]
[TD]01/04/2018 21:14[/TD]
[TD]02/05/2018 16:59[/TD]
[TD]1185[/TD]
[TD]****FFZ[/TD]
[TD]Car Park 1[/TD]
[/TR]
</tbody>[/TABLE]

Below is the table that would be in a different sheet and I need the data in column D (No of car in the car park) using formula/function based on above transactions.
[TABLE="class: grid, width: 625"]
<tbody>[TR]
[TD]Date[/TD]
[TD="colspan: 2"]Time Period[/TD]
[TD]No of car in car park [/TD]
[TD]Total space[/TD]
[TD]space available[/TD]
[TD]Occupancy rate in %[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]00:00[/TD]
[TD]00:59[/TD]
[TD]0[/TD]
[TD]100[/TD]
[TD]100[/TD]
[TD]0%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]01:00[/TD]
[TD]01:59[/TD]
[TD]1[/TD]
[TD]100[/TD]
[TD]99[/TD]
[TD]1%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]02:00[/TD]
[TD]02:59[/TD]
[TD]2[/TD]
[TD]100[/TD]
[TD]98[/TD]
[TD]2%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]03:00[/TD]
[TD]03:59[/TD]
[TD]3[/TD]
[TD]100[/TD]
[TD]97[/TD]
[TD]3%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]04:00[/TD]
[TD]04:59[/TD]
[TD]4[/TD]
[TD]100[/TD]
[TD]96[/TD]
[TD]4%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]05:00[/TD]
[TD]05:59[/TD]
[TD]5[/TD]
[TD]100[/TD]
[TD]95[/TD]
[TD]5%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]06:00[/TD]
[TD]06:59[/TD]
[TD]6[/TD]
[TD]100[/TD]
[TD]94[/TD]
[TD]6%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]07:00[/TD]
[TD]07:59[/TD]
[TD]7[/TD]
[TD]100[/TD]
[TD]93[/TD]
[TD]7%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]08:00[/TD]
[TD]08:59[/TD]
[TD]8[/TD]
[TD]100[/TD]
[TD]92[/TD]
[TD]8%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]09:00[/TD]
[TD]09:59[/TD]
[TD]9[/TD]
[TD]100[/TD]
[TD]91[/TD]
[TD]9%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]10:00[/TD]
[TD]10:59[/TD]
[TD]10[/TD]
[TD]100[/TD]
[TD]90[/TD]
[TD]10%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]11:00[/TD]
[TD]11:59[/TD]
[TD]11[/TD]
[TD]100[/TD]
[TD]89[/TD]
[TD]11%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]12:00[/TD]
[TD]12:59[/TD]
[TD]12[/TD]
[TD]100[/TD]
[TD]88[/TD]
[TD]12%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]13:00[/TD]
[TD]13:59[/TD]
[TD]13[/TD]
[TD]100[/TD]
[TD]87[/TD]
[TD]13%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]14:00[/TD]
[TD]14:59[/TD]
[TD]14[/TD]
[TD]100[/TD]
[TD]86[/TD]
[TD]14%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]15:00[/TD]
[TD]15:59[/TD]
[TD]15[/TD]
[TD]100[/TD]
[TD]85[/TD]
[TD]15%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]16:00[/TD]
[TD]16:59[/TD]
[TD]16[/TD]
[TD]100[/TD]
[TD]84[/TD]
[TD]16%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]17:00[/TD]
[TD]17:59[/TD]
[TD]17[/TD]
[TD]100[/TD]
[TD]83[/TD]
[TD]17%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]18:00[/TD]
[TD]18:59[/TD]
[TD]18[/TD]
[TD]100[/TD]
[TD]82[/TD]
[TD]18%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]19:00[/TD]
[TD]19:59[/TD]
[TD]19[/TD]
[TD]100[/TD]
[TD]81[/TD]
[TD]19%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]20:00[/TD]
[TD]20:59[/TD]
[TD]20[/TD]
[TD]100[/TD]
[TD]80[/TD]
[TD]20%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]21:00[/TD]
[TD]21:59[/TD]
[TD]21[/TD]
[TD]100[/TD]
[TD]79[/TD]
[TD]21%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]22:00[/TD]
[TD]22:59[/TD]
[TD]22[/TD]
[TD]100[/TD]
[TD]78[/TD]
[TD]22%[/TD]
[/TR]
[TR]
[TD]01/04/2018[/TD]
[TD]23:00[/TD]
[TD]23:59[/TD]
[TD]23[/TD]
[TD]100[/TD]
[TD]77[/TD]
[TD]23%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]00:00[/TD]
[TD]00:59[/TD]
[TD]24[/TD]
[TD]100[/TD]
[TD]76[/TD]
[TD]24%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]01:00[/TD]
[TD]01:59[/TD]
[TD]25[/TD]
[TD]100[/TD]
[TD]75[/TD]
[TD]25%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]02:00[/TD]
[TD]02:59[/TD]
[TD]26[/TD]
[TD]100[/TD]
[TD]74[/TD]
[TD]26%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]03:00[/TD]
[TD]03:59[/TD]
[TD]27[/TD]
[TD]100[/TD]
[TD]73[/TD]
[TD]27%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]04:00[/TD]
[TD]04:59[/TD]
[TD]28[/TD]
[TD]100[/TD]
[TD]72[/TD]
[TD]28%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]05:00[/TD]
[TD]05:59[/TD]
[TD]29[/TD]
[TD]100[/TD]
[TD]71[/TD]
[TD]29%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]06:00[/TD]
[TD]06:59[/TD]
[TD]30[/TD]
[TD]100[/TD]
[TD]70[/TD]
[TD]30%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]07:00[/TD]
[TD]07:59[/TD]
[TD]31[/TD]
[TD]100[/TD]
[TD]69[/TD]
[TD]31%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]08:00[/TD]
[TD]08:59[/TD]
[TD]32[/TD]
[TD]100[/TD]
[TD]68[/TD]
[TD]32%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]09:00[/TD]
[TD]09:59[/TD]
[TD]33[/TD]
[TD]100[/TD]
[TD]67[/TD]
[TD]33%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]10:00[/TD]
[TD]10:59[/TD]
[TD]34[/TD]
[TD]100[/TD]
[TD]66[/TD]
[TD]34%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]11:00[/TD]
[TD]11:59[/TD]
[TD]35[/TD]
[TD]100[/TD]
[TD]65[/TD]
[TD]35%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]12:00[/TD]
[TD]12:59[/TD]
[TD]36[/TD]
[TD]100[/TD]
[TD]64[/TD]
[TD]36%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]13:00[/TD]
[TD]13:59[/TD]
[TD]37[/TD]
[TD]100[/TD]
[TD]63[/TD]
[TD]37%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]14:00[/TD]
[TD]14:59[/TD]
[TD]38[/TD]
[TD]100[/TD]
[TD]62[/TD]
[TD]38%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]15:00[/TD]
[TD]15:59[/TD]
[TD]39[/TD]
[TD]100[/TD]
[TD]61[/TD]
[TD]39%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]16:00[/TD]
[TD]16:59[/TD]
[TD]40[/TD]
[TD]100[/TD]
[TD]60[/TD]
[TD]40%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]17:00[/TD]
[TD]17:59[/TD]
[TD]41[/TD]
[TD]100[/TD]
[TD]59[/TD]
[TD]41%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]18:00[/TD]
[TD]18:59[/TD]
[TD]42[/TD]
[TD]100[/TD]
[TD]58[/TD]
[TD]42%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]19:00[/TD]
[TD]19:59[/TD]
[TD]43[/TD]
[TD]100[/TD]
[TD]57[/TD]
[TD]43%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]20:00[/TD]
[TD]20:59[/TD]
[TD]44[/TD]
[TD]100[/TD]
[TD]56[/TD]
[TD]44%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]21:00[/TD]
[TD]21:59[/TD]
[TD]45[/TD]
[TD]100[/TD]
[TD]55[/TD]
[TD]45%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]22:00[/TD]
[TD]22:59[/TD]
[TD]46[/TD]
[TD]100[/TD]
[TD]54[/TD]
[TD]46%[/TD]
[/TR]
[TR]
[TD]02/04/2018[/TD]
[TD]23:00[/TD]
[TD]23:59[/TD]
[TD]47[/TD]
[TD]100[/TD]
[TD]53[/TD]
[TD]47%[/TD]
[/TR]
</tbody>[/TABLE]

I hope I have explained it clearly above, if there is anything that doesn’t make sense or not clear enough, please can you let me know, so I can try give more details.

Many thanks in advance for your time and help.

Much appreciated :):):)
 
Re: How to calculate Car Park Occupancy rate - Help !!!

Id use what i had originally and then if i needed more detail id merely use more times. Instead of 0:00, 1:00 etc use 0:00, 0:01 etc. They could then be used as an average if interval was rearly required such as making a graphical representation.
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,223,908
Messages
6,175,304
Members
452,633
Latest member
DougMo

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