+ Reply to Thread
Results 1 to 2 of 2

Countif ?

Hybrid View

  1. #1
    Registered User
    Join Date
    03-18-2015
    Location
    Nashville TN
    MS-Off Ver
    365
    Posts
    1

    Countif ?

    I have two columns in excel and i need a count of how many rows do not have the exact information in both columns.

    Column A Column B
    206 205
    205 205,206
    (blank) 204


    Thanks in advance

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Countif ?

    You could put a formula like this in C1:

    =(A1=B1)*1

    then copy down, which will give you a series of 1s and 0s, then in D1 you could have this formula:

    =SUM(C:C)

    to give you the count of identical records.

    Or, if you want one formula, you can use this:

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

    adjust the 100 to suit how much data you have.

    Hope this helps.

    Pete

+ 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. [SOLVED] =Subtotal(countif,Range); Subtotal and countif in 1 formula [SOLVED]
    By thomas.mapua in forum Excel General
    Replies: 5
    Last Post: 01-06-2012, 11:33 AM
  2. Combining a Date Range COUNTIF and a general COUNTIF
    By jacobtom in forum Excel General
    Replies: 1
    Last Post: 09-15-2011, 05:06 PM
  3. Adding a CountIF to a formula that is already Countif
    By Cmorgan in forum Excel General
    Replies: 4
    Last Post: 06-01-2011, 09:34 AM
  4. COUNTIF or not to COUNTIF on a range in another sheet
    By Ellie in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-15-2005, 05:06 PM
  5. [SOLVED] Countif w/ Multiple Criteria-How do I use countif
    By Patrick_KC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2005, 05: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