Formula to extrapolate time from depth (2 columns)

RobbieC

Active Member
Joined
Dec 14, 2016
Messages
376
Office Version
  1. 2010
Platform
  1. Windows
Hi there, I have 2 columns of data collected from a 'water soakaway'

The hole is 10 metres deep and is filled (or nearly) with water. The timer begins. The overall depth of the water is recorded at each interval (which in this example, I have used 1 minute interval, but it could be anything)
Column A (minutes) & column B (depth) - as you can see the first reading at 0mins is 9m (not filled to the very top)
waterDepthTime.jpg

What I'm looking to do is to be able to extrapolate the from the 25%, 50% & 75% depth figures and get the time passed for each of these depths

In this example, the line is linear and we know that the 50% depth mark is 4.5m. Similarly, we can work out that the 25% Empty mark is 6.75m and the 75% empty mark is 2.25

I need to be able to work out the time passed as each of these depths is reached...

Can anyone point me in the right direction?

The relevant columns with data are A2:A40 (time) and B2:B40 (depth)

Thanks very much
 

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
Perhaps, for 25% empty (75% full)
Excel Formula:
=LOOKUP(B2*(1-25%),B:B,A:A)
The correct formula depends on whether you expect 6.0, 7.0, 6.42 or 6:26 as the correct answer.

edit:- realised the mistake in my formula after seeing @etaf's post below, I'm going to hold off on correcting it until you have clarified which result would be expected (closest measured match or accurately calculated result, if closest measure, should it be earlier, later or absolute closest?).
 
Upvote 0
would a lookup work, if you added a column to calc the % based on the starting volume and the lookup to nearest value

something like
Book2
ABCDEF
1TimeDepth%Required DepthTime point
200:00:009.000100%
300:08:088.24392%75%00:20:13
400:10:338.17891%50%00:29:53
500:12:588.00189%25%00:37:08
600:15:237.88088%
700:17:487.57384%
800:20:137.34182%
900:22:386.55673%
1000:25:035.85065%
1100:27:285.07956%
1200:29:534.57751%
1300:32:183.86443%
1400:34:433.23536%
1500:37:082.60329%
1600:39:332.07423%
1700:41:581.96122%
1800:44:231.51417%
1900:46:481.08712%
2000:49:130.1882%
2100:51:380.1341%
2200:54:030.1181%
2300:56:280.0000%
Sheet1
Cell Formulas
RangeFormula
F3:F5F3=INDEX(A:A,MATCH(E3,C:C,-1))
C2:C23C2=B2/$B$2
 
Upvote 0
I would solve this with an regression analysis. To do this you should make sure your VBA analysis toolpack is turned on. This would allow you to run an regression analysis under the data tab with B2:B40 as Y-value and A2:A40 . With the output you can can calculate the exact point by ((depth-intercept)/X variable)
 
Upvote 0
Hi guys, thanks for your help.

As this is technically an 'engineering' log, the data needs to be as accurate as possible, so getting a MATCH as close as possible isn't really accurate enough...

Getting the time to the closest second would be ideal...

waterDepthTimeGraph.jpg

I've got it to plot the values onto a graph, so maybe that can be used to extrapolate the exact time it passes the marks?
 
Upvote 0
Hi guys, thanks for your help.

As this is technically an 'engineering' log, the data needs to be as accurate as possible, so getting a MATCH as close as possible isn't really accurate enough...

Getting the time to the closest second would be ideal...

View attachment 25422
I've got it to plot the values onto a graph, so maybe that can be used to extrapolate the exact time it passes the marks?
Hi Robbie

if you work with a regression analysis this would get you pretty close. If you rather work with percentages you can off course calculate these from your raw data and use this as data in your regression.
Screenshot 2020-11-03 173214.png
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,447
Members
448,966
Latest member
DannyC96

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