+ Reply to Thread
Results 1 to 13 of 13

Duplicates?

  1. #1
    Registered User
    Join Date
    07-09-2007
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    60

    Duplicates?

    Attachment 346483Not sure if consolidating is the right term here. Have searched some but not sure what to look for. I have a list where companies are repeated multiple times with the same address and some with different address. I am trying to sort by address and have all the repeated address deleted so that I only have one set of data for each address. The purpose of this is to put it into Mappoint so I can map the addresses out so it needs to stay in a format to which I can load it to Mappoint.

    I have deleted all the contact names and other useless info for this task and am down to the following fields required for Mappoint

    Customer Name
    Customer Address
    City
    State
    Zip

    Example of my problem

    Cust Name.............Address..........City..........State...........Zip
    ABC Comp................111 abc Ln......Houston.......TX...........77505
    ABC Comp................111 abc ln.......Houston.......TX..........77505
    EFG Comp................222 EFG Ln......Baytown......TX...........77520
    EFG Comp................222 EFG Ln......Baytown......TX...........77520


    So I would need to delete the duplicate for each company. There are some that have different addresses and I would want to leave those alone. Basically I need to sort by address and at each change of address I need the info and need to delete the repetitive inbetween.
    Last edited by txbullets; 09-19-2014 at 01:59 PM.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Consolidating a worksheet?

    Post a sample workbook with sampel data, but I think you can use a pivot table and be done with this in a few seconds.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    07-09-2007
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    60

    Re: Consolidating a worksheet?

    Sorry it took me a bit to respond. I need to updated my pivot table skills some. Have not used it in a while so gonna play with that and see if it will work. When I use pivot tables I am not getting the format I need. I will try to manipulate it.

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Consolidating a worksheet?

    Post a sample dataset and I will do it for you, its really pretty easy once you start playing around with them.

    http://chandoo.org/wp/excel-pivot-tables/
    http://chandoo.org/wp/2009/08/19/exc...bles-tutorial/
    http://chandoo.org/wp/2010/01/27/pivot-table-tricks/

  5. #5
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Consolidating a worksheet?

    Also, you can use the native function Remove Duplicates.
    http://office.microsoft.com/en-us/ex...001034626.aspx

  6. #6
    Registered User
    Join Date
    07-09-2007
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    60

    Re: Consolidating a worksheet?

    Quote Originally Posted by mikeTRON View Post
    Post a sample dataset and I will do it for you, its really pretty easy once you start playing around with them.

    http://chandoo.org/wp/excel-pivot-tables/
    http://chandoo.org/wp/2009/08/19/exc...bles-tutorial/
    http://chandoo.org/wp/2010/01/27/pivot-table-tricks/

    I am missing something on the pivot table because I can not get the labels right or it wants to sum it. I tried changing it to product and other things but can't. So here it is. There are different contacts which I deleted so there are multiple addresses for one company. at every new address I want a row with column labels as they are now in the sheet. Just delete every row that is a duplicate of the address above it. I will load the Excel sheet as to the first post here in a second

  7. #7
    Registered User
    Join Date
    07-09-2007
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    60

    Re: Consolidating a worksheet?

    sample attached.

  8. #8
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Consolidating a worksheet?

    Hi,

    This can be done by array function,But untill if you have same data twice of more than that it can be done as shown in the attachment.

    Incase of same company difference in other information ,Provide a sample workbook without any confidential data.

    Punnam
    Attached Files Attached Files

  9. #9
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Consolidating a worksheet?

    @ txbullets ,

    What is your expected result.

    Punnam

  10. #10
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Consolidating a worksheet?

    Hi..
    1. Just select the Range from A2:D5 then Click "Remove Duplicates" in the DATA Tab ...
    2. Uncheck "My Data has Headers"
    3. Select the column on which unique items are to be captured and unselect others...
    4. Click Ok..

    You data has been reduced to unique rows based on selection of your BASE Column..
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  11. #11
    Registered User
    Join Date
    07-09-2007
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    60

    Re: Consolidating a worksheet?

    Quote Originally Posted by Punnam View Post
    @ txbullets ,

    What is your expected result.

    Punnam

    Pretty much what you did. I am trying to load them into a mappoint software so I can map it so I don't need repeat addresses. Some companies have multiple locations so I will need those companies listed for each address so I can map each location.

  12. #12
    Registered User
    Join Date
    07-09-2007
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    60

    Re: Consolidating a worksheet?

    OK I feel dumb. This is exactly what I needed. Thank you! That was too easy!

  13. #13
    Forum Expert
    Join Date
    03-28-2014
    Location
    Hyderabad,India
    MS-Off Ver
    Excel 2013
    Posts
    1,887

    Re: Duplicates?

    Let us take the example of
    first company 11111111 it has information in four rows out which 5 have same ADDR1 = HC 2, BOX 756 & row 3 &6 are different but the Pin is same & CONTACT is different for 5 of them so which would you like take as criteria .?

    Punnam

+ 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. [SOLVED] Consolidating Worksheet Data
    By rj_yan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2014, 05:52 AM
  2. Consolidating Worksheet Data
    By rj_yan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-27-2014, 04:24 AM
  3. Consolidating a list into another in the same worksheet
    By Blaketus in forum Excel General
    Replies: 5
    Last Post: 04-22-2011, 02:41 PM
  4. Consolidating files into one worksheet
    By andrewc in forum Excel General
    Replies: 2
    Last Post: 05-07-2008, 08:20 AM
  5. Consolidating worksheet data from many workbooks
    By mlk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-02-2007, 03:29 PM

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