+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : calculating numbers needed to achieve best result

Hybrid View

  1. #1
    Registered User
    Join Date
    06-16-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    calculating numbers needed to achieve best result

    I need to find a way to quickly calculate which numbers I need to put into column F to achieve the highest number possible in H11. Column F can contain any numbers between 300 and 420 but column G has to add up to a specified number that will vary from day to day. The numbers in column A and column B will also vary from day to day.


    Any help would be greatly appreciated, even if it's just a suggested jumping off point.
    Thank You!!
    Attached Files Attached Files
    Last edited by candiecane_81; 06-20-2011 at 12:42 AM.

  2. #2
    Registered User
    Join Date
    06-07-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: calculating numbers needed to achieve best result

    I'd google linear programming and excel.
    Last edited by shg; 06-18-2011 at 11:25 AM. Reason: deleted spurious quote

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: calculating numbers needed to achieve best result

    Welcome to the forum.

    Use Solver. See http://office.microsoft.com/en-us/ex...001124595.aspx.

    E.g., maximize H11 by changing F1:F10, subject to the constraints

    F1:F10 >= 320
    F1:F10 <= 400
    G11 = 800000

           ---A---- ---B--- ----C---- -D- -E-- --F-- ----G---- ----H-----
       1     2,010      51     8,160  50% 5.00  320    16,320    (30,750)
       2    39,159   1,065   272,640  80% 0.75  320   340,800   (175,111)
       3     3,334      84    30,240  90% 0.25  400    33,600     (6,727)
       4    13,272     366    14,640  10% 2.00  400   146,400     (2,736)
       5    12,738     129     7,740  15% 1.00  400    51,600      4,998 
       6    14,336     115    36,331  87% 0.57  363    41,760    (12,537)
       7     2,183      18     1,728  24% 0.65  400     7,200        296 
       8     5,902      39    12,131  97% 0.76  320    12,480     (4,734)
       9    29,353     269     1,775   2% 0.80  400   107,600     22,062 
      10    13,034     132    36,749  87% 3.00  320    42,240    (71,144)
      11                                              800,000   (276,383)
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    06-16-2011
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: calculating numbers needed to achieve best result

    Thank You!!

+ 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