+ Reply to Thread
Results 1 to 5 of 5

Excel Solver: How to make the Changing Variables change by only max 2 decimal places?

Hybrid View

Bulrathi Excel Solver: How to make the... 01-01-2017, 05:37 PM
mehmetcik Re: Excel Solver: How to make... 01-01-2017, 06:52 PM
Bulrathi Re: Excel Solver: How to make... 01-01-2017, 06:54 PM
mehmetcik Re: Excel Solver: How to make... 01-01-2017, 07:30 PM
Bulrathi Re: Excel Solver: How to make... 01-01-2017, 07:38 PM
  1. #1
    Registered User
    Join Date
    01-01-2017
    Location
    Sao Paulo
    MS-Off Ver
    2013
    Posts
    8

    Excel Solver: How to make the Changing Variables change by only max 2 decimal places?

    I got a range of Changing Variables that I need to solve to achieve an optimal solution. The problem is that solver keeps changing them by some super high precision 0.000000000
    I want Solver to only change them by 0.00 (2 decimal places) max.
    How can I do this? I tried to play around with the precision option but it looks like that relates to the Constraint and not the changing variables
    Any help is appreciated

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Excel Solver: How to make the Changing Variables change by only max 2 decimal places?

    There is an option to set acurracy of calculations as displayed.

    Options, Advanced, When calculating this workbook, acurracy of calculations as displayed
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    01-01-2017
    Location
    Sao Paulo
    MS-Off Ver
    2013
    Posts
    8

    Re: Excel Solver: How to make the Changing Variables change by only max 2 decimal places?

    Quote Originally Posted by mehmetcik View Post
    There is an option to set acurracy of csalculations as displayed.
    Are you sure you are not confusing with the accuracy of the Constraint? I cannot find anything related to the Changing Variables
    I already formatted the cell range to be 2 decimals long but it seems that Solver overrides that and doesnt care
    Last edited by Bulrathi; 01-01-2017 at 06:58 PM.

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Excel Solver: How to make the Changing Variables change by only max 2 decimal places?

    In a column A set the display as decimal with two decimal places

    Enter the formula
    Formula: copy to clipboard
    =22/7
    into A1
    In B1 enter the formula =A1*7 you will get the value 22.

    Set the accuracy as displayed and enter =A1*7 in B1 and the value you now get will be 21.98

  5. #5
    Registered User
    Join Date
    01-01-2017
    Location
    Sao Paulo
    MS-Off Ver
    2013
    Posts
    8

    Re: Excel Solver: How to make the Changing Variables change by only max 2 decimal places?

    Quote Originally Posted by mehmetcik View Post
    In a column A set the display as decimal with two decimal places

    Enter the formula
    Formula: copy to clipboard
    =22/7
    into A1
    In B1 enter the formula =A1*7 you will get the value 22.

    Set the accuracy as displayed and enter =A1*7 in B1 and the value you now get will be 21.98
    accuracy as displayed worked. very good
    now if I could only solve this
    http://www.excelforum.com/showthread...8232&p=4551803

    everything would work perfectly

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. changing the decimal places without rounding the numbers
    By the_reporter in forum Excel General
    Replies: 5
    Last Post: 11-09-2016, 06:44 PM
  2. [SOLVED] Excel 2016 - Changing the number of decimal places displayed in trendline equations
    By Statsnut64 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-02-2016, 04:57 PM
  3. Excel changing numberto add decimal places
    By joebee78 in forum Excel General
    Replies: 1
    Last Post: 01-30-2013, 12:56 PM
  4. [SOLVED] How to Make Decimal Places Automatic
    By Cansa in forum Excel General
    Replies: 6
    Last Post: 09-26-2012, 04:04 PM
  5. Change Excel default number of decimal places
    By MCCCLXXXV in forum Excel General
    Replies: 4
    Last Post: 11-04-2008, 04:27 PM
  6. Changing default decimal places
    By Zecarioca in forum Excel General
    Replies: 2
    Last Post: 04-13-2005, 04:06 PM
  7. Replies: 1
    Last Post: 02-23-2005, 07:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1