+ Reply to Thread
Results 1 to 14 of 14

How to remove duplicates in excel file

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    70

    How to remove duplicates in excel file

    Hi Guru's

    How to remove duplicate rows in excel file?

    Regards
    Uday
    Attached Files Attached Files

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

    Re: How to remove duplicates in excel file

    Thank you for the example, but we volunteer our time to help others with their Excel queries. Help us help you by giving some more finite instructions on what you want to acheive. I and maybe others do not want to guess. How about a tab with the expected results?
    Last edited by jeffreybrown; 06-13-2012 at 08:33 PM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    06-13-2012
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: How to remove duplicates in excel file

    Hi Jeff,

    Could you please help how to remove duplicates from the attached file?

    Regards
    Uday

  4. #4
    Registered User
    Join Date
    06-13-2012
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: How to remove duplicates in excel file

    Hi Jeff,
    Column C - heading is Job step ID number.
    It was duplicated will all rows in the excel sheet.
    I would like to have only rows with unique job step id number.
    How I have to achieve it.

    Regards
    uday

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to remove duplicates in excel file

    @ Jeff, thanks, I thought i was the only 1 thatcouldnt see what the OP wanted lol
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: How to remove duplicates in excel file

    Put this in column G and copy down.

    =COUNTIF($C$2:C2,C2)

    Highlight column G >> copy >> paste special >> values

    Now filter column G for greater than 1 and delete those rows.

    All 1's are the first record

  7. #7
    Registered User
    Join Date
    06-13-2012
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: How to remove duplicates in excel file

    Hi Jeff,

    Column A heading is background job. Each job contains Job step ID number example 1 to 13 or more or only one.
    With the background job name I would like to have sequence of step numbers. Here in this attached excel sheet Job step ID numbers are not sequenial

    ZXME_0000_BILL_FINAL_SU 195400 7
    ZXME_0000_BILL_FINAL_SU 195400 9
    ZXME_0000_BILL_FINAL_SU 195400 6
    ZXME_0000_BILL_FINAL_SU 195400 8
    ZXME_0000_BILL_FINAL_SU 195400 10
    ZXME_0000_BILL_FINAL_SU 195400 5
    ZXME_0000_BILL_FINAL_SU 195400 13
    ZXME_0000_BILL_FINAL_SU 195400 12
    ZXME_0000_BILL_FINAL_SU 195400 11
    ZXME_0000_BILL_FINAL_SU 195400 1
    ZXME_0000_BILL_FINAL_SU 195400 3
    ZXME_0000_BILL_FINAL_SU 195400 2
    ZXME_0000_BILL_FINAL_SU 195400 4
    after the 13 or more... It should display again 1 to 13 or more sequenial way.

    Regard
    uday

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

    Re: How to remove duplicates in excel file

    Hi uday,

    This is why we ask the questions we ask. Column C was the point of emphasis in post #4 and now it is column A.

    Please attach a sample workbook with Sheet1, what you have now, and Sheet2, what you expect?

  9. #9
    Registered User
    Join Date
    06-13-2012
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: How to remove duplicates in excel file

    i Jeff,
    I have uploaded the sample excel sheet. Please find the details in excel sheet.
    Sorry for the mis communication.

    I appreciate your help.

    Regards
    uday
    Attached Files Attached Files

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

    Re: How to remove duplicates in excel file

    Sorry but I still don't see what you are after. Maybe somebody else has a better idea.

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

    Re: How to remove duplicates in excel file

    Uday,

    You first asked how to remove duplicates? Where are the duplicates located in your file?

    Then, you said that you want the numbers in column C to be sequential. What has this got to do with the removing of duplicates?
    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]

  12. #12
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to remove duplicates in excel file

    To me, it seems simply SORTING the data by Column A, then B, then C puts them in sequential order.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  13. #13
    Registered User
    Join Date
    06-13-2012
    Location
    California
    MS-Off Ver
    Excel 2003
    Posts
    70

    Re: How to remove duplicates in excel file

    Hi

    I am still having the duplicates in the excel. I have attached the sample excel file....

    Regards
    Uday
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    06-07-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010, Excel 2007
    Posts
    57

    Re: How to remove duplicates in excel file

    Concatenate columns A - F then CF for duplicates

+ 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