+ Reply to Thread
Results 1 to 7 of 7

Wildlife Study: How do I sum entries by type and display only those types with 5+ entries

  1. #1
    Registered User
    Join Date
    04-09-2016
    Location
    Kansas City, MO
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    4

    Wildlife Study: How do I sum entries by type and display only those types with 5+ entries

    I am working on analyzing a bunch of data from a wildlife study, and I really need to find a formula. The data has Month and Day entries for each animal tagged at a particular site. The statistical analysis program will not run if there are too few entries for a given month/day category. What I need to do is have a formula that will sum up the to the total number of same month/day entries and discard month/day rows where there are less than 5 total entries.

    Thanks!

    - J

    Attachment 455301
    Attached Files Attached Files
    Last edited by freefall01; 04-09-2016 at 03:19 PM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Wildlife Study: How do I sum entries by type and display only those types with 5+ ent

    you could use a pivot table
    to group and then filter

    or a helper column

    assuming
    year_month_column in A
    Day in C

    countifs( A:A, A2, C:C, C2 )
    then use an IF
    IF( countifs( A:A, A2, C:C, C2 ) < = 5 , 0, 1) - copy down
    and then filter on the new column

    rather than images - attach a spreadsheet - saves members trying to create a sample sheet for you

    Please upload a sample of your workbook to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    Would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "Choose File" (top Left corner).
    Find your file, click "Open" click "upload" click 'close windows" Top Right. click "Submit Reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    04-09-2016
    Location
    Kansas City, MO
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    4

    Re: Wildlife Study: How do I sum entries by type and display only those types with 5+ ent

    Thank you for responding Wayne! I will try your suggestion. This is my first post to a forum so it's really cool to receive help so quickly!

    Thanks again,

    Julian

  4. #4
    Registered User
    Join Date
    04-09-2016
    Location
    Kansas City, MO
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    4

    Re: Wildlife Study: How do I sum entries by type and display only those types with 5+ ent

    Attached is an explanation of what I want to achieve.
    Attached Files Attached Files

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Wildlife Study: How do I sum entries by type and display only those types with 5+ ent

    what is you are summing on the sheet ?

    Heres the helper column and count
    With the helper column you can use a pivot table
    and use the helper as a page filter and choose 1 - so the calc only uses values greater than 5

    but not sure what you want to sum on the sheet ?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-09-2016
    Location
    Kansas City, MO
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    4

    Re: Wildlife Study: How do I sum entries by type and display only those types with 5+ ent

    I just had to filter out days with too few entries. They were throwing off a statistical program. Your original post with the countif, if(countif), and filter did the trick. I was able to filter out all days where not enough specimens were collected. Now the statistical program works! Your suggestion did the trick - Thanks again!

    -Julian
    Attached Files Attached Files
    Last edited by freefall01; 04-09-2016 at 04:55 PM.

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Wildlife Study: How do I sum entries by type and display only those types with 5+ ent

    you are welcome

+ 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. [SOLVED] Move Non-Zero row entries up to occupy Zero row entries. Rows deletion not allowed
    By chancw in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 12-08-2013, 03:57 AM
  2. [SOLVED] Summing up all entries of the same type
    By Devourer in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 06-24-2013, 10:19 AM
  3. [SOLVED] Numbering entries of each type in a column
    By bedik in forum Excel General
    Replies: 2
    Last Post: 02-01-2013, 06:01 PM
  4. Replies: 1
    Last Post: 02-01-2013, 03:38 PM
  5. [SOLVED] See who has the most entries of a particular type in a table using a formula
    By JungleJme in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-09-2012, 05:19 AM
  6. [SOLVED] Read entries-locate entries and print entries
    By akotronis in forum Excel General
    Replies: 4
    Last Post: 05-01-2012, 03:05 PM
  7. Removing repeat entries in a long column of data entries
    By kaizhong1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2010, 01:31 PM

Tags for this Thread

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