+ Reply to Thread
Results 1 to 8 of 8

COUNT numbers with criteria

  1. #1
    Registered User
    Join Date
    05-11-2017
    Location
    DUBAI
    MS-Off Ver
    Microsoft 365
    Posts
    41

    Post COUNT numbers with criteria

    I am trying to count the number of units based on the given criteria.

    Eg : Criteria 1 L9 and Criteria 2 K10 . Enclosed sample sheet. Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: COUNT numbers with criteria

    Suggest you explain your logic as it is not obvious from your presentation. What are you counting and how?
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-11-2017
    Location
    DUBAI
    MS-Off Ver
    Microsoft 365
    Posts
    41

    Re: COUNT numbers with criteria

    I am trying to count the number of rows having value under each column header (10-14) for >30 in column H

  4. #4
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: COUNT numbers with criteria

    Hi All,

    in L10 to be copied down


    =SUMPRODUCT((B$8:F$523>30)*(B$7:F$7=K10))

    Hope that helps
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  5. #5
    Registered User
    Join Date
    05-11-2017
    Location
    DUBAI
    MS-Off Ver
    Microsoft 365
    Posts
    41

    Re: COUNT numbers with criteria

    Seems something off. I got my L10 answer is 7 but the correct answer should be 37.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: COUNT numbers with criteria

    How about
    =COUNTIFS(INDEX($B$8:$F$523,,MATCH(K10,$B$7:$F$7,0)),"<>",$G$8:$G$523,">=31")

  7. #7
    Registered User
    Join Date
    05-11-2017
    Location
    DUBAI
    MS-Off Ver
    Microsoft 365
    Posts
    41

    Re: COUNT numbers with criteria

    This is working fine for me. Thanks for the assistance.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: COUNT numbers with criteria

    You're welcome & thanks for the feedback.

+ 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. Count numbers in one column with criteria in two others.
    By msdivers4 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-14-2019, 05:40 PM
  2. COUNT numbers between certain criteria
    By LeeBillington in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2018, 03:09 PM
  3. [SOLVED] Count numbers of row with multiple criteria.
    By Matsn in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-27-2016, 10:12 AM
  4. Replies: 4
    Last Post: 02-12-2016, 04:27 PM
  5. [SOLVED] Count Distinct Numbers - Multiple Criteria
    By Gos-C in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-29-2013, 12:21 PM
  6. Replies: 8
    Last Post: 07-12-2010, 08:52 AM
  7. [SOLVED] how do I count the numbers of row that meet 2 criteria
    By Debi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-10-2005, 06:00 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