Nov 18 2021 02:31 AM
Hello Everyone,
This is my data
like -
After sorting, it will come like this -
I want to come like this :
Person 1, Person 3, Person 4, Person 5, Person 101
So, what should i write formula which sort in ascending order Person 1, Person 3, Person 4, Person 5, Person 101?
Please help..??
Nov 18 2021 02:40 AM - edited Nov 18 2021 08:40 AM
Hi,
Strings (letter series) are sorted as strings, that is, alphabetically. I see two solutions:
- using leading 0 in the number
Person 001, Person 002 etc
- or use just numbers (without "Person ")
Kind regards
Hans
Nov 18 2021 02:43 AM
Nov 18 2021 02:43 AM
In your example "Person 1" is in cell A2. You can manually enter "1" in cell B2 and then flashfill range B2:B6. Flashfill can be done by pressing ctrl+E when cursor is in cell B3 in this example.
Then you can apply sort of range A2:B6 in ascending order by column B as shown in attached pdf file.
Nov 18 2021 08:45 AM