Formula to automatically distribute a volume across multiple cells where the max value of each cell can be defined

coa747

New Member
Joined
Aug 2, 2016
Messages
10
Office Version
  1. 365
Platform
  1. Windows
I'm creating an aircraft fuel loading sheet that will tell me how to distribute the fuel weight in pounds (lb.) across the five fuel tanks of the airplane. Each tank has a maximum capacity as indicated in cells D5, F5, H5, J5, and L5. The fuel load entered in cell A2 must be distributed evenly across each tank pair for proper weight and balance. The tanks must be filled in the following sequence Inner Tanks (left and right), then the Outer Tanks (left and right), and last the Center Tank. When the maximum capacity is reached for the inner tank pair the remaining fuel load should be distributed evenly among the outer tank pair, and lastly if necessary to the center tank. I'm looking for a formula that will do this automatically based on the value entered in cell A2. Any help you can provide would be greatly appreciated.

A320neo Weight Calculations.xlsx
ABCDEFGHIJKLM
1BLOCK FUEL (LB)
217,449USEABLE FUEL
3Left Outer Tank (2)Left Inner Tank (1)Center Tank (3)Right Inner Tank (1)Right Outer Tank (2)
4Fuel LoadMax CapFuel LoadMax CapFuel LoadMax CapFuel LoadMax CapFuel LoadMax CapTotal
51,52011,98214,28111,9821,5200
Fuel
Cell Formulas
RangeFormula
M5M5=SUM(C5,E5,G5,I5,K5)

 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Trying to keep it fairly simple,
Book1
ABCDEFGHIJKLM
1BLOCK FUEL (LB)
217449USEABLE FUEL
3Left Outer Tank (2)Left Inner Tank (1)Center Tank (3)Right Inner Tank (1)Right Outer Tank (2)
4Fuel LoadMax CapFuel LoadMax CapFuel LoadMax CapFuel LoadMax CapFuel LoadMax CapTotal
5015208724.5119820142818724.5119820152017449
Sheet1
Cell Formulas
RangeFormula
C5C5=MEDIAN(0,D5,(A2-(F5+J5))/2)
E5E5=MEDIAN(0,F5,A2/2)
G5G5=MEDIAN(0,H5,A2-SUM(D5,F5,J5,L5))
I5I5=MEDIAN(0,J5,A2/2)
K5K5=MEDIAN(0,L5,(A2-(F5+J5))/2)
M5M5=SUM(C5,E5,G5,I5,K5)
 
Upvote 0
Solution
jasonb75 thank you very much for your help. This is exactly what I needed. :)
 
Upvote 0

Forum statistics

Threads
1,214,905
Messages
6,122,178
Members
449,071
Latest member
cdnMech

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