+ Reply to Thread
Results 1 to 2 of 2

Determining after summation of how many cells a certain value is reached?

  1. #1
    Registered User
    Join Date
    01-11-2022
    Location
    Germany
    MS-Off Ver
    365
    Posts
    1

    Determining after summation of how many cells a certain value is reached?

    Hello,

    I have the following problem that I am unable to solve:

    I have a document (see attachment) which lists the number of open orders per calendar week. Also, the capacity (how many orders can be processed) is listed per calendar week.

    I now need to calculate the amount of weeks needed until the open orders have been completely processed, depending on the processing capacity of future calendar weeks.

    Until now, in order to calculate how many weeks are needed to process the 50,000 open orders from Week 1, I would sum up the processing capacity for Week 1 and onwards, until that sum is less or equal to 50,000. Then, I count the amount of cells I used. Finally, I subtract the difference and divide this difference by the capacity of the week that would "put me over the threshhold" of open orders. (see example, hard to explain)

    EXAMPLE WITH WEEK 1:

    Open orders:
    50,000

    Summing capacity of weeks until <= open orders:
    Week 1: 8000 + Week 2: 7500 + Week 3: 9000 + Week 4: 9800 + Week 5: 7000 = 41,300 in 5 weeks.

    Determining the remainder:
    50,000 - 41,300 = 8,700

    8,700 divided by capacity of week 5 +1 (week 6) => 8,700 / 11,000 ~=~ 0.8

    Therefore, it would take a total of 5.8 weeks until the open orders of 50,000 are completely processed.

    Ideally, I would have formula that computes this value for each calendar week automatically, but I can't think of one that works...

    EDIT: Unfortunately I need a solution without using a macro / writing VBA... otherwise I would have done it this way.

    Thanks in advance..
    Attached Files Attached Files

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Determining after summation of how many cells a certain value is reached?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by BMV; 01-11-2022 at 02:24 PM.

+ 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. Replies: 4
    Last Post: 12-12-2018, 12:34 AM
  2. [SOLVED] Move specific cells to a new sheet when a date is reached or 30 days from being reached
    By Albert Dirk in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-26-2016, 04:44 AM
  3. Can't seem to highlight particular cells when a certain sum is reached.
    By powersmp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2014, 02:40 PM
  4. Summation of Number, Empty Cells and Cells with characters
    By iyounis in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-02-2013, 08:29 PM
  5. To Sum Cells Until Preset Value Is Reached
    By dadok in forum Excel General
    Replies: 1
    Last Post: 09-23-2010, 06:46 AM
  6. Sum cells once one has reached a value
    By edmdas in forum Excel General
    Replies: 4
    Last Post: 09-18-2010, 02:29 PM
  7. Summation of the Cells
    By a_k93 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2006, 12:10 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