+ Reply to Thread
Results 1 to 9 of 9

How to extract unique numbers from a list and sort them by date or age

  1. #1
    Registered User
    Join Date
    12-19-2012
    Location
    Thessaloniki
    MS-Off Ver
    Excel 2007
    Posts
    44

    How to extract unique numbers from a list and sort them by date or age

    Hi
    I am trying to extract unique telephone numbers from a list and sort them by the date or the age
    I need all the others data

    test list number.xlsxtest list number.xlsx
    I have attach a sample of data

    Can you please help me

    Thank you in advance


  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to extract unique numbers from a list and sort them by date or age

    Enter this formula in G2 and copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Now, click in the data then on the Data Tab, click on the Filter button. Filter the records on column G selecting 1 as the filter. Select all the data then hold down the Alt key and hit ; This will select all the visible cells. Ctrl + C to copy these cells and then go to a place under the data and Ctrl+V to paste the data. This will give you a listing that has all the unique telephone numbers eliminating all numbers that have duplicates.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to extract unique numbers from a list and sort them by date or age

    Please see attached file
    Attached Files Attached Files
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    12-19-2012
    Location
    Thessaloniki
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: How to extract unique numbers from a list and sort them by date or age

    Thank you very much for your answers, it was really helpful but my boss changed his mind, he wants me to erase the duplicate data based on the age of the client. For example, if the same telephone number is registered to 2 different clients, he wants me to keep the record with the biggest age or the smaller.

    Thank you again

  5. #5
    Registered User
    Join Date
    12-19-2012
    Location
    Thessaloniki
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: How to extract unique numbers from a list and sort them by date or age

    anyone??

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to extract unique numbers from a list and sort them by date or age

    Try this. It uses two helper columns and seems to work. The telephone numbers must be sorted in order before this will work. This will identify the oldest age for each number and leave blanks for the duplicates of lesser age.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-19-2012
    Location
    Thessaloniki
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: How to extract unique numbers from a list and sort them by date or age

    Thank you very much, in deed it seems to work, is it possible to do the same based on the date and not the age?

    Thank you again,


  8. #8
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: How to extract unique numbers from a list and sort them by date or age

    See "Pivot" TAB filtered oldest to newest
    Attached Files Attached Files

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to extract unique numbers from a list and sort them by date or age

    Yes, the date can be used instead of the age. I didn't do anything with the Pivot table but added the formulae to the original data so that you can do what you want.
    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. Extract unique value in list and sort the result
    By acerrhod in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-01-2013, 05:48 AM
  2. Extract unique numbers from a list
    By excelbee in forum Excel General
    Replies: 7
    Last Post: 08-11-2012, 09:00 AM
  3. Replies: 2
    Last Post: 05-24-2012, 05:05 PM
  4. Unique List - Sort with Text and Numbers
    By hiker100 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-08-2010, 11:05 PM
  5. Replies: 2
    Last Post: 05-02-2006, 11:20 AM

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