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

Excelで特定の合計に等しいすべての組み合わせを簡単に見つける

Kutools for Excel

300 以上で Excel を強化
強力な機能

数値(整数、XNUMX進数、または負の数)のリストがあり、ここで、これらの数値から、指定された合計に等しいすべての可能な組み合わせを見つけたいとします。 通常、数式、ソルバーアドイン、またはユーザー定義関数を使用してそれを実現できますが、時間がかかり、処理が簡単ではありません。 ここで便利な 数字を作る の有用性 Kutools for Excel、与えられた合計に等しいすべての組み合わせを見つけることは、Excelでこれほど簡単ではありませんでした。

与えられた合計に等しいすべての組み合わせを見つける


与えられた合計に等しいすべての組み合わせを見つける

以下のスクリーンショットに示すように、合計3になる範囲B11:B520の数値のすべての可能な組み合わせを見つけるには、次のように数値の作成ユーティリティを試してみてください。

1。 クリック クツール > コンテンツ > 数字を作る.

ショットは番号03を構成します

2。 の中に 数字を作る ダイアログボックスで、以下の設定を行ってください。

  • 情報元 ボックスで、番号リストを選択して、合計で520になる番号を見つけます。
  • オプション セクションで、520を入力します 合計 テキストボックス;
  • OK ボタン。 スクリーンショットを参照してください:

3.次は 数字を作る ダイアログボックスで、組み合わせを出力するセルを選択し、[ OK ボタン。 次に、 Kutools for Excel 作成される組み合わせの数を示すダイアログがポップアップし、クリックします OK.

合計520までの選択された番号のすべての可能な組み合わせが次のようにリストされていることがわかります。

ノート:

1.すべての組み合わせを生成するのではなく、組み合わせの数と各組み合わせの要素の数を指定することはオプションです。 以下のスクリーンショットに示すように、組み合わせの数を4として指定し、各組み合わせの要素の数を1から4まで指定すると、次の結果が得られます。

結果:

2.この強力な機能は、XNUMX進数と負の数にも適用できます。スクリーンショットを参照してください。

そして、以下のスクリーンショットのような結果が得られます。

3.確認できます 新しいシートに保存 組み合わせを新しいシートに出力するボックス。


与えられた合計に等しいすべての組み合わせを見つける

Kutools for Excel 300以上の便利なExcelツールが含まれています。 30日以内に制限なしで無料でお試しいただけます。 今すぐ無料トライアルをダウンロードしてください!


推奨される生産性ツール
次のツールは時間とお金を大幅に節約できますが、どれがあなたに適していますか?
Office Tab: Officeで便利なタブを使用する、Chrome、Firefox、およびNew InternetExplorerの方法として。
Kutools for Excel: Excel用の300以上の高度な機能 2021、2019、2016、2013、2010、2007、およびOffice365。

Kutools for Excel

上記の機能は、Kutools forExcelの300の強力な機能のXNUMXつにすぎません。

Excel(Office)2021、2019、2016、2013、2010、2007、およびOffice365用に設計されています。無料でダウンロードして30日間使用できます。

Excel用のKutoolsのスクリーンショット

btn続きを読む      btnダウンロード     btn購入

Comments (19)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Is it possible to consider repetition of the same number as well?
For example:
numbers: 10 - 20 - 40
Given number: 90

Combination: 40 - 40 - 10

Thank you!
This comment was minimized by the moderator on the site
Hi Giuseppe,

Sorry for the inconvenience. If your original data doesn't contain any duplicates, then duplicate values cannot be generated from it. Creating duplicate values for the same number would result in numerous combinations, which is generally not advisable due to complexity.
This comment was minimized by the moderator on the site
I do not know about others, but I still have it.
This comment was minimized by the moderator on the site
There is no "Make up a number" under Content in my Kutools, has this feature been removed?
This comment was minimized by the moderator on the site
Hi Alex Ramaker,
I am sorry for the inconvenience. Can you tell me which Kutools version are you using? If you can't find it under the Content group, please press the Alt + S keys to open the Kutools search box and type in "Make up a number", and then the feature name will be listed under the search box. Just click on it to activate the feature.
https://www.extendoffice.com/images/stories/comments/comment-picture-zxm/make_up_a_number.png
This comment was minimized by the moderator on the site
I am also missing features in the Content section including Make Up a Number and Data Association and using Alt + S does not give me an option to search functions. Version is 19.0. Kutools was downloaded to my work machine through my organization's catalog, is it possible certain features are blocked?
This comment was minimized by the moderator on the site
Hi Sylvia,

The Make Up a Number feature was released in version 23.00 and the Data Association feature was released in version 25.00.
You are using an old version of Kutools and It’s the lifetime license with the 2-year free update support.
After the 2-year free update support, you cannot update to any new versions but you can still use the old versions of the software.
After the 2-year free update support, you will need to purchase a new version to use the features in the new version.
This comment was minimized by the moderator on the site
The bug has not been fixed yet. Even though I select one output, and wait forever for the answer, I still get an error message stating that the tool can't handle more than 1,600+ answers. I did not ask for that many, I asked for *one*.
This comment was minimized by the moderator on the site
Hi Cathy,
Sorry for the convenience and thanks for your support.
Our developers are working on upgrading this feature to have a better and fast way to deal with big data. And the new version will be released soon.
Please stay tuned for our updates!
This comment was minimized by the moderator on the site
Was the bug fixed? What was great? Thank you.
This comment was minimized by the moderator on the site
This is so great, Thanks
This comment was minimized by the moderator on the site
Same here. The function gets hung-up when searing more than 1000 numbers. I do see a progress bar, but it continues to get stuck at 6%. I have been using their products for close to a decade; it would be nice if they fixed/improved this. I was told to install latest version. I wouldn't know how to install anything other than the latest version.
This comment was minimized by the moderator on the site
Hi Tony,
Sorry for the convenience and thanks for your support for close to a decade.
Our developers are working on upgrading this feature to have a better and fast way to deal with big data, and it will be avaliable in the next release.
By the way, do the 1000+ numbers you used include positive numbers, negative numbers and decimal numbers? Do you mind send us the sample file for testing via ?
This comment was minimized by the moderator on the site
Anyone able to get this to work? The Processing please wait is taking forever.. Don't want to cancel

This comment was minimized by the moderator on the site
I'm having this problem! Did you get it to work?
This comment was minimized by the moderator on the site
instead of "processing, please wait" it needs to have a counter which displays either how much time is estimated to be remaining to calculate or an actual counter of the calculations done and remaining to be counted. ie i have waited over 4 hours for the program to work out my 44C8 query (177m combinations) but i don't know whether the program has crashed or is still calculating.
This comment was minimized by the moderator on the site
Still going after another 6 hours (10hrs all up). i assume it has crashed and will force close the program.
This comment was minimized by the moderator on the site
ok just tried a 35C8 and it took just over 90mins, so maybe 44C8 takes 11.5hrs.
This comment was minimized by the moderator on the site
È possibile escludere delle combinazioni da quelle trovate ?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations