Results 1 to 7 of 7
  1. #1
    New Lounger
    Join Date
    Nov 2003
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have some data that shows length of stay in an Emergency Department. Is there a way that I can group these into hour lots?
    i.e. 0:28 mins, 0:38 1:01hr, 2:02 hr, 3:05 hrs, etc = 0-4 hr
    4:05, 5:30 hrs, 8:15 hrs = 5-10 hrs or something similar rather than having miniscule amounts reporting.

    I have tried to group them by hour but I just get them grouped into a 24 hour period.

    Is this possible to do? What am I doing wrong? I have formatted the hr:mins to [h]:mins.

    I have attached the pivot to show you. thanks for your help.

    Jacqui :-)

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts
    There is no attachment....

    Steve

  3. #3
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    East Coast, USA
    Posts
    993
    Thanks
    8
    Thanked 43 Times in 43 Posts
    Jacqui - Without seeing your attachment we have to guess at your data layout.
    Maybe something like this will help.
    Attached Files Attached Files

  4. #4
    New Lounger
    Join Date
    Nov 2003
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [attachment=91019:Pivot.pdf]
    Quote Originally Posted by jacquir View Post
    I have some data that shows length of stay in an Emergency Department. Is there a way that I can group these into hour lots?
    i.e. 0:28 mins, 0:38 1:01hr, 2:02 hr, 3:05 hrs, etc = 0-4 hr
    4:05, 5:30 hrs, 8:15 hrs = 5-10 hrs or something similar rather than having miniscule amounts reporting.

    I have tried to group them by hour but I just get them grouped into a 24 hour period.

    Is this possible to do? What am I doing wrong? I have formatted the hr:mins to [h]:mins.

    I have attached the pivot to show you. thanks for your help.

    Jacqui :-)

    Sorry - the system won't let me load up the Excel ss but I have saved it as a PDF. thanks.
    Attached Files Attached Files

  5. #5
    New Lounger
    Join Date
    Nov 2003
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Tim Sullivan View Post
    Jacqui - Without seeing your attachment we have to guess at your data layout.
    Maybe something like this will help.
    Thanks, that could work. I suppose I was hoping that the Pivot function could automatically group the info for me rather than have to use a formula. Thanks for your time. :-)

  6. #6
    New Lounger
    Join Date
    Nov 2003
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Tim. I ended up making another field in my raw data and rounding up the hours. I was then able to pull this info into the pivot and group in 4 hour timeframes. Thanks heaps. I suppose Pivots have their limitations and an extra field here and there helps collate the data better. I have loaded up the final result in the PDF1 attachment.

    Jac :-)
    Attached Files Attached Files

  7. #7
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    East Coast, USA
    Posts
    993
    Thanks
    8
    Thanked 43 Times in 43 Posts
    Quote Originally Posted by jacquir View Post
    [attachment=91019:Pivot.pdf]
    Sorry - the system won't let me load up the Excel ss but I have saved it as a PDF. thanks.
    I am a bit curious, which system won't allow the upload of a sample spreadsheet? Was it the Lounge's upload feature?


    Quote Originally Posted by jacquir View Post
    ..... I was then able to pull this info into the pivot and group in 4 hour timeframes. .... I suppose Pivots have their limitations and an extra field here and there helps collate the data better. I have loaded up the final result in the PDF1 attachment.

    Jac :-)
    Hi Jac - There are a couple of other things that can be tried on the Pivot Table.
    1) Can the years be made side by side at the top?
    2) Take a look at Calculated Fields/Items for pivot tables for more options.

    Pivot Table can be a very powerful analytical tool.

Posting Permissions

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