Find Unique Text Letters Once

Bikefree

New Member
Joined
Apr 24, 2016
Messages
4
This should be easy...I've been playing with it for days but can't find a formula that works? Can you help with a formula that gives the result below in a column of random letters? I want to find the letter(but only once) in the result...

[TABLE="width: 64"]
<colgroup><col style="width:48pt" width="64"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 64"]ABF[/TD]
[/TR]
[TR]
[TD="class: xl64"]ABDF[/TD]
[/TR]
[TR]
[TD="class: xl64"]BCG[/TD]
[/TR]
[TR]
[TD="class: xl64"]BCEG[/TD]
[/TR]
[TR]
[TD="class: xl64"]BEFH[/TD]
[/TR]
[TR]
[TD="class: xl64"]BD[/TD]
[/TR]
[TR]
[TD="class: xl64"]BFG[/TD]
[/TR]
[TR]
[TD="class: xl64"]BFH[/TD]
[/TR]
[TR]
[TD="class: xl64"]BF[/TD]
[/TR]
[TR]
[TD="class: xl64"]C[/TD]
[/TR]
[TR]
[TD="class: xl64"]DFI[/TD]
[/TR]
[TR]
[TD="class: xl64"]FI[/TD]
[/TR]
[TR]
[TD="class: xl64"]J[/TD]
[/TR]
[TR]
[TD="class: xl64"]K[/TD]
[/TR]
[TR]
[TD="class: xl64"]L[/TD]
[/TR]
[TR]
[TD="class: xl64"]M[/TD]
[/TR]
[TR]
[TD="class: xl63"] [/TD]
[/TR]
[TR]
[TD="class: xl65"]ABCDEFGHIJKLM (Result Above)
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Maybe with code ?

Code:
Sub test()Dim mystring As String, lastrow As Long, x As Integer, i As Integer
With ActiveSheet
    lastrow = .Range("A" & Rows.Count).End(xlUp).Row
    For x = 1 To lastrow
        For i = 1 To Len(.Range("A" & x))
            If InStr(1, mystring, Mid(.Range("A" & x), i, 1)) = 0 Then mystring = _
            mystring & Mid(.Range("A" & x), i, 1)
        Next
    Next
    .Range("A" & lastrow + 2) = mystring
End With
End Sub

Kind regards
Leo
 
Upvote 0
Leo,
Unfortunately I have to keep this pure Excel formula so I can utilize the Spreadsheet as part of a questionnaire that runs in a CSS browser extension/application. I do appreciate the effort!!
Bikefree
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top