+ Reply to Thread
Results 1 to 6 of 6

Seems simple but... no dice. Looking for duplicate data in a column.

  1. #1
    Registered User
    Join Date
    10-29-2014
    Location
    Boston Ma
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Seems simple but... no dice. Looking for duplicate data in a column.

    I'm sure this is an easy one. In Excel 2013 I have a workbook showing the phone numbers of 2600 texts my daughter sent and recvd last month. I would just like to see a list of the individual phone numbers and how many times each particular number appeared out of the 2600 listed.

    ex. Imagine this is the list of phone numbers.
    123-456-7879
    246-555-1234
    246-555-1234
    987-654-3211
    123-456-7879
    123-456-7879
    987-654-3211

    I'd like to see something like this generated from it...

    123-456-7879 (3), 246-555-1234 (2), 987-654-3211 (2) With the number in () representing the number of times it appeared in the entire list.

    Thanks!

    Todd DP

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Seems simple but... no dice. Looking for duplicate data in a column.

    by far the easiest way is say that list is in column A starting A2
    then in column b starting b2 put
    =IF(COUNTIF($A$2:A2,A2)=COUNTIF($A$2:$A$5000,A2),COUNTIF($A$2:$A$5000,A2),"")
    fill down to end
    then auto filter on column b ignoring blanks
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Seems simple but... no dice. Looking for duplicate data in a column.

    Use a Pivot Table


    A
    B
    C
    D
    E
    1
    Phone
    2
    123-456-7879
    3
    246-555-1234
    4
    246-555-1234
    5
    987-654-3211
    6
    123-456-7879
    7
    123-456-7879
    8
    987-654-3211
    9
    Phone
    Calls
    10
    123-456-7879
    3
    11
    246-555-1234
    2
    12
    987-654-3211
    2
    13
    Grand Total
    7
    14




    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    10-29-2014
    Location
    Boston Ma
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Re: Seems simple but... no dice. Looking for duplicate data in a column.

    Hey Thanks so much. I tried what you suggested with plain numbers and it worked like a charm. When I tried to apply it to my actual data (phone numbers) it wouldn't work. Any chance you could send me a simple workbook using your method with 10 or so american phone numbers? xxx-xxx-xxxx is the format.
    Thx again!

  5. #5
    Registered User
    Join Date
    10-29-2014
    Location
    Boston Ma
    MS-Off Ver
    MS Office 2013
    Posts
    3

    Re: Seems simple but... no dice. Looking for duplicate data in a column.

    Any chance you could send me back a simple workbook showing your suggestion? A sample American number is 555-987-1234- Thanks.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Seems simple but... no dice. Looking for duplicate data in a column.

    See the attached ...
    Attached Files Attached Files

+ 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. Find duplicates in one column & add data from another column to duplicate-free sheet
    By ingiabouzeid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2013, 03:37 AM
  2. Replies: 1
    Last Post: 06-01-2013, 01:27 AM
  3. Replies: 2
    Last Post: 03-09-2013, 10:14 PM
  4. Search column a for duplicate data and copy entire row to duplicate sheet
    By crazyAMP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2012, 08:21 PM
  5. [SOLVED] Is there a simple way of removing duplicate data in Excel?
    By Martin Hextall in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2006, 06:35 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