+ Reply to Thread
Results 1 to 11 of 11

help analysing huge sheet

  1. #1
    Registered User
    Join Date
    01-06-2018
    Location
    alex
    MS-Off Ver
    Microsoft Excel 2019 MSO (Version 2301 Build 16.0.16026.20196) 32-bit
    Posts
    45

    Question help analysing huge sheet

    Hello all,
    I need your help analysing these data if possible.
    This is the number of medications charged on patients in a data range, and arranged per patient or "MR"

    Is it possible to know how many total days the patient was charged? like for example MR1 charged first on 16/10/2017 and last charging on 19/10/2017
    Meaning number of days is 4.

    is there an easy way to do all the MRs without checking one by one?

    Also... can it be further analysed by item name afterwards?

    Thanks

    Microsoft Excel - Oct-2017.xls [Compatibility Mode]_2018-01-16_10-18-03.jpg

    ps. i couldn't find a way to attach or post part of the sheet itself so i took this screenshot, please tell me if th forums has a a feature to insert tables?

    Thanks again

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: help analysing huge sheet

    Do you know how to use pivot tables?

    Attach an example file and then I could have a go.

  3. #3
    Registered User
    Join Date
    01-06-2018
    Location
    alex
    MS-Off Ver
    Microsoft Excel 2019 MSO (Version 2301 Build 16.0.16026.20196) 32-bit
    Posts
    45

    Re: help analysing huge sheet

    Thanks,
    I just uploaded a sample file
    Attached Files Attached Files

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: help analysing huge sheet

    See if this does what you want.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-06-2018
    Location
    alex
    MS-Off Ver
    Microsoft Excel 2019 MSO (Version 2301 Build 16.0.16026.20196) 32-bit
    Posts
    45

    Re: help analysing huge sheet

    Thanks for your superfast help,
    it does count, but i need to know the interval between the dates.
    for example. "Mr2 was issued between 26/10/2017 and 30/10/2017" meaning 5 days. but the pivot is counting what's listed in the data
    .. can it calculate the different between the first day and the last?

  6. #6
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: help analysing huge sheet

    There's probably a better way than this but here goes.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,153

    Re: help analysing huge sheet

    See attached

    N5

    =MAX(IF($F$2:$F$83=$K5,$C$2:$C$83))

    O5

    =MIN(IF($F$2:$F$83=$K5,$C$2:$C$83))

    Both array entered ..

    ..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.

    P5

    =N5-O5+1

    Obviously you can combine formulae into one

    =MAX(IF($F$2:$F$83=$K5,$C$2:$C$83))-MIN(IF($F$2:$F$83=$K5,$C$2:$C$83))+1

    Array entered
    .
    Attached Files Attached Files

  8. #8
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: help analysing huge sheet

    Same as John, just adds the result as part of the pivot table so it's dynamic.
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,153

    Re: help analysing huge sheet

    I would go for the Pivot table!

  10. #10
    Registered User
    Join Date
    01-06-2018
    Location
    alex
    MS-Off Ver
    Microsoft Excel 2019 MSO (Version 2301 Build 16.0.16026.20196) 32-bit
    Posts
    45

    Re: help analysing huge sheet

    Thank you guy very much, this will help me a lot. appreciate your input.

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,153

    Re: help analysing huge sheet

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. huge sheet convert to database?
    By chemmiah in forum Excel General
    Replies: 1
    Last Post: 08-17-2011, 09:15 AM
  2. Up date very huge data sheet every day
    By guru.spp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2008, 10:14 AM
  3. Up date very huge data sheet every day
    By guru.spp in forum Excel General
    Replies: 2
    Last Post: 06-07-2008, 10:12 AM
  4. [SOLVED] huge huge excel file... why?
    By Josh in forum Excel General
    Replies: 12
    Last Post: 02-09-2006, 06:00 PM
  5. Huge sheet for no reason
    By Joel Dorfan in forum Excel General
    Replies: 2
    Last Post: 06-01-2005, 05:05 PM
  6. Huge sheet into smaller sheets
    By Mia in forum Excel General
    Replies: 3
    Last Post: 01-28-2005, 08:06 PM
  7. [SOLVED] Huge sheet into smaller sheets
    By Mia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2005, 05:06 AM

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