How to sort each row alphabetically and individually at once?
Supposing you have a range of data, and now you want to sort each row alphabetically and individually as below screenshot shown, how can you solve it? In this article, I will introduce some methods and trick on handling this job in Excel quickly.
Advanced Sort -- By Last Name (sort data based on criteria, such as sort by text length, sort by last name. sort by absolute value and so on.)
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
To sort each row alphabetically and individually, you can apply Sort function and choose Sort left to right option and then sort them one by one.
|Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.|
1. Select the first row you want to sort alphabetically, and click Data > Sort, and in the popping Sort Warning dialog, check Continue with the current selection option, and click the Sort button. See screenshot:
2. Then in the Sort dialog, click Options to open Sort Options dialog, and check Sort left to right. See screenshot:
3. Then click OK to go back to Sort dialog, and select the row number you want to sort first in the Row drop down list, and then specify Sort On and Order as you need. See screenshot:
4. Click OK. You can find the first row you selected has been sorted from smallest to largest. See screenshot:
5. Repeat above 1-4 steps to sort other rows one by one. And now each row has been sorted alphabetically and individually.
If there are hundreds of rows needed to be sorted individually, above method are time-wasted. Here I introduce some formulas for you to quickly sort each row individually from smallest to largest or vice versa.
|Kutools for Excel's Auto Text, collect all formulas to a group as auto text, you can insert them anytime as you want whithout remembering! Free Download Now!|
1. Select a blank cell next to the rows you want to sort, F2 for instance, enter this formula =SMALL($B2:$D2,1), and press Enter key. See screenshot:
2. Then go to next cell, G2, enter this formula =SMALL($B2:$D2,2) and press Enter key. See screenshot:
3. In cell M2, enter the formula =SMALL($B2:$D2,3) and press Enter key, now the first row has been sorted from smallest to largest. See screenshot:
Tip: in above formulas, B2:D2 is the column cells in the row you want to sort, and 1, 2,3 indicate the first smallest, the second smallest, the third smallest, you can change them as you need.
4. And select the cells F2: H2 (the formula cells) and drag auto fill handle over the cells you need to use to sort the corresponding column cells. See screenshot:
Now each row has been sorted individually, you can copy the formula cells and paste them as value to instead of the original value in the data range as you need.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 28 days agoAHA! - right! - I know WHAT i need to do - now I just need to learn how to write the blimming macro to: set up a do-while loop to trip down the rows until a blank entry is found (end of range):for each populated cell found; select first cell to be processed:Assign value of target cell to a variable: Insert temporary new first row>insert temp new column 'a': copy and paste value into cell A1; convert text to columns; select generated values; cut and paste special (transpose) into temp column A; sort column a in ascending order; insert a concatenation formula into the original cell to capture values in A1&A2&A3 etc; (probably using another loop to capture populated cell values) copy and paste special (values) into original cell; remove temp column: remove temp Row A: select next cell and repeat the loop. Sounds simple enough ...
- To post as a guest, your comment is unpublished.· 1 months agoGreat - now then: How can I sort multiple rows of TEXT values alphabetically - (something akin to the 'Small' function that will work with text values? - The sorting each row individually method works - but since I have over 6 thousand rows - and zero boredom threshold - I'm hoping that someone has managed to put together a formula solution (ideally) of a maco tool?
- To post as a guest, your comment is unpublished.· 2 years agoSays you're going to show us how to sort alphabetically then you only use numbers.
- To post as a guest, your comment is unpublished.· 2 years agoThe first method Sort each row alphabetically one by one with Sort function can sort each row alphabetically, the second one only work for numbers, thank u for ur message.