+ Reply to Thread
Results 1 to 6 of 6

Solver add-in not working - error in model

  1. #1
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Solver add-in not working - error in model

    Hi,

    I want to calculate a system of 2 equations with 2 variables in excel. Using solver add-in to calculate results in error:

    Error in model. Please verify that all cells and constraints are valid.

    ...and they are.

    I did this calculation in a hand calculator and I got the results that appear in the excel i'll attach. (the variables are x and Fc)

    That solution in fact is not 100% correct, because cells B9 and D9 are not exactly null, but I accept that. They can be -+ 5 apart from 0.

    So why the solver error?

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Solver add-in not working - error in model

    Merged cells... scourge of Excel. You seem to have taken a special effort to make sure hardly any cells at all aren't merged!

    Have a quick look at this forum and you will see the prevailing contributor opinion on merged cells; 'unmitigated scorn' would probably cover my viewpoint.

    After unmerging cells, results are:
    2492.27
    0.57

    HTH
    CC


    If you feel really indebted please consider a donation to charity. My preferred charity is ActionAid but there are plenty of worthy alternatives.

  3. #3
    Forum Contributor
    Join Date
    10-11-2008
    Location
    Portugal
    MS-Off Ver
    Excel 2010
    Posts
    111

    Re: Solver add-in not working - error in model

    wow...didn't see that one coming...thank you

  4. #4
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Solver add-in not working - error in model



    The vitriol is directed not at you, but at the designers of Excel who, to put it bluntly, introduced a very attractive cosmetic device without any concern about its corrosive effect on the actual design paradigm of the software - for shame, developers. I don't blame anyone for using merged cells before they've learned this lesson, just never again...

  5. #5
    Registered User
    Join Date
    04-27-2013
    Location
    United States
    MS-Off Ver
    Excel 2011
    Posts
    1

    Re: Solver add-in not working - error in model

    I don't have any merged cells yet I'm still getting the same error message. I downloaded Solver for my mac. I even tried two different problems but it's not working and I made sure to put in all the correct formulas and data, I triple-checked. I don't know what's wrong.

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO200;Win10/MSO2016
    Posts
    10,273

    Re: Solver add-in not working - error in model

    @amurillo86,
    Please do not resurrect old threads. Further, do not post your question in the thread someone else has started - this is known as thread hijacking and is against the Forum Rules.
    Always start your own thread and, if it helps to clarify your needs, provide a link back to other threads.

    I suggest you take the time to read the Forum Rules so that you can avoid infractions that will impact your posting privileges.
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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