+ Reply to Thread
Results 1 to 13 of 13

i need to count by two criterias

  1. #1
    Registered User
    Join Date
    03-30-2013
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    25

    i need to count by two criterias

    hy guys i got a hard example here. i need to count all the time two criterias meet. i put an atachement so u can see. so i need to count all the times B18=1 and c35=1, then B52=1 and C68=1, etc. i need to put the result in only one cel. please help me!

    i cant put a atachement and i dont know why?

    its ok now with the atachement
    Attached Files Attached Files
    Last edited by saintdevil8; 10-08-2017 at 11:29 AM.

  2. #2
    Registered User
    Join Date
    03-30-2013
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    25

    Re: i need to count by two criterias

    1 0 1 3 times
















    0 1 0
















    1 0 1
















    0 1 0
















    1 0 1
















    1 0 2

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,477

    Re: i need to count by two criterias

    No attachment!

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: i need to count by two criterias

    I am not getting. Do u want to simply count the numbers?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,477

    Re: i need to count by two criterias

    Whom are you addressing? Thank you for the attachment.

  6. #6
    Registered User
    Join Date
    03-30-2013
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    25

    Re: i need to count by two criterias

    no, i want to count every time there is this condition b18=1 and c35=1, b52=1 and c69=1, b103=1 and c120, etc, so there are 3 times. u understand now. i nedd to let the spacing between the numbers.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,477

    Re: i need to count by two criterias

    Having looked at the attachment, I am sorry, but I have no idea what you are trying to achieve.

  8. #8
    Registered User
    Join Date
    03-30-2013
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    25

    Re: i need to count by two criterias

    i put a biger atachement, so maybe now its clear, u wil see on E column what i need to count.
    Attached Files Attached Files

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,477

    Re: i need to count by two criterias

    No, sorry - it's not clear at all. Explain in words when a number one should be counted and when it should not.

  10. #10
    Registered User
    Join Date
    03-30-2013
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    25

    Re: i need to count by two criterias

    sorry for the exprimation but my english sucks

  11. #11
    Valued Forum Contributor Root_'s Avatar
    Join Date
    07-29-2017
    Location
    _
    MS-Off Ver
    2010+
    Posts
    514

    Re: i need to count by two criterias

    Is this what you need?

    =COUNTIFS(B1:B1055,1,C18:C1072,1)

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,477

    Re: i need to count by two criterias

    Quote Originally Posted by saintdevil8 View Post
    sorry for the exprimation but my english sucks
    So does my telepathy ...

  13. #13
    Registered User
    Join Date
    03-30-2013
    Location
    Romania
    MS-Off Ver
    Excel 2016
    Posts
    25

    Re: i need to count by two criterias

    Quote Originally Posted by Root_ View Post
    Is this what you need?

    =COUNTIFS(B1:B1055,1,C18:C1072,1)

    omg, thats awesome, its what i needed, thank you very much, and i wish you a good week

+ 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 function with criterias
    By mminyoungkim in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-24-2016, 07:17 PM
  2. [SOLVED] Count with 2 Criterias
    By Did13n in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-07-2016, 01:59 AM
  3. Only count when there is 1 of 3 criterias met.
    By DugiDug in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-01-2013, 12:19 PM
  4. count/find with 2 criterias
    By ngocpdn in forum Excel General
    Replies: 2
    Last Post: 02-15-2012, 07:25 PM
  5. Count Using Multiple Criterias
    By Vancouver in forum Excel General
    Replies: 4
    Last Post: 11-07-2010, 04:35 AM
  6. Count Uniques with 2 criterias
    By ROYW1000 in forum Excel General
    Replies: 2
    Last Post: 11-03-2008, 05:48 PM
  7. Count using 2 criterias
    By Macdave_19 in forum Excel General
    Replies: 3
    Last Post: 03-27-2007, 08:57 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