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.
doc sort each row 1

Sort each row alphabetically one by one with Sort function

Sort each row alphabetically quickly with formulas


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.)

doc advanced sort last name
Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • 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.

arrow blue right bubble Sort each row alphabetically one by one with Sort function


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:
doc sort each row 2

2. Then in the Sort dialog, click Options to open Sort Options dialog, and check Sort left to right. See screenshot:
doc sort each row 3

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:
doc sort each row 4

4. Click OK. You can find the first row you selected has been sorted from smallest to largest. See screenshot:
doc sort each row 5

5. Repeat above 1-4 steps to sort other rows one by one. And now each row has been sorted alphabetically and individually.


arrow blue right bubble Sort each row alphabetically quickly with formulas

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.

doc attention 1  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:
doc sort each row 6

2. Then go to next cell, G2, enter this formula =SMALL($B2:$D2,2) and press Enter key. See screenshot:
doc sort each row 7

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:
doc sort each row 8

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:
doc sort each row 9

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.
doc sort each row 10

doc download 1


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Roy · 28 days ago
    AHA! - 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.
    Roy · 1 months ago
    Great - 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.
    V · 2 years ago
    Says you're going to show us how to sort alphabetically then you only use numbers.
    • To post as a guest, your comment is unpublished.
      Sunny · 2 years ago
      The 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.