+ Reply to Thread
Results 1 to 6 of 6

Don't count duplicates

  1. #1
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Don't count duplicates

    Have a large excel 2010 spreadsheet. I need to count the number of orders. Some orders are listed several times for difference reasons. Is there a way to use the count function so it doesn’t count duplicate entries?

    Sample: (answer should be 4 orders)
    A
    1 2555
    2 2555
    3 2555
    4 2556
    5 2556
    6 2557
    7 2558

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

    Re: Don't count duplicates

    You can copy the order numbers to a blank column and use the Remove Duplicates option in excel. Then do a count on that column.
    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]

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Don't count duplicates

    Try

    =SUM(SIGN(FREQUENCY(A1:A7,A1:A7))) >> adjust ranges to suit and this is just for numeric
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Don't count duplicates

    Arlu1201, thanks!

  5. #5
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Don't count duplicates

    Jefferybrown, the forumla worked great.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Don't count duplicates

    Glad to see you have a couple of options to work with and thanks for the feedback

+ 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