+ Reply to Thread
Results 1 to 6 of 6

Duration of Parked Vehicles

  1. #1
    Registered User
    Join Date
    10-04-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Duration of Parked Vehicles

    Hello!!

    I want to find the duration of vehicles in the parking lot.
    Data set is as follows:
    From: From survey time
    To: To survey Time
    Car No. Is licence plate number

    Survey was done for every 15 min period (random 15 min Periods) which says if the vehicle was present at the time or not.
    Sample data presented here is also mixture of different parking location.

    How do i find the parking duration of the vehicle.
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Duration of Parked Vehicles

    1) create a list of unique licenceplate numbers (you could use advanced filter for this) - for instance starting in F1
    2) in G2 write array formula*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and format this cell as time
    3) copy this cell down

    *) ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Best Regards,

    Kaper

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,655

    Re: Duration of Parked Vehicles

    Can you give desired results?
    Quang PT

  4. #4
    Registered User
    Join Date
    10-04-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Re: Duration of Parked Vehicles

    Thank you. This will work. Thanks a lot.

  5. #5
    Registered User
    Join Date
    10-04-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    6

    Re: Duration of Parked Vehicles

    Can I have a macro to create unique licenceplate number.
    As i have lot of sheets for different parking plots i will have to open every excel file and do this exercise.

  6. #6
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: Duration of Parked Vehicles

    Sure, you can.
    You can start with registering macro.
    If you do it smart way and store in your personal macros file it can be ready (or almost ready to reuse in other files)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 03-13-2015, 04:04 AM
  2. Percentage of vehicles speeding?
    By Smudge.Smith in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2013, 07:19 AM
  3. [SOLVED] Formula: To calculate duration between two times, if duration is over 6hours subtract 30mi
    By MattBarnes7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2013, 03:22 PM
  4. Allocating vehicles to times
    By tessda in forum Excel General
    Replies: 2
    Last Post: 10-15-2008, 05:52 PM
  5. Formula Help: Vehicles On Railcars
    By meyerstc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-11-2006, 01:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1