+ Reply to Thread
Results 1 to 5 of 5

counting data with two criterias

  1. #1
    Registered User
    Join Date
    07-05-2020
    Location
    Australia
    MS-Off Ver
    MS Office 2016
    Posts
    3

    counting data with two criterias

    Hi,

    I need a formula to count the data E9:E281 through to GI9:G281 from the critieria number relating to the supplier in Column A but only over a month period so I can count the data only for each month e.g. Jul E:AI and continue with this through the months happy to change the month data manually.

    Cheers,
    Jane
    Attached Files Attached Files
    Last edited by jmurphy71; 07-06-2020 at 04:42 AM. Reason: attachment

  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,883

    Re: counting data with two criterias

    Jane

    Please read the yellow banner at the top of this page on how to attach a file.
    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
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: counting data with two criterias

    To start with you need to include the identifier in a column in SRS, (have hard coded the 4 ) this could be the number or the name of the company. the data is only for a year the below works,
    =SUMPRODUCT(('Manning Info'!$E$9:$BN$22>0)*('Manning Info'!$A$9:$A$22=4)*(MONTH('Manning Info'!$E$5:$BN$5)=7))
    =SUMPRODUCT(('Manning Info'!$E$9:$BN$22)*('Manning Info'!$A$9:$A$22=4)*(MONTH('Manning Info'!$E$5:$BN$5)=7))


    or
    =SUMPRODUCT(('Manning Info'!$E$9:$BN$22>0)*('Manning Info'!$A$9:$A$22=4)*(TEXT('Manning Info'!$E$5:$BN$5,"mmm-yy")=TEXT(T$2,"mmm-yy")))

    =SUMPRODUCT(('Manning Info'!$E$9:$BN$22)*('Manning Info'!$A$9:$A$22=4)*(TEXT('Manning Info'!$E$5:$BN$5,"mmm-yy")=TEXT(T$2,"mmm-yy")))

    etc
    Last edited by davsth; 07-06-2020 at 05:35 AM.

  4. #4
    Registered User
    Join Date
    07-05-2020
    Location
    Australia
    MS-Off Ver
    MS Office 2016
    Posts
    3

    Red face Re: counting data with two criterias

    Thank you so much it works wonderfully, appreciate your help :-)

  5. #5
    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,883

    Re: counting data with two criterias

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

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Need help with counting cells using two criterias
    By cookie1034 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-25-2019, 11:00 AM
  2. [SOLVED] Counting Average of dd hh:mm:ss with multiple criterias
    By mark888 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-31-2017, 09:20 AM
  3. Counting function with multiple criterias
    By etaver87 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-04-2016, 12:30 PM
  4. Counting words given two criterias.
    By nicolaivinther in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-12-2014, 04:17 AM
  5. Counting two criterias
    By jleung07 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-12-2012, 07:42 AM
  6. counting from columns using criterias
    By funkymonkUK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2007, 09:52 AM
  7. [SOLVED] Counting instances based on two criterias
    By [email protected] in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-05-2006, 02:25 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