PO.RP.Rod.Stretch.RodWeight
Description
Calculates rod stretch due to rod weight (self-weight stretch), [in].
Syntax
=PO.RP.Rod.Stretch.RodWeight(Wair, L, Ar)Parameters
| Parameter | Description |
|---|---|
| Wair | Rod weight in air, [lb]. |
| L | Rod string length, [ft]. |
| Ar | Rod cross-sectional area, [in²]. |
SI Unit Version
Lambda Name
PO.RP.Rod.Stretch.RodWeight.SIFormula
=LAMBDA(Wair, L, Ar, LET(
Wair_lbf, PO.UnitConverter(Wair, "N", "lbf"),
L_ft, PO.UnitConverter(L, "m", "ft"),
Ar_in2, PO.UnitConverter(Ar, "cm2", "in2"),
result_in, PO.RP.Rod.Stretch.RodWeight(Wair_lbf, L_ft, Ar_in2),
PO.UnitConverter(result_in, "in", "cm")))SI Parameters
| Parameter | Unit | Description |
|---|---|---|
Wair |
N | Rod weight in air, [N] |
L |
m | Rod string length, [m] |
Ar |
cm2 | Rod cross-sectional area, [cm2] |
How to save as a reusable Excel function
LAMBDA is a built-in Excel feature (Microsoft 365) that lets you create custom functions without VBA. The formula above works as-is when pasted into a cell.
To save a LAMBDA as a reusable named function:
- Go to Formulas → Name Manager → New
- Enter a name, e.g.
PO.RP.Rod.Stretch.RodWeight.SI - In Refers to, paste the LAMBDA formula without the trailing invocation
(...) - Click OK
Now use =PO.RP.Rod.Stretch.RodWeight.SI(...) anywhere in your workbook.