+ Reply to Thread
Results 1 to 3 of 3

count number of cell have the same value

  1. #1
    Registered User
    Join Date
    11-08-2009
    Location
    UK
    MS-Off Ver
    Excel 2007
    Posts
    4

    count number of cell have the same value

    Hi

    I have two column
    A B
    -----------
    1 2
    2 2
    3 1
    4 3
    5 4

    I want to count the number of cell in column A that have the same value of cell at the same row of column B
    In this example it should return 1 as A2=B2

    Can you please show me how to do it plz?

    Thanks you very much

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: count number of cell have the same value

    Yes, soory, teethless is right
    Last edited by zbor; 11-08-2009 at 02:38 PM.

  3. #3
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: count number of cell have the same value

    Quote Originally Posted by duongthaiha View Post
    hi

    i have two column
    a b
    -----------
    1 2
    2 2
    3 1
    4 3
    5 4

    i want to count the number of cell in column a that have the same value of cell at the same row of column b
    in this example it should return 1 as a2=b2

    can you please show me how to do it plz?

    Thanks you very much
    =sumproduct(--(a1:a5=b1:b5))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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