Find where break is in rods (oil well)

nixadm

New Member
Joined
Oct 20, 2016
Messages
10
I'm trying to make a spreadsheet that figures out automatically where the rod break is based on weight(oil well rod string)

For example a new full rod string weighs: 18,425
Current rod weight: 15,965

Obviously have a rod break and I am trying to make a sheet to calculate where the break is.

I can do it manually by just taking away the rods on the bottom until my weight reached the current weight of rods.

Image:
https://drive.google.com/open?id=0B6I8hCqtOOkJLWN3bnE4eUpQOGc


excel file:
https://drive.google.com/open?id=0B6I8hCqtOOkJZ1pQYmZIUDVRYkk

Thanks for any help.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
What's the order of the rods? Will it always be largest diameter at the top to smallest diameter at the bottom?
 
Upvote 0
A​
B​
C​
D​
E​
F​
G​
H​
I​
2​
Rod Dia
# of rods
Cumu Rods
Length
Wgt/ft
Wgt/rod
Wgt
Cumu Wgt
3​
1 1/2​
0​
-​
-​
6.52980​
163.25​
-​
-​
4​
1 1/4​
15​
15​
375​
4.52765​
113.19​
1,698​
1,698​
5​
1​
0​
15​
-​
2.89220​
72.31​
-​
1,698​
6​
1​
0​
15​
-​
2.89220​
72.31​
-​
1,698​
7​
7/8​
130​
145​
3,250​
2.21198​
55.30​
7,189​
8,887​
8​
3/4​
235​
380​
5,875​
1.62346​
40.59​
9,538​
18,425​
9​
9,500
18,425
10​
Curr Wgt
15,965​
11​
Break at rod
320.40​
G11: =PERCENTILE($C$3:$C$8, PERCENTRANK($H$3:$H$8, G10, 8)) + 1

Read that number as about halfway down the 320th rod in the string, counted from the top.
 
Upvote 0
Reckon we don't know much about drill strings. In that case,

A​
B​
C​
D​
E​
F​
G​
2​
Rod Dia
# of Rods
Wgt/ft
Cumu Wgt
Cumu Rods
Depth
3​
0​
0​
0​
<< need this row
4​
3/4​
235​
1.62346​
9,538​
235​
5,875​
5​
7/8​
130​
2.21198​
16,727​
365​
9,125​
6​
1​
0​
2.89220​
16,727​
365​
9,125​
7​
1 1/4​
15​
4.52765​
18,425​
380​
9,500​
8​
1 1/2​
0​
6.52980​
18,425​
380​
9,500​
9​
10​
Rod Dia
Rod #
Curr Wgt
Break at rod
Depth
11​
3/4''​
1​
10​
1.25​
6.2​
A11: = INDEX(A3:A8, MATCH(E11, $E$3:$E$8) + 1)
12​
B11: =INT(E11 - INDEX($E$3:$E$8, MATCH(E11, $E$3:$E$8)))
13​
D11: Input
14​
E11: =PERCENTILE($E$3:$E$8, PERCENTRANK($D$3:$D$8, D11, 8)) + 1
15​
F11: =PERCENTILE($F$3:$F$8, PERCENTRANK($D$3:$D$8, D11, 8))

The workbook is at https://app.box.com/s/ugy2lxp3nymbvqm8q720mopvdfhvaamb
 
Upvote 0
I added a cumulative weight column and went to a lookup solution. I also added a cell to hold the MATCH value for the INDEX+MATCH solution: I hate calculating values more than twice.

ABCDEFG
1Rods *N97
2Diameter# of rodsLengthWeight per footWeight per rodWeightCumulative Weight
31"0 -
2.892272.31 -
-
40.875130 3,250
2.2119855.30 7,189
7,189
50.75235
5,875
1.6234640.59 9,538
16,727
610 -
2.892272.31 -
16,727
71.2515 375
4.52765113.19 1,698
18,425
81.5 -
6.5298163.25 -
18,425
9 9,500 18,425
10
11Static weight of full rod string18425
12Current static weight15965
13Match row3
14Rod break at #216 of 0.75 rods

<colgroup><col style="width: 25pxpx" https:="" www.mrexcel.com="" forum="" usertag.php?do="list&action=hash&hash=DAE7F5"" target="_blank"></colgroup><colgroup><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
G3
=F3
G4
=G3+F4
F13
=MATCH($F$12,G3:G8)+1
F14
=(INDEX(B3:B8,F13)+QUOTIENT(F12-INDEX(G3:G8,F13),INDEX(E3:E8,F13))-1)&" of "&INDEX(A3:A8,F13)&" rods"

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



The workbook is at <a href="https://www.dropbox.com/s/zbf24gaxjc7nxu2/rods_01.xlsx?dl=0" target="_blank">https://www.dropbox.com/s/zbf24gaxjc7nxu2/rods_01.xlsx?dl=0
 
Last edited:
Upvote 0
I worked out a couple of solutions.
Unfortunately nixadm did not answer provide a concise example that we can use and the expected answer.
Are the lightest rods the ones that are lost?
Nixadm What would the manually calculated result for 15965 be with the following?


Excel 2010
ABC
1Total
2Weight
3
415113.191,697.85
513055.37,189.00
623540.599,538.65
7380.0018,425.50
8
1dd
Cell Formulas
RangeFormula
A7=SUM(A4:A6)
 
Upvote 0

Forum statistics

Threads
1,215,332
Messages
6,124,313
Members
449,153
Latest member
JazzSingerNL

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