Yet another newbie's question: I can't figure out how to sort given code (example in attachment) by 3rd,4th,5th numbers.
Thanks for help.
(I don't know if "minus" is necessary, it was useful to explain the task.)
Yet another newbie's question: I can't figure out how to sort given code (example in attachment) by 3rd,4th,5th numbers.
Thanks for help.
(I don't know if "minus" is necessary, it was useful to explain the task.)
Last edited by GiorgioGJ; 03-31-2021 at 05:06 AM.
Extract 3/5 digits into a "helper" column ans sort on this column
e.g = MID(A3,3,3)*1
Thank you very much. What about if I'd need the minus separator to be inserted and keep text formatting? Sorry for abusing your kindness.... I'm learning Excel from scratch...
Change the MID to reflect the situation with your "-" signs
e.g using Column D
=MID(D3,4,3)*1
starting at 4th character in the text field
@Glenn,
Time for coffee I think: remember KISS ?
This array formula works on my version of Excel... It may/may not work on yours... but whatever... I'd go with John's solution...
=LEFT(INDEX($A$3:$A$13,MATCH(SMALL(MID($A$3:$A$13,3,3)+0,ROW($A$3:$A$13)-ROW($A$3)+1),MID($A$3:$A$13,3,3)+0,0)),2)&TEXT(SMALL(MID($A$3:$A$13,3,3)+0,ROW($A$3:$A$13)-ROW($A$3)+1),"000")&MID(INDEX($A$3:$A$13,MATCH(SMALL(MID($A$3:$A$13,3,3)+0,ROW($A$3:$A$13)-ROW($A$3)+1),MID($A$3:$A$13,3,3)+0,0)),6,255)+0
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
Great help. Congratulations. Wish you a wonderful day (Free).
You're welcome.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks