+ Reply to Thread
Results 1 to 8 of 8

Counting Unique Cells

  1. #1
    Registered User
    Join Date
    08-16-2009
    Location
    Pittsburgh
    MS-Off Ver
    Excel 2007
    Posts
    3

    Counting Unique Cells

    I'm trying to write a formula so that excel will go through a list of names and count unique names (not duplicates). So I have three columns of data. For Excel to count the first column, I have: =DCOUNTA($B$5:$B$30,1,$J$5:$J$6)

    The B's refer to my data (including the header cell), and the J's refer to my criteria, which is: =COUNTIF(B6:B30,B6)=1

    This seems to work (not that I am exactly sure how).

    But my problem is now I want to do the same thing for three columns that aren't next to each other.

    Any ideas? Let me know if what I'm trying to do doesn't make sense...

    Thanks for reading,
    Kevin

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Counting Unique Cells

    But my problem is now I want to do the same thing for three columns that aren't next to each other.
    Any reason why you can't use the same approach and ajdust the range references for the applicable columns?

  3. #3
    Registered User
    Join Date
    08-16-2009
    Location
    Pittsburgh
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Counting Unique Cells

    Yeah, so I guess this is really a basic question....how do you enter a range that isn't nice like B6:B30? Instead I want it to go through B6 to B30 and D6 to D30...

  4. #4
    Registered User
    Join Date
    08-16-2009
    Location
    Pittsburgh
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Counting Unique Cells

    I'm bumping this because I'm hoping someone understands what I'm trying to ask...thanks in advance!

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

    Re: Counting Unique Cells

    Put cursor after B. Press backspace. Enter D.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Counting Unique Cells

    As you can tell there is some confusion... are you perhaps looking to do a unique count where values of interest are spread across three separate ranges ?

    General Rule of Thumb:

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

  7. #7
    Valued Forum Contributor
    Join Date
    07-29-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2003/Excel 2010
    Posts
    534

    Re: Counting Unique Cells

    With the "Morefunc" add-in installed, the following formula seems to do what i think you're looking for: from 3 ranges (A2:A11, C2:C11, E2:E7) filled with names (some unique, some occurring 2 or 3 times) count the number of unique names.
    Please Login or Register  to view this content.

+ 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