Formula: calculate liquid volume

pujo

Well-known Member
Joined
Feb 19, 2009
Messages
708
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
I have a tote tank with a known capacity, as well as the base size. (42" x 48")
Manufacture provided a strapping report however, I need to calculate not only the whole numbers, I also need the .25, .50, .75

Goal is to type in the cell a measurement (indicated inched) and calculate the gallons remaining.

I have tried a few different formulas however, my attempts do not line up with the provided strapping report.

Hope someone can assist with the formula.

Thanks!

Strapping report image attached.
 

Attachments

  • Tote Strapping Report.PNG
    Tote Strapping Report.PNG
    73 KB · Views: 20

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
It would have helped to post the table as data rather than a picture. I seem to have been able to pull in the Gallons part fairly accurately, but there are a lot of discrepancies.
Book1
ABCD
1Fill HeightGallonsGal/HeightGallons Delta
23''22.37.4333
34''31.07.75008.7
45''39.77.94008.7
56''48.48.06678.7
67''57.28.17148.8
78''65.98.23758.7
89''74.68.28898.7
910''83.48.34008.8
1011''92.18.37278.7
1112''100.88.40008.7
1213''109.68.43088.8
1314''118.38.45008.7
1415''127.08.46678.7
1516''135.78.48138.7
1617''144.58.50008.8
1718''152.28.45567.7
1819''160.98.46848.7
1920''169.68.48008.7
2021''177.68.45718.0
2122''186.48.47278.8
2223''195.18.48268.7
2324''203.88.49178.7
2425''212.58.50008.7
2526''221.38.51158.8
2627''230.08.51858.7
2728''238.78.52508.7
2829''247.58.53458.8
2930''263.08.766715.5
3031''271.78.76458.7
3132''280.48.76258.7
3233''289.28.76368.8
3334''297.98.76188.7
3435''306.68.76008.7
3536''316.98.802810.3
3637''325.68.80008.7
3738''334.38.79748.7
3839''343.18.79748.8
3940''351.88.79508.7
4041''360.58.79278.7
4142''370.28.81439.7
4243''379.08.81408.8
4344''387.78.81148.7
4445''396.48.80898.7
4546''405.28.80878.8
4647''413.98.80648.7
4748''422.68.80428.7
4849''431.38.80208.7
4950''440.18.80208.8
5051''448.88.80008.7
5152''457.58.79818.7
5253''466.38.79818.8
5354''477.68.844411.3
5455''486.38.84188.7
5556''495.18.84118.8
5657''503.88.83868.7
5758''512.58.83628.7
5859''521.28.83398.7
5960''530.08.83338.8
6061''538.78.83118.7
6162''547.48.82908.7
6263''556.28.82868.8
6364''564.98.82668.7
6465''573.68.82468.7
6566''582.48.82428.8
Sheet5
Cell Formulas
RangeFormula
A2:A65A2=SEQUENCE(66-2,,3)
C2:C65C2=ROUND(B2/A2,4)
D3:D65D3=B3-B2
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D3:D65Cell Value<8.6textNO
D2:D65Cell Value>8.9textNO

The Custom Format for Column A is #"''" you can't have an odd number of double quotes in a custom format, so that's two single quotes between double quotes.
While the Gallons per inch seems to be fairly consistently between 8.7 and 8.8 gallons per inch, there are some HUGE discrepancies. I double checked the values in red and they're correct.
Unless you're talking about a container with varying widths, it makes no sense that one inch of water doesn't add a consistent number of gallons. You also don't explain what a "strapping report" is or what you're trying to calculate, but you'd better look into the data first!
 
Upvote 0
Thanks @jdellasala

Pretty much the same issues I was having.
The only thing I can think of that would cause the discrepancy is possible tank bulge??

Yea, I should have put it in a table and use the BB code but I was in a hurry...
Appreciate your time!

PuJo
 
Upvote 0
Does your tote have rounded corners? If so, that could explain the difference.
 
Upvote 0
Does your tote have rounded corners? If so, that could explain the difference.
One would have to imagine that a device built to handle 4,853.88 lbs. of water would have to be carefully manufactured, and so unlikely that the rounded corners would not be uniform and not explain why the table presented does not have a consistent number of gallons of water per inch, let alone huge variances.
 
Upvote 0

Forum statistics

Threads
1,216,075
Messages
6,128,657
Members
449,462
Latest member
Chislobog

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