メインコンテンツへスキップ

各行をアルファベット順および個別に一度に並べ替える方法は?

ある範囲のデータがあり、次に示すスクリーンショットのように各行をアルファベット順に並べ替えたい場合、どのように解決できますか? この記事では、Excelでこのジョブをすばやく処理するためのいくつかの方法とコツを紹介します。
docは各行を並べ替えます1

並べ替え機能を使用して、各行をアルファベット順に並べ替えます

数式を使用して各行をアルファベット順にすばやく並べ替えます


矢印青い右バブル 並べ替え機能を使用して、各行をアルファベット順に並べ替えます

各行をアルファベット順に並べ替えるには、並べ替え機能を適用し、[左から右に並べ替え]オプションを選択して、XNUMXつずつ並べ替えます。

1.アルファベット順に並べ替える最初の行を選択し、をクリックします 且つ > 並び替え、そしてポップで ソート警告 ダイアログ、チェック Continue 現在の選択オプションで、をクリックします 並び替え ボタン。 スクリーンショットを参照してください:
docは各行を並べ替えます2

2.次に、 並び替え ダイアログ、クリック オプション 開く ソートオプション ダイアログ、およびチェック 左から右に並べ替え。 スクリーンショットを参照してください:
docは各行を並べ替えます3

3。 次に、をクリックします OK に戻る 並び替え ダイアログで、最初に並べ替える行番号を選択します。 ドロップダウンリストをクリックして、 並べ替え & 注文 必要に応じて。 スクリーンショットを参照してください:
docは各行を並べ替えます4

4。 クリック OK。 選択した最初の行が最小から最大にソートされていることがわかります。 スクリーンショットを参照してください:
docは各行を並べ替えます5

5.上記の1〜4の手順を繰り返して、他の行をXNUMXつずつ並べ替えます。 そして今、各行はアルファベット順にそして個別にソートされています。


矢印青い右バブル 数式を使用して各行をアルファベット順にすばやく並べ替えます

個別に並べ替える必要のある行が数百ある場合、上記の方法は時間の無駄になります。 ここでは、各行を最小から最大、またはその逆にすばやく並べ替えるための数式をいくつか紹介します。

1.並べ替える行の横にある空白のセル(たとえばF2)を選択し、この数式を入力します = SMALL($ B2:$ D2,1)、プレス 入力します キー。 スクリーンショットを参照してください:
docは各行を並べ替えます6

2.次に、次のセルG2に移動し、次の数式を入力します=SMALL($ B2:$ D2,2) を押し 入力します キー。 スクリーンショットを参照してください:
docは各行を並べ替えます7

3.セルM2に、数式を入力します = SMALL($ B2:$ D2,3) を押し 入力します キー、これで最初の行が最小から最大にソートされました。 スクリーンショットを参照してください:
docは各行を並べ替えます8

ヒント: 上記の数式で、B2:D2は並べ替える行の列セルであり、1、2,3、XNUMXは最初に小さい、XNUMX番目に小さい、XNUMX番目に小さいことを示し、必要に応じて変更できます。

4.セルF2:H2(数式セル)を選択し、自動入力ハンドルを、対応する列セルの並べ替えに使用する必要のあるセルにドラッグします。 スクリーンショットを参照してください:
docは各行を並べ替えます9

これで、各行が個別に並べ替えられたので、数式セルをコピーして、必要に応じてデータ範囲の元の値の代わりに値として貼り付けることができます。
docは各行を並べ替えます10

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
Comments (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
instead of using small function, you can use sort function.
ex. =SORT(C2:E2,1,1,TRUE)
and than you can drag and copy per row.
C2:E2 --> column to be sort
1 --> index
1 --> ascending
True --> sort by column
This comment was minimized by the moderator on the site
I cannot thank you enough for this. I've watched youtube videos, read posts, and none of them seemed to understand how I needed to sort each row individually and instantly without also rearranging the others. I gathered two years worth of numeral data for a personal project and it was a big mess! Tens of thousands of rows! I needed the numbers separate in individual cells (originally they weren't, but thats a whole other story!), and now I also needed them in order per row! First I tried simply going row by row, copying, deleting, retyping, pasting; but it was TEDIOUS. Then I tried transposing the tables, sorting-by-ascending column, one by one copying the column, and repasting into a blank chart, then transposing the new chart and copying all, and then pasting back into the original chart; but again - TEDIOUS. Now I will just create an adjacent chart using the formula, copy, paste, DONE!!!!!!!!!!! YAY!!!!!!!! :) THANK YOUUUU :)
This comment was minimized by the moderator on the site
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 ...
This comment was minimized by the moderator on the site
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?
This comment was minimized by the moderator on the site
Did you got the solution for particular issue, You are asking?
This comment was minimized by the moderator on the site
Says you're going to show us how to sort alphabetically then you only use numbers.
This comment was minimized by the moderator on the site
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.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations