+ Reply to Thread
Results 1 to 2 of 2

Optimize quantity of cell (volume) until another cell (funds) reaches Minimum tolerance

  1. #1
    Registered User
    Join Date
    12-26-2016
    Location
    South Africa
    MS-Off Ver
    Office 365
    Posts
    0

    Optimize quantity of cell (volume) until another cell (funds) reaches Minimum tolerance

    Good day,

    This is my first post/thread. Pardon my inarticulate way of explaining the problem.

    CONTEXT:

    I have a proforma cash flow spreadsheet.
    Columns represent consecutive months.I have 60 consecutive months (5 years) with totals in between. It is structured in following order:
    Month 1; Month 2; Month 3;...etc....Month 12; TOTAL YEAR 1 Month 1; Month 2; Month 3;...etc Month 12; TOTAL YEAR 2 >> all the way to year 6.

    Rows are structured in the following logic:

    ROW 30 >> OPENING BALANCE (cash)

    ADD >> ROWS 32-40 >> INFLOW (Cash in)

    SUBTRACT >> ROW 42 = SUM of 43-50. So it it the TOTAL CASH OUTFLOW.
    ROWS 43-50 >> OUTFLOW (Cash out)

    EQUALS >> ROW 52 >> CLOSING BALANCE

    The next column (month) then starts its opening balance (row 30) equals to the closing balance (row 52) of the previous column (month).

    Straightforward cash flow model.

    PROBLEM:


    ROW 24 is the variable that I require help with.
    ROW 24 contains the tonnage (monthly volume) I want to / am able to sell for the month. This is multiplied by the cost price and contributes to the total OUTFLOW (ROWS 42).
    ROW 42 determines in turn the final ROW 52's value which is the closing balance.

    I don't want the value in row 52 to ever be under $40,000.00 for a respective month.
    I therefore have to keep adding/subtracting row 24 (the volume) until I hit the "sweet spot" (the closest value above U$40,000.00)

    QUESTION:

    How do I run a Macros to "loop" (or something?!) until each respective month's minimum fund amount (U$40,000) has been reached.

    Hope this makes sense.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello ryanhardt,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. message me or warn when it reaches a certain quantity
    By chubbychub in forum Excel General
    Replies: 2
    Last Post: 09-30-2016, 10:38 AM
  2. [SOLVED] conditional format formula to color red once demand reaches/exceeds onhand quantity
    By marcella needs help in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-27-2016, 06:18 PM
  3. Replies: 4
    Last Post: 09-27-2014, 05:42 PM
  4. Replies: 7
    Last Post: 02-18-2014, 06:53 PM
  5. find the closest match of a cell from a column when another cell reaches a value
    By Sarangsood in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-11-2011, 12:58 AM
  6. When cell reaches maximum value, the supplus should be added next cell
    By Chescoboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2011, 03:57 AM
  7. Replies: 2
    Last Post: 01-14-2010, 12:48 PM

Tags for this Thread

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