KutoolsforOffice — One Suite. Five Tools. Get More Done.

How to Find Number Combinations That Sum to a Target in Excel

AuthorSiluviaLast modified

Can Excel find number combinations that sum to a target value?

Not with a built-in feature. Excel can calculate totals and perform many mathematical operations, but it cannot automatically find all combinations of numbers that equal a specified target. Although this can be achieved with VBA or custom algorithms, these methods are often too complex for everyday users.

Fortunately, Make Up a Number in ZKutools Anywhere for Excel lets you solve this problem quickly by automatically finding matching combinations with just a few clicks.

Whether you use Excel on Windows, Mac, or online, ZKutools Anywhere for Excel helps you quickly find number combinations that add up to a specified target value.

Benefits of Make Up a Number

Find Target Combinations in Seconds
Instead of testing different combinations manually, the tool automatically identifies all matching combinations based on the specified target value, saving significant time and effort.
Handle Large Datasets with Ease
Whether your data contains dozens or hundreds of values, the tool efficiently searches through the entire list and returns matching combinations that would be difficult to find manually.
Flexible Search Control
Customize the search by limiting the number of values in each combination or the maximum number of results returned, allowing you to focus on the combinations that best fit your requirements.

How to Use Make Up a Number

The following example shows how to use Make Up a Number to find combinations that match a target value.

Step 1. Open the Make Up a Number Tool

Click ZKUTOOLS > Make Up A Number.

open the make up a number tool

The Make Up a Number task pane will appear on the right side of the worksheet.

a screenshot of the make up a number pane

Step 2. Configure the Search Settings

In the Make Up a Number task pane:

  1. Select the Source Range containing the numbers you want to search.
  2. Enter the desired value in the Target Sum box.
  3. Click Search.
    a screenshot of configuring the search settings

Step 3. Review and Insert the Matching Combinations

Once the search is complete, all matching combinations appear in the results panel. Each result lists the values that add up to the specified target.

Select the cell where you want to insert the result, then click Insert.

a screenshot showing the search results

Result

As you can see in the screenshot below, the original values, the target sum, and all matching number combinations are inserted into the worksheet starting from the selected cell.

a screenshot of the inserted results
Notes:

To further refine the search, configure the options under Advanced Settings.

You can configure:

  • Number of Combinations — Specify the maximum number of matching combinations to return.
  • Number of Elements per Result — Specify the minimum and maximum number of values allowed in each matching combination.
    a screenshot showing the options under advanced settings

Conclusion

Make Up a Number makes it easy to find number combinations that match a specified target value. By eliminating manual calculations and complicated formulas, it helps you save time and improve accuracy.

Whether you're working with financial records, expense reports, inventory lists, or other datasets, Make Up a Number provides a fast and flexible solution for identifying matching combinations directly in Excel.


Zkutools Anywhere for Excel

ZKutools Anywhere for Excel brings AI-powered assistance and practical Kutools tools directly into Excel across multiple platforms. Whether you work in Excel on the web, Windows, Mac, or iPad, you can create formulas, build tables, process data, and improve productivity more easily.

🌐

Multi-Platform Support

Use it in Excel on the web, Windows, Mac, and iPad.

🤖

AI-Powered Features

Generate formulas, create tables, filter data, extract info, and process text with simple prompts.

🧰

Classic Kutools Tools

Access practical Excel utilities designed to simplify daily spreadsheet tasks.

Table of Contents


ZKutools Anywhere for Excel

  • 🌍 Excel web, desktop, Windows & Mac
  • 🆓 All features are free to access
  • ✨ Free AI tokens included