+ Reply to Thread
Results 1 to 9 of 9

Availability analysis

  1. #1
    Registered User
    Join Date
    05-24-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    5

    Availability analysis

    Hello,

    I am trying to do some analysis of vehicle availability by hour of the day / day of week for my organisation. The vehicles are not available all the time as they require four trained staff to be working to man them. When the required staff are working the system books the vehicle as 'available'.

    I can extract the availability data into Excel as the following columns:

    Vehicle reference number
    Availability from (date and time)
    Availability to (date and time)

    We have a number of vehicles listed in one spreadsheet I would like to identify the % that each vehicle is available for each hour of the day / day of week based on one year of data.

    I was going to present the information in a matrix with days on the X axis and hours on the Y for each vehicle.

    If anyone could give me some advice on the best way to tackle this I would greatly appreciate it.

    Pip

  2. #2
    Registered User
    Join Date
    05-24-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Availability analysis

    I guess this one is a toughy!

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Availability analysis

    Hi PipGIS and welcome to the forum,

    I don't believe this is a tough problem but creating the data that may fit your request is the real problem. If you want us to solve it for you, you should supply a sample dataset and show us the expected outcome.

    If you give us a table in column A has about 4 vehicle numbers and some Available date/times in columns B and C then we don't have to hope we are creating your data correctly. Then you should show us what you expect as your expected result.

    To attach a sample file, click on the "Go Advanced" below the message area and then on the Paper Clip Icon above the message area to open a attach file dialog.

    This sounds like a fun problem if the data were supplied already in a sample.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    05-24-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Availability analysis

    Hi MarvinP,

    I have included some randomly generated data in the first sheet (this matches the format we have exactly), the second sheet shows an example of the outputs that I would like to achieve (average availability by hour / day, by month and by year).

    Any help would be appreciated, it sounds like you like a challenge!!

    PipGIS
    Attached Files Attached Files

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Availability analysis

    Hi,
    I've added tow calculated fields and done a Pivot Table on your data. See if this is close to what you are looking for.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Availability analysis

    in Column D try = C1-B1 format as [h]:mm:ss and in D382 do =SUM(D2:D382) in D383 or anywhere else for that matter try =INT(ABS(D382)) & " days " & TEXT(ABS(D382),"hh \h\o\u\r\s mm") & " minutes" and you'll get a total in Days Hours minutes and seconds

    Actually this isn't displaying the seconds, try

    INT(D382) & " days " & TEXT(D382,"hh ""hours"" mm") & " minutes"
    Last edited by scottylad2; 05-31-2011 at 12:46 PM.
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  7. #7
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Availability analysis

    And one more, if you don't want to use a helper column

    =INT(SUMPRODUCT($C$2:$C$381-$B$2:$B$381))&" Days" &TEXT(SUMPRODUCT($C$2:$C$381-$B$2:$B$381),"hh ""Hours"" mm")& " mins"

    All the solutions I've offered return 155 Days 06 Hours 05 Mins

  8. #8
    Registered User
    Join Date
    05-24-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Availability analysis

    Hi guys,

    Thanks for your efforts.

    MarvinP I can see how you have approached it, do those percentages relate to the first hour of availability rather than counting the hours between the 'from' & 'to' columns?

    I need to be able to understand where availabilty is low across an average week so the most important output is the days against hours pivot-table (rather than months) as I would like to understand where we need to improve our usage of the vehicles.

    PipGIS

  9. #9
    Registered User
    Join Date
    05-24-2011
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Availability analysis

    Hi guys,

    Thanks for your efforts.

    MarvinP I can see how you have approached it, do those percentages relate to the first hour of availability rather than counting the hours between the 'from' & 'to' columns?

    I need to be able to understand where availabilty is low across an average week so the most important output is the days against hours pivot-table (rather than months) as I would like to understand where we need to improve our usage of the vehicles.

    PipGIS

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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