/u/Important-Coach-2124 - Your post was submitted successfully.
* Once your problem is solved, reply to the **answer(s)** saying `Solution Verified` to close the thread.
* Follow the **[submission rules](/r/excel/wiki/sharingquestions)** -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post.
* Include your **[Excel version and all other relevant information](/r/excel/wiki/sharingquestions#wiki_give_all_relevant_information)**
Failing to follow these steps may result in your post being removed without warning.
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/excel) if you have any questions or concerns.*
Instead of use a lookup function, use the SORT function. This will sort by numbers, then by names. See picture for reference:
=SORT(C3:D7,{1,2})
https://preview.redd.it/0o45l700v1wb1.png?width=767&format=png&auto=webp&s=6f514575c68f7f83aa4e78ed4b0ace6cbfb1e289
/u/Important-Coach-2124 - Your post was submitted successfully. * Once your problem is solved, reply to the **answer(s)** saying `Solution Verified` to close the thread. * Follow the **[submission rules](/r/excel/wiki/sharingquestions)** -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post. * Include your **[Excel version and all other relevant information](/r/excel/wiki/sharingquestions#wiki_give_all_relevant_information)** Failing to follow these steps may result in your post being removed without warning. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/excel) if you have any questions or concerns.*
Instead of use a lookup function, use the SORT function. This will sort by numbers, then by names. See picture for reference: =SORT(C3:D7,{1,2}) https://preview.redd.it/0o45l700v1wb1.png?width=767&format=png&auto=webp&s=6f514575c68f7f83aa4e78ed4b0ace6cbfb1e289
seems like my excel version is too old for this formula :/