Division Function and/or QUOTIENT function in Excel with dynamic divisor (denominator) from Table changing by Criteria

HansrajR

New Member
Joined
May 19, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am seeking to calculate Number of Processing Days based on a daily quota.

As long as the daily quota is constant, the calculation is simple i.e. Tonnage divided by the daily quota (as in Figure 1) gives the Number of days required to process the batch.

The result from the division above added to the Processing start date gives the processing End Date.

The calculation becomes complex when the daily quota changes along the days and the Processing End Date is unknown.

I am looking for a iterative formula to use in Excel to calculate the Number of Processing Days which accounts for changes in daily quota available in another table.

Pmlw9.png



Figure 1

A method of calculating Number of Days to process Batch A accurate to decimal places is preferred.


In the example, the 4th day will not be used completely to finish processing Batch A.

The implication of calculating number of processing days correct to decimal places is to determine the Processing Start Date of the next Batch B.

On event, number of processing days of Batch A is an integer implying the whole day will be exhausted, and therefore the Processing date of the next Batch B will be Processing End Date of Batch A plus one day.

Else, if number of processing days of Batch A has decimals, this will imply the last day will not be exhausted completely and Processing Start Date of Batch B will be on the same date as Processing End Date of Batch A as illustrated in Figure 2.

Pmlw91.png
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Division Function and/or QUOTIENT function in Excel with dynamic divisor (denominator) from Table changing by Criteria
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0

Forum statistics

Threads
1,223,925
Messages
6,175,423
Members
452,641
Latest member
Arcaila

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top