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

Excelで可能なすべての4桁の組み合わせのリストを生成するにはどうすればよいですか?

場合によっては、4から0までの可能な9桁の組み合わせすべてのリストを生成する必要があります。これは、0000、0001、0002…9999のリストを生成することを意味します。 Excelでリストタスクをすばやく解決するために、いくつかのトリックを紹介します。

式と可能なすべての4桁の組み合わせのリスト

可能なすべての4桁の組み合わせのリストと[すべての組み合わせのリスト] 良いアイデア3

シーケンス番号の挿入で可能なすべての4桁の組み合わせを一覧表示します 良いアイデア3


Excelでは、以下の数式を使用して、4から0までの可能な9桁の組み合わせをすべて一覧表示できます。

空白のセルを選択して、この数式を入力します = TEXT(ROW(A1)-1、 "0000") それに、を押します 入力します キーを押してから、4桁の組み合わせがすべて表示されるまで、自動入力ハンドルを下にドラッグします。

ドキュメントリスト4桁の組み合わせ1


すべての組み合わせがリストされるまで下にドラッグする式では、面倒です。 ただし、 Kutools for Excel インストールすると、使用できます すべての組み合わせを一覧表示 4桁すべての組み合わせをすばやく一覧表示するユーティリティ。

Kutools for Excel, 以上で 300 便利な機能は、あなたの仕事をより簡単にします。 

インストールした後 Kutools for Excel、以下のようにしてください:(今すぐExcel用のKutoolsを無料でダウンロードしてください!)

1.セルA1を選択し、そのセルに0を入力してから、次のセルに移動して1を入力します。 次に、A1とA2を選択し、9番が表示されるまで自動入力ハンドルを下にドラッグします。 スクリーンショットを参照してください:

ドキュメントリスト4桁の組み合わせ2

2.次に、列を次のようにフォーマットする必要があります テキスト (列は組み合わせを配置します)、空白の列ヘッダーをクリックし、列Fと言い、右クリックして選択します セルの書式設定、および選択 テキスト タブの セルの書式設定 ダイアログをクリックし、 OK 。 スクリーンショットを参照してください:

ドキュメントリスト4桁の組み合わせ3

3。 クリック クツール > インセット > すべての組み合わせを一覧表示。 スクリーンショットを参照してください:

ドキュメントリストすべての数字の組み合わせ12

4。 A すべての組み合わせを一覧表示 ダイアログがポップアップし、以下の操作を行う必要があります。

(1)選択 セクションに タイプ リスト。

