+ Reply to Thread
Results 1 to 7 of 7

Eliminate unique entries

Hybrid View

fd1263 Eliminate unique entries 10-31-2010, 11:43 AM
zbor Re: Formula needed 10-31-2010, 11:44 AM
martindwilson Re: Eliminate unique entries 10-31-2010, 03:49 PM
fd1263 Re: Eliminate unique entries 11-01-2010, 06:38 PM
shg Re: Eliminate unique entries 11-01-2010, 07:08 PM
teylyn Re: Eliminate unique entries 11-01-2010, 07:19 PM
fd1263 Re: Eliminate unique entries 11-01-2010, 07:44 PM
  1. #1
    Registered User
    Join Date
    10-31-2010
    Location
    Massachusetts, USA
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    3

    Eliminate unique entries

    I have an Excel sheet with 5 columns, Column A has numeric values with coinciding numeric data in B. C is empty, D has numeric values with coinciding numeric data in E. I would like to eliminate unique entries from D so I'm left with matching A and D with coinciding data in B and E.
    Last edited by fd1263; 10-31-2010 at 11:50 AM. Reason: Title not liked

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: Formula needed

    PLease rename your title according to the rules:

    1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more hours have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.
    Never use Merged Cells in Excel

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

    Re: Eliminate unique entries

    post an example work book please its a lot easier to work on and will give you something to reference
    "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

  4. #4
    Registered User
    Join Date
    10-31-2010
    Location
    Massachusetts, USA
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    3

    Re: Eliminate unique entries

    I have a sample copy of a portion of the spread sheet i am using. Normally column B and E do not have the same mtr. readings for the coinciding sleeve entry. What I'm trying to do is eliminate the unique entries from D so that A and D match.
    Attached Files Attached Files

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Eliminate unique entries

    Would code that converts the data (in part) to this be of use?

           --A--- ----B---- C --D--- ----E----
       1   Sleeve   MTRS      Sleeve   MTRS   
       2     4243   905,514     4243   905,514
       3                        4244   542,558
       4     4246   842,037     4246   842,037
       5                        4248   919,223
       6                        5247 3,073,811
       7     7418 4,139,684     7418 4,139,684
       8                        7423   424,198
       9     7429 2,025,076     7429 2,025,076
      10                        7436 2,263,868
      11                        7438 2,644,633
      12     7439 1,527,250     7439 1,527,250
      13                        7440   386,001
      14    13270                             
      15    15146                             
      16    15147    53,364    15147    53,364
      17    15148                             
      18    15149                             
      19    15150   207,709    15150   207,709
      20                       15151 2,756,118
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Eliminate unique entries

    So you want to delete all entries in columns D and E where the Sleeve no in column D is not also present in column A?

    If so, you could put this formula into column F, starting in F3 and copied down

    =IF(ISNA(MATCH(D3,$A$3:$A$43,0)),"delete","")

    Then sort columns D, E and F by the values in column F and delete the ones that have the entry "delete" in column F. After that, you can delete column F, sort the data gain by column D and all should be matched up.

    cheers

  7. #7
    Registered User
    Join Date
    10-31-2010
    Location
    Massachusetts, USA
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    3

    Re: Eliminate unique entries

    Thank you for the quick reply, This should work very well.

+ 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