Closed Thread
Results 1 to 3 of 3

sum occurences meeting criteria by ID, then count how many

Hybrid View

  1. #1
    Registered User
    Join Date
    07-24-2012
    Location
    Baltimore
    MS-Off Ver
    Excel for Mac 2011
    Posts
    45

    sum occurences meeting criteria by ID, then count how many

    Hello.

    I have a spreadsheet that has individuals with multiple records indicated by ID in column A and days between outpatient clinic visit and hospital admission in column B.

    I would like to know how many individuals had 0, 1 or >1 clinic visits 90 days or less from hospital admission. So I need to sum clinic visits <=90 days by ID, and then count how many individuals (unique IDs) have 0, 1 or >1 visits.

    Thanks!

    ID Days
    1 187
    1 160
    1 92
    1 71
    1 50
    2 43
    2 33
    2 8
    3 273
    3 217
    3 175
    3 119
    4 325
    4 152
    4 68

  2. #2
    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
    30,887

    Re: sum occurences meeting criteria by ID, then count how many

    Duplicate post.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: sum occurences meeting criteria by ID, then count how many

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] sum occurences meeting criteria by ID, then count how many
    By mistert in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-25-2016, 06:10 PM
  2. [SOLVED] Count Data Meeting Criteria Across Columns Meeting Criteria
    By idelta in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-06-2015, 03:53 PM
  3. [SOLVED] Count of pupils meeting 'less than' criteria...
    By sezza79 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2014, 09:27 AM
  4. lookup and count if meeting criteria
    By reghu in forum Excel General
    Replies: 6
    Last Post: 09-09-2010, 07:41 AM
  5. How to count instances meeting criteria?
    By guntar in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-26-2009, 05:06 PM
  6. Record count meeting 4 criteria
    By harleypop in forum Excel General
    Replies: 6
    Last Post: 03-17-2009, 08:33 PM
  7. [SOLVED] count records meeting three criteria
    By Laura in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-21-2005, 01:50 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