+ Reply to Thread
Results 1 to 3 of 3

how do I count the number of times text in column A matches text i

  1. #1
    Sheila
    Guest

    how do I count the number of times text in column A matches text i

    I'm trying to count the number of times text in one column, say, A matches
    text in another column, say, B. So, if A1=B1, count = 1, then if A2=B2,
    count = 2, for the whole of both columns.

  2. #2
    MDBCT
    Guest

    RE: how do I count the number of times text in column A matches text i

    You can use:
    {=SUM(IF(A1:A3=B1:B3,1,0))}

    This is an array formula, so don't type in the {}, use Ctrl+Sift+Enter to
    confirm(not just enter) the formula.


    "Sheila" wrote:

    > I'm trying to count the number of times text in one column, say, A matches
    > text in another column, say, B. So, if A1=B1, count = 1, then if A2=B2,
    > count = 2, for the whole of both columns.


  3. #3
    Bob Phillips
    Guest

    Re: how do I count the number of times text in column A matches text i

    =sumproduct(--(A1:A100=B1:B100))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Sheila" <[email protected]> wrote in message
    news:[email protected]...
    > I'm trying to count the number of times text in one column, say, A matches
    > text in another column, say, B. So, if A1=B1, count = 1, then if A2=B2,
    > count = 2, for the whole of both columns.




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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