+ Reply to Thread
Results 1 to 7 of 7

Delete duplicates with lower case and upper case taken into account?

  1. #1
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Delete duplicates with lower case and upper case taken into account?

    Here's an example of cells that I've got:

    aaEeppsgsgDsds
    AaEePpsgsgDsds
    aaEePpsgsgdsds
    aaEePpsgsgdsds
    AaeePpSgsgdsds
    AaEeppSgsgdsds
    AaEePpSgsgdsds
    AaEePpSgsgDsds
    aaEePpsgsgdsds
    AaEeppSgsgdsds

    Is there a formula I can use (NOT a macro and not a sorting button or anything) that I can put into a new column that deletes duplicates? Maybe it's possible to put formulas in a new column and only get one copy of each original cell, and at the same time taking upper case and lower case into account? The cells need to be identical even down to the upper and lower case letters for them to be deleted.

    The cells will contain formula and I need the formulas to be transferred into the new cells as well, so no matter what letters I change in the first cells, the new set of columns will have to re-sort and delete new duplicates that may occur.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Delete duplicates with lower case and upper case taken into account?

    You don't put in a file, so we can't test it.

    sumif($a$1:$a1,$a1)

    then select on the values with the result 1.

    or select on the values > 1 and delete them.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Delete duplicates with lower case and upper case taken into account?

    Hi Tinwelende

    Perhaps something along the lines of the attached file. The formula's are array formula's (CSE to commit).
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  4. #4
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Re: Delete duplicates with lower case and upper case taken into account?

    That works PERFECTLY, Kevin! Thank you so much!

    I need this to work for 16 384 rows. If I dragged the formula down, it didn't work for the next cells. What did I do wrong?

    Is there also a way of having it say how many percentages of the original cells were of a certain type?

    Example:

    AaeePpSgsgdsds 30 %
    AaEeppSgsgdsds 25 %

    and so on...?

  5. #5
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Delete duplicates with lower case and upper case taken into account?

    You will need to extend/adjust the ranges to suit your data and remember it is an array formula (CTRL + SHIFT + ENTER to commit, then copy down).

  6. #6
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Re: Delete duplicates with lower case and upper case taken into account?

    I don't get it to work. Maybe I'm changing the wrong data. The formula in the first cell of formulas is:

    =OMFEL(INDEX($A$2:$A$11;PASSA(0;FREKVENS(OM(EXAKT($A$2:$A$11;TRANSPONERA($C$1:C1));PASSA(RAD($A$2:$A$11);RAD($A$2:$A$11));"");PASSA(RAD($A$2:$A$11);RAD($A$2:$A$11)));0));"")

    (in Swedish).

    From what I understand I need to change all the "11" into "16385", but when I do, that first cell becomes blank and the results appear after the 11:th row... I'm clearly doing something wrong...

  7. #7
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Sweden
    MS-Off Ver
    Excel 2010
    Posts
    153

    Re: Delete duplicates with lower case and upper case taken into account?

    I've finally learned how array formulas work, so I think it's time to give this another shot!

    I just have one last question before I think I'll get it to work:

    If I want the range to be Q2 through Q16385 and the results to end up in AB2 and downwards - How should I then put the formula?

+ 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