WaltKerkmeer
New Member
- Joined
- Jan 13, 2020
- Messages
- 14
- Office Version
- 365
- Platform
- Windows
Hi all,
I am struggling with a formula on Excel and was hoping you could help me with this. I work for a construction company and one of the things we do is the installation of manholes and pipelines.
We get paid a rate for pipelines between 0 and 1.5 meters deep. Then there is a separate rate for pipelines between 1.51 and 3 meters deep, then 3.01 to 4.5 meters deep and so forth.
I would like Excel to calculate how many meters of pipe are in the 0-1.5m, 1.51-3m and 3.01-4.5m brackets. At the moment I’m manually calculating this for each pipeline which is time consuming. An example below:
Known values:
Manhole A: 3.4m deep
Manhole B: 2.2m deep
Pipeline length: 28 meters
This falls in the 1.51-3m and 3.01-4.5m brackets.
3.4 – 3 = 0.4
3 – 2.2 = 0.8
0.4 + 0.8 = 1.2
0.4 / 1.2 = 0.33
0.33 * 28 = 9.24
So 9.24 meters of pipe is between 3.01-4.5m deep and the remaining length of pipe will be 1.51-3m deep. As you can imagine, it gets even worse when there’s a pipeline starting at say 1.2m deep and finishing at 4.3m deep, as in that situation the result would be in 3 different depth brackets (0-1.5m, 1.51-3m and 3.01-4.5m).
If there is anyone who could produce the formula to work this out, I would be forever grateful. This will save me a tonne of time.
Thanks in advance!
I am struggling with a formula on Excel and was hoping you could help me with this. I work for a construction company and one of the things we do is the installation of manholes and pipelines.
We get paid a rate for pipelines between 0 and 1.5 meters deep. Then there is a separate rate for pipelines between 1.51 and 3 meters deep, then 3.01 to 4.5 meters deep and so forth.
I would like Excel to calculate how many meters of pipe are in the 0-1.5m, 1.51-3m and 3.01-4.5m brackets. At the moment I’m manually calculating this for each pipeline which is time consuming. An example below:
Known values:
Manhole A: 3.4m deep
Manhole B: 2.2m deep
Pipeline length: 28 meters
This falls in the 1.51-3m and 3.01-4.5m brackets.
3.4 – 3 = 0.4
3 – 2.2 = 0.8
0.4 + 0.8 = 1.2
0.4 / 1.2 = 0.33
0.33 * 28 = 9.24
So 9.24 meters of pipe is between 3.01-4.5m deep and the remaining length of pipe will be 1.51-3m deep. As you can imagine, it gets even worse when there’s a pipeline starting at say 1.2m deep and finishing at 4.3m deep, as in that situation the result would be in 3 different depth brackets (0-1.5m, 1.51-3m and 3.01-4.5m).
If there is anyone who could produce the formula to work this out, I would be forever grateful. This will save me a tonne of time.
Thanks in advance!