(2)をクリック ドキュメントボタン 番号リストを選択するには(カンマで区切った番号をテキストボックスに直接入力することもできます)、[ Add 最初のリストをに追加するには 組み合わせリスト;

(3)手順(2)をXNUMX回繰り返して、他のXNUMXつの番号リストをに追加します。 組み合わせリスト.

ドキュメントリスト4桁の組み合わせ12

5。 クリック Ok。 これで、結果を入力するセルを選択するように促すダイアログが表示されます。ここでは、フォーマットする列の最初のセルを選択する必要があります。 テキスト.

ドキュメントリスト4桁の組み合わせ6

6。 クリック OK。 これで、4〜0の9桁の組み合わせがすべてリストされます。

ドキュメントリスト4桁の組み合わせ7

リストすべての組み合わせの詳細については、ここをクリックしてください


In Kutools for Excelは、使用することができます シーケンス番号を挿入 この課題も解決します。

インストールした後 Kutools for Excel、以下のようにしてください:(今すぐExcel用のKutoolsを無料でダウンロードしてください!)

1.広範囲のセル(100000セル以上)を選択し、をクリックします クツール > インセット > シーケンス番号を挿入。 スクリーンショットを参照してください:

ドキュメントリストすべての数字の組み合わせ13

2.次に、 シーケンス番号を挿入 ダイアログ、以下のようにします:

(1)をクリック 新作 新しいシーケンスを作成します。 スクリーンショットを参照してください:

ドキュメントリスト4桁の組み合わせ9

(2)タイプ 0 として 開始 数、 1 として インクリメント, 4 として 桁数、チェック 終了番号 オプションとタイプ 9999 テキストボックスに。 スクリーンショットを参照してください:

ドキュメントリスト4桁の組み合わせ10

3。 クリック Add このシーケンスルールを追加するには、をクリックします 充填範囲。 スクリーンショットを参照してください:

ドキュメントリスト4桁の組み合わせ11

挿入シーケンス番号の詳細については、ここをクリックしてください。

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

🤖 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 (20)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi everyone, how I can generate a list of 4 digits passcode where the 2nd number will always be 7 and the last number will always be 6
X7X6
This comment was minimized by the moderator on the site
Il primo metodo con la formula non funziona. Mi dice che gli elementi della formula sono insufficienti e sono sicura di aver scritto correttamente
This comment was minimized by the moderator on the site
Hi, Sara Cutelli, the formula provided only work for English version, may be you can try this formula =TESTO(RIF.RIGA(A1)-1;"0000")
This comment was minimized by the moderator on the site
For simplicity, lets say my values are letters, there are 16 of them.

a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p

I need all 3 letter sets, except no repeated letters.
And I also do not need different order sequences, example: I do not need all of these, just one: abc, bca, cab, acb, bac.
How would I get this?
This comment was minimized by the moderator on the site
Hi, I found a code for solving your job. You can view this tutorial, How to list all possible combinations from single column in Excel? the second method may help you.
This comment was minimized by the moderator on the site
Sorry, I have not found any solution for yor question.
This comment was minimized by the moderator on the site
36930.15
87000
62974
56812.54
44475
40500.23
38925
38250
35571.52
34049.98
27272
26100
24975
22050
20025
19811.03
18450
16650
15000
15000
15000
15000
15000
15000
15000
15000
15000
15000
15000
15000
13933.01
13857.55
10951
10687.04
7650
7546.77
6823.96
5922
5834.333
5732
5411
3083
1851
1217.46
1100
1017.7
40


i WANT MAXIMUM COMBINATION VALUE HOW DO I GET IN EXCEL
This comment was minimized by the moderator on the site
Hi, SACHIN, you can use the List all combination utility of Kutools for Excel to list all combinations, then use the Select cells with max or min value utility of Kutools for Excel to find tge maximum combination value.
This comment was minimized by the moderator on the site
hi from numbers 1 to 8 how many mixed 4 number combinations do i get
This comment was minimized by the moderator on the site
Hi,dinesh,just try the third method, you can get the final result by yourselft.
This comment was minimized by the moderator on the site
I WANT COMBINATION OF 1,2,3,4,5,6,7,8 PLEASE PROVIDE THE EXCEL SHEET

T
This comment was minimized by the moderator on the site
Just try above method, you can do by yourself.
This comment was minimized by the moderator on the site
I have a question! How to list all possible combination of numbers? For example, I have these numbers: 2, 2, 2, 1, 0. I want to generate all possible combinations of these five numbers. For example 22210, 10222, 21220, 20122, 21022... and so on. Please help!
This comment was minimized by the moderator on the site
Dear Frıend.
5 number permutations that what you want
Not combonatıons
If you know Mıctosoft365 Excel you can easyly create one changing dıgıts
Have z nıce day
This comment was minimized by the moderator on the site
Hello. Thanks for the List All combinations tool. However, some combinations exceed the total number of rows excel can offer in a given column (1,048,576). Is it possible to let the list continue in another column within the same sheet? Or even have the tool in word or text which doesn't limit the rows? I appreciate your feedback!
This comment was minimized by the moderator on the site
Sorry, this is too difficult to execute.
This comment was minimized by the moderator on the site
Hi Mr.Sunny can u sove this I have 1,2,3....22 but I pick only any 11 Numbers order not matter what are the list of possibilities
This comment was minimized by the moderator on the site
you can create all the possibilities of a group of numbers in the number program mobile app.
This comment was minimized by the moderator on the site
Hi, dharmendar, you can try to use Kutools for Excel‘s Select and Sort Randomly feature to select 11 numbers randomly from the 1,2,3...22 list.
This comment was minimized by the moderator on the site
hi. thanks for the stuff
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations