Identify numbers in sum using solver in excel
Here is a useful feature I recently found googling for Excel solver examples.
I have summed some random values from the list A1:A11 in C1. How do I find those summed numbers in C1? I am going to use Excel Solver. Using more than 20 values (Column A) is not recommended unless you have a lot of spare time.
Install Solver add-in
- Click Office button
- Click Excel Options
- Click add-ins
- Install Solver
- Click OK
Setup formula
- Double click B12
- Type =SUMPRODUCT(B1:B11,A1:A11) + ENTER
Start Excel 2007 Solver
- Click "Data" in the Ribbon
- Click "Solver"

- Click "Set Target Cell:" button
- Click B12
- Type in "Value of:" window the summed value 2615,4
- Click "By Changing Cells:" button and select B1:B11.
- Click "Add" button

- Click "Cell Reference:" button and select B1:B11
- Select "bin" in drop down menu (triangle)

- Click "OK"

- Click "Options"

- Enable "Assume Linear Model"
- I changed "Max Time:" to 1000 seconds
- Click OK

- Click "Solve"A couple of minutes later.
- Click OK!
External resources
Related posts:
Using Excel Solver to schedule employees
Cash drawer bill extractor template in excel
Find positive and negative amounts that net to zero in excel
Identify missing numbers in a range in excel
Identify missing three character alpha code numbers in excel






















[...] Let´s see how quickly excel solver finds the numbers using the instructions in this post: Identify numbers in sum using solver in excel. [...]
I found this solution of idendtify number in sum using solver in excel. its great. but i couldnt find excel solver in my office 2010.
i have did the same to install solver add in in excel option and then click on solver add in and then okay.
but later i went to Data ribbon and couldnt find Solver option.
Could you please tell me what is the problem in my office 2010
It's in DATA section
I found this:
http://www.addictivetips.com/windows-tips/microsoft-office-excel-2010-solver-add-in/
Solver is located under the Data tab as shown in the screenshot below.
There seems to be something wrong with your excel version. I am using excel 2007 and I have no clue.
Sir;
many many thanks for your unmatched articles provided to the public, you saved my previous time at all
Once again i am thankful to you and my best wishes to you always
Thank you! My data set is 362 cells. It errors me with 'too many variable cells!'
Melynda,
Yes, it would take (almost) forever to calculate 362 cells.
Thank you so much for sharing this!
It helped me a great deal instead of having to find all the possible combinations to get the value i require.
Thanks!
Sherlyn,
Thank you for commenting!
Fantastic solution, thanks!