+ Reply to Thread
Results 1 to 4 of 4

delete duplicate cell

  1. #1
    Registered User
    Join Date
    09-02-2010
    Location
    VA
    MS-Off Ver
    Excel 2003
    Posts
    2

    delete duplicate cell

    Hello Excel Gurus,
    I've requirement to change the following data

    Location_id Country Name phone
    125 US JAY COSTA 4526558258
    125 CA LAY CHIN 6525698255
    125 NS GEORGE CHA 6289558965
    462 CN FRANC BUTA 4895858546
    462 BO ASHLY JHANG 1564557153
    751 MX EMANUEL BONILLA 6529580320
    751 NM JOSE NIKE 3205988221
    751 NZ ANDREW GORENA 3986476050
    751 BA MALLISA PORTILLO 6920571693

    to this format:

    Location_id Country Name phone
    125 US JAY COSTA 4526558258
    CA LAY CHIN 6525698255
    NS GEORGE CHA 6289558965
    462 CN FRANC BUTA 4895858546
    BO ASHLY JHANG 1564557153
    751 MX EMANUEL BONILLA 6529580320
    NM JOSE NIKE 3205988221
    NZ ANDREW GORENA 3986476050
    BA MALLISA PORTILLO 6920571693

    Basically I'm trying tp remove only dup from location_id and rest should stay as is.

    Thanks,

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: delete duplicate cell

    Assuming your data is sorted as you've shown; In column D, E or F, starting in D2 (for example)
    =IF(A2=A1,"",A2) dragged all the way down.
    Then copy and paste special values into column A.
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    09-02-2010
    Location
    VA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: delete duplicate cell

    Thanks for the quick response, but there is little complexity. The data that I put here is just a sample there is 99% possibility that it won't be sorted. Also the actual data size is about 300-600k rows. these data basically come from Sybase db and get saved in excel csv format.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: delete duplicate cell

    Well, if you are going to remove the Location ID from all subsequent records that have the same Location, won't you have to be sorting them?

+ 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