+ Reply to Thread
Results 1 to 5 of 5

Count Repeated Items Once

  1. #1
    Forum Contributor
    Join Date
    06-13-2009
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    245

    Count Repeated Items Once

    Hello, could some one please help me with the following:

    In my Excel 2003 worksheet I have employee data in range A2:AH50000

    The header row is in row 2.

    I am trying to count once the employee ID numbers in column C. The employee ID numbers in column C have multiple instances of the same employee ID number.

    So for example, in my list of 50,000 entries (rows) there may actually only be 12,500 unique employee ID numbers.

    I tried the DCOUNTA function but did not have any success.

    If any one could help, that would be greatly appreciated.

    Kind regards,

    Chris
    Last edited by longbow007; 08-01-2010 at 11:36 PM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Count Repeated Items Once

    longbow007,

    In cell J2 try:
    =SUMPRODUCT(--(FREQUENCY(C3:C5000,C3:C5000)>0))
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Forum Contributor
    Join Date
    06-13-2009
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    245

    Re: Count Repeated Items Once

    Thanks so much stanleydgromjr - your array formula works very well - very much appreciated,

    Kind regards,

    Chris

  4. #4
    Registered User
    Join Date
    05-10-2012
    Location
    Baltimore, United States
    MS-Off Ver
    Excel 2007
    Posts
    1

    Talking Re: Count Repeated Items Once

    Quote Originally Posted by stanleydgromjr View Post
    longbow007,

    In cell J2 try:
    =SUMPRODUCT(--(FREQUENCY(C3:C5000,C3:C5000)>0))
    Hello,

    I have the same problem.

    but in my case,I have a list of employee IDs with differnent companys, so I also need to add a creteria.

    Could you help me with the formula? and I didn't really get the formula above.

    Thanks a lot.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Count Repeated Items Once

    hoho311,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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