+ Reply to Thread
Results 1 to 2 of 2

I Can't Model This Problem for a Dynamic Sheet

  1. #1
    Registered User
    Join Date
    01-18-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    1

    I Can't Model This Problem for a Dynamic Sheet

    Hi all, I have found a flaw in a larger spreadsheet that I can't implement a solution for and is rendering the whole thing useless right now, hopefully someone can help.

    I'm trying to allocate 'Customers' to Trucks after an optimisation model i have built runs.

    Trucks can hold 100 units so I have built a compounded 'IF' formula that will allocate a Customer to Truck 1 if cumulative demand up to that Customer is <100, to Truck 2 if Cumulative Demand is 100< CD <200 etc..

    My problem is that when a new truck is allocated I can't build into it a way to restart the count, so that as the Truck column has switched to 2 as the next customer's demand wont fit into Truck 1, a count starts from that customer until it's time to switch to Truck 3 etc.

    Does anyone have any advice on what functions I would need to combine and could look up?

    I've included an example of the data and existing formulas for this section of the sheet.

    Thanks,
    TKin
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,463

    Re: I Can't Model This Problem for a Dynamic Sheet

    Hi
    starting in G4 try
    Please Login or Register  to view this content.
    and drag down
    (The MAX part is not really necessary, it just avoids having a 0 in G4 =CEILING(F5,100)/100 starting in G5 would also work)

+ 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. Population Model - Can you find the problem here?
    By AngelIn in forum Excel General
    Replies: 3
    Last Post: 04-06-2013, 01:33 PM
  2. Create a model that will generate a column of numbers based on model parameters
    By tncanoeguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 05:47 PM
  3. Stuck Building A Dynamic Commercial Real Estate Model
    By tronix_Country in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-02-2012, 04:39 PM
  4. Need Some Help With a Dynamic Model
    By nadnerb in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-09-2012, 10:34 AM
  5. Problem Displaying Specific Data From a Simple Model
    By ask4thesea in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2011, 10:48 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