+ Reply to Thread
Results 1 to 8 of 8

COUNTIF not listed in A2:A79

  1. #1
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Arkansas
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    252

    COUNTIF not listed in A2:A79

    Need a little help with this formula on the Totals tab in cell B80. I want it to count cells that do not match A2:A79.

    =COUNTIFS(Input!$C:$C,">="&B$1,Input!$C:$C,"<"&EDATE(B$1,1),Input!$E:$E,"<>"&$A2:$A79)

    I have attached a sample of what I am working on.
    Attached Files Attached Files
    Last edited by jmcole; 04-29-2021 at 01:53 PM.

  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
    28,206

    Re: COUNTIF not listed in A2:A79

    Is the result not "Number of Entries in E" (250) - Total in O82 (233) =17 ??

  3. #3
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Arkansas
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    252

    Re: COUNTIF not listed in A2:A79

    Not really. This is the formula in B80 on the Totals tab. That formula should have a result of 3 because there are 3 "unknown" logged in for January, and "unknown" is not listed in A2:A79.

  4. #4
    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,206

    Re: COUNTIF not listed in A2:A79

    The data in B80 is the number of January rows in E (82) minus the total for B2:B79 (79) = 3

    You end with total of 15 miscellaneous (as 2 records in E are "Use") so TOTAL of 248 - 233
    Attached Files Attached Files
    Last edited by JohnTopley; 04-29-2021 at 02:56 PM.

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: COUNTIF not listed in A2:A79

    John Topley has the right idea but we need to refine how we use what is in B82.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is simply all of the entries in Input that meet the date criteria, minus all the ones we found for other categories.

    Edit: Posted before I saw his subsequent post. However, my formula does not require any changes to the sheet layout, just plug it in.
    Last edited by 6StringJazzer; 04-29-2021 at 03:06 PM.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  6. #6
    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,206

    Re: COUNTIF not listed in A2:A79

    Jeff,
    Being "pernickety" here!!!!

  7. #7
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Arkansas
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    252

    Re: COUNTIF not listed in A2:A79

    Quote Originally Posted by 6StringJazzer View Post
    John Topley has the right idea but we need to refine how we use what is in B82.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is simply all of the entries in Input that meet the date criteria, minus all the ones we found for other categories.

    Edit: Posted before I saw his subsequent post. However, my formula does not require any changes to the sheet layout, just plug it in.
    Thank you.

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: COUNTIF not listed in A2:A79

    Quote Originally Posted by JohnTopley View Post
    Jeff,
    Being "pernickety" here!!!!
    Just trying to solve the question. My initial comment referred to post #2, which had the correct strategy of taking the total number of items and subtracting the categorized ones, but O82 was not the correct subtraction. Post #4 looks like a workable solution, although my suggestion just goes right into B80 without adding other rows. If that's persnickety then I'll own it.

+ 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. cells listed as h:mm, need to be h:mm:ss help
    By taylorsm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-02-2019, 10:41 PM
  2. Replies: 4
    Last Post: 03-31-2015, 11:40 AM
  3. Replies: 2
    Last Post: 02-07-2014, 05:38 PM
  4. Row 1 and 2 to result those listed in Row 3
    By Kunky in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-22-2011, 01:46 AM
  5. Replies: 4
    Last Post: 04-19-2009, 06:13 PM
  6. Replies: 8
    Last Post: 12-22-2008, 09:40 PM
  7. How many times is a name listed
    By sabegirl in forum Excel General
    Replies: 4
    Last Post: 06-18-2006, 03:42 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