


If you are confused with above method, Excel contains a Solver Add-in feature, by using this add-in, you can also identify the numbers which total amount equals a given value.ġ.

#Sum match excel for mac trial
Download and free trial Now!įind cells combination that equal a given sum with Solver Add-in Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Kutools for Excel's Make Up A Number utility can help you to find and list all combinations and specific combinations that equal to a given sum number quickly and easily. =IF(ISNUMBER(MATCH(ROWS($1:1),IF(INDEX(MOD(INT((List2-1)/2^(TRANSPOSE(List1)-1)),2),MATCH(TRUE,MMULT(MOD(INT((List2-1)/2^(TRANSPOSE(List1)-1)),2),Range1)=$C$2,0),),TRANSPOSE(List1)),0)),"X",""), and press Shift + Ctrl + Enter keys together, then drag the fill handle down to cell B8, the last number of the list, and you can see the numbers which total amount is 480 are marked as X in column B, see screenshot:įind and list all combinations that equal a given sum quickly and easily in Excel After creating the range names, please apply the following array formula into cell B1: Click OK to return to the Name Manager dialog, then continue to click New button to create another range name, in the New Name dialog, enter a name List2 into the Name field, and type this formula =ROW(INDIRECT("1:"&2^ROWS(Range1))) ( Range1 is the range name you have created in step1) into the Refers to field, see screenshot:ĥ. In the popped out New Name dialog, enter a name List1 into the Name field, and type this formula =ROW(INDIRECT("1:"&ROWS(Range1))) ( Range1 is the range name you have created in step1) into the Refers to field, see screenshot:Ĥ. After defining a range name for the number list, then you need to create two further range names in the Name Manager box, please click Formulas > Name Manager, in the Name Manager dialog box, click New button, see screenshots:ģ. Select the number list and define this list a range name- Range1 into the Name Box, and press Enter key to finish the range name defined, see screenshot:Ģ.
#Sum match excel for mac how to
How to find all combinations that equal a given sum in Excel?įor example, I have the following list of numbers, and now, I want to know which combination of numbers in the list sum up to 480, in the following screenshot shown, you can see there are five groups of possible combinations that add up equal to 480, such as 300+60+120, 300+60+40+80, etc.
