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

MicrosoftExcelで動的データを並べ替える方法は?

たとえば、文房具店のストレージデータをExcelで管理していて、ストレージデータが変更されたときに自動的に並べ替える必要があるとします。 Excelで動的ストレージデータを自動的に並べ替えるにはどうすればよいですか? この記事では、Excelで動的データを並べ替えるトリッキーな方法を紹介し、元のデータが一度に変更されたときに並べ替えの更新を自動的に維持します。

数式を使用してExcelでシナミックデータを並べ替える


数式を使用してExcelでシナミックデータを並べ替える

1.元のデータの先頭に新しい列を挿入します。 以下のスクリーンショットのように、元のデータの前に列番号を挿入します。

2.例に従って、数式を入力します = RANK(C2、C $ 2:C $ 6) セルA2で、元の製品をストレージ別に並べ替え、を押します。 入力します キー。

3.セルA2を選択し続け、ドラッグします フィルハンドル セルA6まで移動して、No。列のすべての残りの番号を取得します。

4:元のデータのタイトルをコピーして、E1:G1などの元のテーブルのほかに貼り付けます。 「希望番号」欄に、1、2、…などの番号順と同じシーケンス番号を挿入します。 スクリーンショットを参照してください:

5.数式を入力します = VLOOKUP(E2、A $ 2:C $ 6,2、FALSE) セルF2に挿入し、 入力します キー。

この式は、DesiredNOの値を探します。 元のテーブルに表示し、対応する製品名をセルに表示します。

Note:[製品]列または[ストレージ]列に繰り返しまたは同点が表示される場合は、この機能を適用することをお勧めします =IFERROR(VLOOKUP(E2,A$2:C$6,2,FALSE), VLOOKUP(E2,A$2:C$6,2,TRUE))

6.セルF2を選択し続け、フィルハンドルをセルF6までドラッグしてすべての製品名を取得し、範囲F2:F6を選択し続け、フィルハンドルを範囲G2:G6まで右にドラッグしてすべてのストレージ番号を取得します。

次に、以下のスクリーンショットに示すように、ストレージごとに降順で並べ替えられた新しいストレージテーブルを取得します。

文房具店がさらに145本のペンを購入し、今では合計200本のペンがあるとします。 ペンのストレージの元のテーブルを変更するだけで、新しいテーブルが瞬く間に更新されることがわかります。次のスクリーンショットを参照してください。

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

🤖 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 (49)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
hi,, what if there will be more than to numbers that were ties?
This comment was minimized by the moderator on the site
Wonderful....Thanks this helped me
This comment was minimized by the moderator on the site
I had lost the ability to sort several rows of information on one page of a spreadsheet with many pages. After trying to fix the situation by reworking formulas none of the information will sort now. Can I fix this without having to recreate page that is the problem. Same information needs to be transferred to another page that contains all information from all the pages; this too stops sort there. Big problem and don't know how to solve it.
This comment was minimized by the moderator on the site
i need to convert a number into another format.lets take an example - no =12394567 i need to convert it into 674501239. its simple (last 2 digit in first ,then 2nd last 2 digits then add a zero(0) then first four digits in the last. can you please guys tell me the formula for this?
This comment was minimized by the moderator on the site
=CONCATENATE(RIGHT(A1,2),MID(A1,5,2),"0",LEFT(A1,4)) will get you that order of digits.
This comment was minimized by the moderator on the site
you can use the CONCATENATE and then LEFT or RIGHT in excel formula. Its easy, Got it ?
This comment was minimized by the moderator on the site
Sure, mail me the detail and I will show you the finished product
This comment was minimized by the moderator on the site
Hi, no problem, email me and I will show hulu how the finished product works.
This comment was minimized by the moderator on the site
Hi Dear, I have a sheet with 100 items , each item has a specific cost that happens in one year .I want to create another sheet that shows only the item that has cost in one year automatically ? for example all of the item with item No. and description and cost in 2016 and then for 2017 and so on... thanks
This comment was minimized by the moderator on the site
how can i sort lowest to highest value (a to z) in your example i.e lowest storage to highest storage. i use your formulla '=RANK(C2,C$2:C $6) + COUNTIF(C$2:C2, "="&C2)-1'" & "=IFERROR(VLOOKUP(E2,A$2:C$6,2,FALSE), VLOOKUP(E2,A$2:C$6,2,TRUE))" . al is going well but i cannot sort lowest to highest.
This comment was minimized by the moderator on the site
Kedirech, you rock!! The COUNT thing eliminates ties!! I've had this problem for years but now this is the solution!! Thanks!!
This comment was minimized by the moderator on the site
Hi, I do it with if statements alone, how do I let you look at my file?
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations