I have in Column A these strings, I would like to extract First character only, unique, in consecutive rows
Column A
A222
A333
B123
D345
A678
Z256
A456
B777
At B1 result should be :
A
B
D
Z
I have in Column A these strings, I would like to extract First character only, unique, in consecutive rows
Column A
A222
A333
B123
D345
A678
Z256
A456
B777
At B1 result should be :
A
B
D
Z
With Power Query called Get and Transform in your version and found on the Data Tab
Please Login or Register to view this content.
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Apply the formula
Formula:Please Login or Register to view this content.
This works on my version of excel
Available for:
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel for iPad Excel for iPhone Excel for Android tablets Excel for Android phones.
The UNIQUE function returns a list of unique values in a list
Formula for B1 =UNIQUE(LEFT(A1:A8,1))
Last edited by mehmetcik; 10-10-2020 at 11:51 AM.
My General Rules if you want my help. Not aimed at any person in particular:
1. Please Make Requests not demands, none of us get paid here.
2. Check back on your post regularly. I will not return to a post after 4 days.
If it is not important to you then it definitely is not important to me.
Please try at B1
=IFERROR(CHAR(AGGREGATE(15,6,CODE(A$1:A$8)/(FREQUENCY(CODE(A$1:A$8),CODE(A$1:A$8))>0),ROWS(B$1:B1))),"")
For some reason #5, I can not make it work
Is that it? What about the other two suggestions? And what about the detailed response I gave in your other thread? If people bother to try to help you, at least have the courtesy to acknowledge it.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
All ok, I have left them feedback, just wanted to let Bo know that something I can not make it work in his formula, usually he is very good at
When something doesn't work, please provide more detail and attach the workbook.
Really, and what form of communication did you use. I have not received any acknowledgement or information from you regarding my proposed solution.All ok, I have left them feedback, just wanted to let Bo know that something I can not make it work in his formula, usually he is very good at
Nor have I, Alan, for the detailed response I gave in the other thread. Seems like common courtesy is too much to ask.
@AliGW--Seems to be the way of life these days in forums. Truly sad. Wonder why I go to the trouble to offer help some days.
Bo, thanks for attached file, now all ok !
@ionelz Did you read Alansidman, AliGW, Mehmetcik's comments?
I would not happy to offer free help and not get any feedback.
Sorry, something must be wrong, I left reputation to ALL which help on this !
But : #2 works but I wanted Formula, #3 works, #4 I was not able to use it since I do not have Unique, and #5 and #9 works
AT #9, only if you want, I still have an issue, but that because I was not explained right at beginning.
If I have at least one EMPTY row, it doesn't work
At H4, if I reduce Table height from F16 to F12 it works, but with empty rows no
Thanks for the detailed feedback.
Response #15
H4 cell , formula , Drag down
Bo_Ry #9, the formula can still be used, just a small modificationHTML Code:
Array formula , This formula is better and can be arranged in order, from small to large
HTML Code:
Pleas try
with sort
=IFERROR(CHAR(AGGREGATE(15,6,CODE(B$4:B$16)/(FREQUENCY(CODE(B$4:B$16&" "),CODE(B$4:B$16&" "))>0),ROWS(D$4:D4))),"")
or no sort
=IFERROR(LEFT(INDEX(Table1[Cells],MATCH(TRUE,INDEX(ISNA(MATCH(LEFT(Table1[Cells]),H$3:H3,)),),))),"")
Last edited by Bo_Ry; 10-13-2020 at 02:39 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks