+ Reply to Thread
Results 1 to 4 of 4

Formula to assist in creation of 24/7 profile of visitor on site duration

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Staffordshire
    MS-Off Ver
    Excel 2010
    Posts
    31

    Formula to assist in creation of 24/7 profile of visitor on site duration

    I have been asked to do some analysis of visitors to specific sites and how long they spend at each site.

    I have a list which contains the site they visited, the date and time of arrival as well as departure.

    I would like to build a profile that shows the weekday and hour that they arrive and then populates each hour of the day that the individual remained on site.

    The list looks like the below:
    Site Arrival hr Departure hr
    1 Smith St 21/07/2017 10:29 21/07/2017 12:41 5 10 5 12
    2 George St 31/07/2017 10:16 31/07/2017 15:55 1 10 5 12
    3 Smith St 12/02/2017 23:00 13/02/2017 07:45 7 23 6 07
    4 Green Road 14/02/2017 15:57 14/02/2017 23:45 2 15 2 23
    5 Green Road 07/03/2017 10:28 07/03/2017 14:48 2 10 2 14

    The four final columns I have created identify the weekday and hour in which the person arrives and departs

    To put it simply, if they arrived at Monday at 00:23 and left at 04:00 I would like a formula that will then populate the 5 hour time slots that person was on site with a 1

    Monday
    00:00 01:00 02:00 03:00 04:00
    1 1 1 1 1

    Can anybody help please? I can get the formula to populate the day and hour of arrival, however my issue arises with populating the hours after, especially when the duration of the stay on site goes over in to the next day...

    Any assistance very, very gratefully received

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Formula to assist in creation of 24/7 profile of visitor on site duration

    its not too difficult, but problems can arise depending how you have typed the values

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    08-13-2013
    Location
    Staffordshire
    MS-Off Ver
    Excel 2010
    Posts
    31
    Hope this works!
    Attached Files Attached Files

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Formula to assist in creation of 24/7 profile of visitor on site duration

    First fill all the day in row 1 then

    Try
    L6
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy across.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

+ 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: 10-30-2016, 12:21 PM
  2. Have start-stop times & duration, need sub-duration based on range criteria
    By CathTyner in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-23-2016, 01:53 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. PLease assist with a formula
    By nightcrawler-jay in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-22-2010, 03:56 AM
  5. Formula Assist
    By [email protected] in forum Excel General
    Replies: 3
    Last Post: 06-06-2006, 07:37 PM
  6. If formula- hoping someone can assist
    By Ntisch in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 07-26-2005, 06:05 PM

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