+ Reply to Thread
Results 1 to 2 of 2

How to count cell but not including duplicates in a row?

  1. #1
    Registered User
    Join Date
    07-16-2019
    Location
    USA
    MS-Off Ver
    Office 10
    Posts
    4

    How to count cell but not including duplicates in a row?

    Hello, I was wondering how would I set up a formula where it would count a range of cells but avoiding duplicates in a row?

    Red
    Red
    Red
    Blue
    Blue
    Blue
    Red
    Red
    Red
    Yellow
    Yellow

    So an example would be, this would be 4 counts. It would avoid duplicates but only if it in a row like that.
    Thank you

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

    Re: How to count cell but not including duplicates in a row?

    See if the following formula works for you:

    =SUMPRODUCT(--(A1:A11<>A2:A12))

+ 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] Plot the Value # for the given date including the duplicates.
    By Sekars in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-22-2016, 01:13 AM
  2. VBA: Count cell colours including conditional formatting
    By ragulduy in forum Tips and Tutorials
    Replies: 0
    Last Post: 12-17-2013, 11:04 AM
  3. Removing duplicates in a count, count based on value in a different cell
    By omf_24 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-10-2013, 07:08 AM
  4. RANK for percentages including duplicates
    By Ozrik in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2012, 01:23 PM
  5. Replies: 9
    Last Post: 10-12-2010, 12:37 PM
  6. Removing duplicates from list including IF
    By jim_cliff11 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2010, 05:21 PM
  7. [SOLVED] COUNT THE NUMBER OF LETTERS INCLUDING SPACES IN A CELL?
    By zurafz6 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-06-2006, 04:00 AM

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