i cant seem to use the Solver add-in with decimal places. huh?

bigdan

Well-known Member
Joined
Oct 5, 2009
Messages
846
Office Version
  1. 2013
Platform
  1. Windows
I've just learned about Solver add-in today. This will be awesome if I can get it to work! Sadly I haven't yet.

I want to find which numbers out of a list add up to a total I'm looking for. So I might have a total of 5 and I want to know which numbers out of the list 1,2,3 add up to that, and I'd want Solver to tell me that adding 2 and 3 will give me that result.

So I tried it and it worked. Then I tried it again on a different list and it didn't. I suspect the reason is because of the decimals? Not sure but that's my guess. However this is of no help if I can't use decimals.

I'll paste the data and the error messages in screenshots below.

Screenshot
Screenshot
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
i cant figure out how to edit my previous message. is that possible?

anyway so - i kinda figured it out. it wasn't a problem with decimals, i was using the wrong range for the constraints. so that's solved. but i'm finding the program a bit clumsy the way it operates and i wonder if this is my mistake or something else. when i try to set the constraints of the middle column, >=0 is fine, <=1 is fine, but setting to an integer often doesn't work. would anyone know why this is?

 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top