跳到主要內容

快速生成/列出Excel中某些列表的所有可能組合

Excel的Kutools

提升 Excel 300+
強大的功能

例如,我需要列出A2:A6,B2:B8和C2:C6範圍內三個列表的所有可能組合,如下圖所示。 這三個列表共有175種組合,而我自己列出所有這些組合將非常耗時且容易出錯。 但 Kutools 為 Exce我的 列出所有組合 實用程序可以幫助我們在短時間內在Excel中輕鬆生成並列出給定列表的所有可能組合。  

快速生成/列出Excel中某些列表的所有可能組合


點擊 庫工具 > 插入 > 列出所有組合,請參見屏幕截圖:

 kutools-右箭頭

快速生成/列出Excel中某些列表的所有可能組合

該實用程序將輕鬆在列中列出給定數據列表的所有可能組合。 請執行以下操作:

1。 點擊 庫工具 > 插入 > 列出所有組合.

2.在打開的列出所有組合對話框中,您需要:

(1)點擊 類別 框並選擇 從下拉列表中;

小提示: 請選擇 分離器 如果需要組合添加分隔符,請從下拉列表中選擇。

(2)點擊 瀏覽 按鍵  選擇要從中生成組合的數據列表,然後單擊 OK 按鈕。

尖端:您也可以在 文本 框直接輸入,請用逗號“,”分隔每個條目。  

(3)點擊 加入 按鈕。

(4)重複上述步驟(1)–(3),根據需要添加更多數據列表和分隔符。

3.完成設置後,請單擊 Ok 按鈕,在彈出的對話框中,指定將輸出所有組合的目標範圍的第一個單元格地址,然後單擊 OK 按鈕。

現在,將生成給定數據列表的所有可能組合,並立即將其列出到指定範圍內。

備註:將值或分隔符插入對話框後,您可以檢查要列出其組合的項目,並取消選中不需要的其他項目。


演示:快速生成/列出某些列表的所有可能組合

Excel的Kutools:具有300多個方便的Excel加載項,可以在30天內免費試用,沒有任何限制。 立即下載並免費試用!

生產力工具推薦
以下工具可以極大地節省您的時間和金錢,哪一種適合您?
Office Tab: 在辦公室中使用方便的選項卡,作為Chrome,Firefox和New Internet Explorer的方式。
Excel的Kutools: 超過300種Excel高級功能 2021、2019、2016、2013、2010、2007 和 Office 365。

Excel的Kutools

上述功能只是Kutools for Excel的300個強大功能之一。

專為 Excel(Office) 2021、2019、2016、2013、2010、2007 和 Office 365 設計。免費下載和使用 30 天。

Kutools for Excel的屏幕截圖

btn了解更多      btn下載     btn購買

Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi I'm looking to create all combinations of a given data set, without a value being used twice in one sequence.





Eg below example, think like its the lottery and you don't want numbers doubling in a combination?



When imputing multiple rows of the same 9 numbers 2, 7, 9, 11, 17, 20, 22, 24, 27, in 6 rows, for a sequence of six numbers, eg 2 -9-11-22-24-27



However as the numbers are in all columns and there is no rule in the process to stop it from using a value twice in a sequence. Eg. list after using the above method

17 17 17 17 17 17

17 17 17 17 17 17

17 17 17 17 17 17

17 17 17 17 17 9

17 17 17 17 17 9

17 17 17 17 17 9

17 17 17 17 17 27

17 17 17 17 17 27

17 17 17 17 17 27





As you can see I want to stop numbers from appearing more then once?
This comment was minimized by the moderator on the site
Hi I'm looking to create all combinations of a given data set, without a value being used twice in one sequence.


Eg below example, think like its the lottery and you don't want numbers doubling in a combination?

When imputing multiple rows of the same 9 numbers 2, 7, 9, 11, 17, 20, 22, 24, 27, in 6 rows, for a sequence of six numbers, eg 2 -9-11-22-24-27

However as the numbers are in all columns and there is no rule in the process to stop it from using a value twice in a sequence. Eg. list after using the above method
17 17 17 17 17 17

17 17 17 17 17 17

17 17 17 17 17 17

17 17 17 17 17 9

17 17 17 17 17 9

17 17 17 17 17 9

17 17 17 17 17 27

17 17 17 17 17 27

17 17 17 17 17 27


As you can see I want to stop numbers from appearing more then once?
This comment was minimized by the moderator on the site
Hi i am looking out to build truck optimization tool
If you can help with this
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
have the same problem?!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations