+ Reply to Thread
Results 1 to 4 of 4

Need help with multiple COUNTIF functions

  1. #1
    Registered User
    Join Date
    10-27-2015
    Location
    Spring, TX
    MS-Off Ver
    Mac 2011
    Posts
    2

    Need help with multiple COUNTIF functions

    I have 2 columns of numbers. I want to count number of cells in Column B that are different from Column A, i.e. =Countif(B1,"<>"&A1).
    How can I do this without using adding 125 countif formulas (I have 125 rows)? I also have the B cells conditionally formatted if <> A1 but I cannot find how to use this condition in a formula. I hope someone can help me.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Need help with multiple COUNTIF functions

    Try

    =SUMPRODUCT(--(A1:A125<>B1:B125))

  3. #3
    Registered User
    Join Date
    10-27-2015
    Location
    Spring, TX
    MS-Off Ver
    Mac 2011
    Posts
    2

    Re: Need help with multiple COUNTIF functions

    Quote Originally Posted by Jonmo1 View Post
    Try

    =SUMPRODUCT(--(A1:A125<>B1:B125))
    Thanks so much! It worked

  4. #4
    Registered User
    Join Date
    10-10-2015
    Location
    Houston
    MS-Off Ver
    2013
    Posts
    26

    Re: Need help with multiple COUNTIF functions

    Can also try
    {=SUM(IF(COUNTIF(A1:A10,B1:B12)<1,1,0))}
    if different nos of rows in 2 columns

+ 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. Combining Multiple IF(COUNTIF) Functions
    By threadVirus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-13-2015, 06:32 PM
  2. [SOLVED] Multiple Functions IF, AND, COUNTIF, MATCH
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  3. [SOLVED] Multiple Functions IF, AND, COUNTIF, MATCH
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. [SOLVED] Multiple Functions IF, AND, COUNTIF, MATCH
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  5. Multiple Functions IF, AND, COUNTIF, MATCH
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. [SOLVED] Multiple Functions IF, AND, COUNTIF, MATCH
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. Multiple Functions IF, AND, COUNTIF, MATCH
    By Mike in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-29-2005, 03:05 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