LINEST calculations

JannetteChristie

Board Regular
Joined
Dec 14, 2015
Messages
124
Office Version
  1. 365
Hi,
I have the following calculation setup using the LINEST calculation.
1720343713667.png


1720343815085.png


However, I have a number of pumps defined - how do I get the LINEST auto calculate depending on the pump highlighted below:

1720343923805.png


Hope, I have maid some sense.
Thanks
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Can you provide more information?
  • Where is the LINEST formula and what is it (ie what cells does it reference)
  • What is the significance of this picture (or indeed both pictures)?
  • What do you mean by "auto calculate depending on the pump highlighted below"?
Can you provide some test data, ideally using XL2BB or just in a table. If it has to be screenshots then please include the row and column headers so we can see what refers to what in any formulas.
 
Upvote 0
Hello,

I have now included the formulas being used.
Precision Rubber Restriction Curve Generator Rev3 (AH WIP).xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMAN
2Un-Restricted Flow Data L/minUn-restricted Head Data MCurve Formualae
312345678910111213141234567891011121314
41RV1502032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615384.61527.13726.63426.05725.2624.42323.71922.55821.42819.83618.0115.64712.8299.6989.698-0.0393040.001674-4.29908E-055.33617E-07-3.73364E-091.54583E-11-3.76154E-144.97115E-17-2.75235E-2027.13698
52RV1503032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.66741.15240.61439.71338.68737.63836.31534.84533.19831.00428.16424.73720.41415.79710.913
63RV1504032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.66755.07854.39553.22851.88950.52648.78746.86444.6841.81338.02833.50727.74521.5815.046
74RV1505032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.66772.2871.14569.05967.43665.08763.06560.73757.87454.7850.58545.07238.34631.2723.431
85RV1506032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.66788.04586.6984.7483.10280.48578.1675.60472.50369.3264.51557.9350.63542.02732.574
96RV1507032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.667102.46100.82798.51396.54493.44190.68487.6583.99780.23474.56566.83958.32148.24637.261
107RV1508032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.667116.897114.989112.311110.015106.429103.24799.73695.52991.18584.65375.78366.03854.50941.981
118RV1509032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.667131.17128.957125.895123.239119.141115.508111.5106.728101.77894.3684.33573.35560.35646.319
129RV1510032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.667147.258145.005141.757139.059134.726130.884126.67121.546116.303108.37197.46485.31270.99255.192
1310RV1511032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.667161.744159.225155.628152.619147.819143.565138.895133.23127.424118.649106.60993.24177.46960.113
1411RV1512032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.667176.185173.398169.444166.114160.844156.173151.039144.828138.453128.832115.646101.06283.83364.935
1512RV1513032.05164.10396.154128.205160.256192.308224.359256.41288.462320.513352.564384.615416.667190.583187.52183.204179.549173.8168.704163.1156.344149.389138.907124.583108.76290.07569.647
1613RV2002037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154474.17729.72229.3828.68327.90127.24526.56325.80224.65223.41521.55619.17316.28212.6499.749
1714RV2003037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.33345.00344.47743.33742.4241.37840.34138.91937.50135.70632.7729.1824.65319.72113.821
1815RV2004037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.33362.24460.99559.85558.56156.58654.81653.41451.1949.19345.77141.01535.3228.87122.044
1916RV2005037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.33378.5777.09275.77674.27871.91569.78668.1465.43463.05358.95353.25346.1838.15729.646
2017RV2006037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.33394.21492.93291.52889.9387.43984.89482.84380.14677.53272.70965.63257.32247.8137.287
2118RV2007037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.333109.537107.997106.296104.353101.37498.34895.89692.69989.56283.82675.49165.77454.62342.36
2219RV2008037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.333126.472124.817123.026121.01117.8114.506111.883108.404105.09498.89989.65578.63266.06751.981
2320RV2009037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.333141.999140.11138.059135.746132.095128.355125.369121.417117.639110.591100.12887.70873.5357.706
2421RV2010037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.333157.463155.335153.016150.394146.293142.101138.743134.312130.048122.132110.43396.60980.81563.25
2522RV2011037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.333173.967171.639169.104166.249161.757157.149153.468148.608143.971135.346122.544107.35890.03570.683
2623RV2012037.17974.359111.538148.718185.897223.077260.256297.436334.615371.795408.974446.154483.333189.456186.886184.077180.909175.961170.895166.835161.49156.362146.859132.822116.22697.28976.199
2724RV3001058.974117.949176.923235.897294.872353.846412.821471.795530.769589.744648.718707.692766.66724.78623.66322.83421.92921.12420.55119.7518.67217.74416.62615.15413.39811.3158.876
2825RV3002058.974117.949176.923235.897294.872353.846412.821471.795530.769589.744648.718707.692766.66748.4646.62945.38244.46843.70242.52941.17939.66737.89335.8333.28430.11226.74522.745
2926RV3003058.974117.949176.923235.897294.872353.846412.821471.795530.769589.744648.718707.692766.66772.19269.35667.44665.99564.73262.86260.75458.40855.68352.53848.64543.85638.80132.736
3027RV3004058.974117.949176.923235.897294.872353.846412.821471.795530.769589.744648.718707.692766.66799.36896.47193.86391.39388.9786.56284.05281.18977.96674.3969.89464.14957.60250.308
3128RV3005058.974117.949176.923235.897294.872353.846412.821471.795530.769589.744648.718707.692766.667121.07117.209113.522111.906109.3106.521103.33799.54995.22290.63584.90977.48468.86460.033
3229RV3006058.974117.949176.923235.897294.872353.846412.821471.795530.769589.744648.718707.692766.667145.646140.996136.549134.588131.433128.071124.226119.66114.445108.925102.05293.14482.79772.207
3330RV3007058.974117.949176.923235.897294.872353.846412.821471.795530.769589.744648.718707.692766.667169.214163.738158.51156.136152.333148.305143.723138.297132.151125.653117.534107.06795.01882.577
3431RV4501084.615169.231253.846338.462423.077507.692592.308676.923761.538846.154930.7691015.385110019.64719.14718.80818.56718.14617.56716.7215.73414.39912.90310.9858.9666.5353.837
3532RV4502084.615169.231253.846338.462423.077507.692592.308676.923761.538846.154930.7691015.385110048.98748.28447.99147.17345.84844.42643.03341.51939.4736.84733.86130.53126.74122.238
3633RV4503084.615169.231253.846338.462423.077507.692592.308676.923761.538846.154930.7691015.385110074.20673.07872.89971.87670.03568.09166.29364.40161.74758.25754.15749.59944.5338.524
3734RV4504084.615169.231253.846338.462423.077507.692592.308676.923761.538846.154930.7691015.385110097.45996.43196.45595.32393.07290.55388.15785.60782.38977.77972.39266.13759.5251.415
3835RV4505084.615169.231253.846338.462423.077507.692592.308676.923761.538846.154930.7691015.3851100122.255121.02121.162119.852117.131114.08111.188108.099104.20798.58291.91384.15175.94565.897
3936RV4506084.615169.231253.846338.462423.077507.692592.308676.923761.538846.154930.7691015.3851100146.02144.506144.594142.942139.612135.887132.351128.576123.808116.945108.999.54489.64677.515
4037RV4507084.615169.231253.846338.462423.077507.692592.308676.923761.538846.154930.7691015.3851100173.013171.392171.846170.262166.654162.573158.717154.587149.407141.857132.635121.908110.51896.706
4138RV4508084.615169.231253.846338.462423.077507.692592.308676.923761.538846.154930.7691015.3851100197.524195.656196.135194.283190.124185.421180.971176.213170.238161.554150.991138.702125.674109.841
42
43
Pump Data
Cell Formulas
RangeFormula
P4,AD4P4=O4
AE4:AN4AE4=LINEST(Sheet2!$C$16:$C$29,Sheet2!$C$2:$C$15^{9,8,7,6,5,4,3,2,1})
Press CTRL+SHIFT+ENTER to enter array formulas.


Precision Rubber Restriction Curve Generator Rev3 (AH WIP).xlsm
BCDEF
1RV1502RV1503RV1504RV1505
210000
3232.05132.05132.05132.051
4364.10364.10364.10364.103
5496.15496.15496.15496.154
65128.205128.205128.205128.205
76160.256160.256160.256160.256
87192.308192.308192.308192.308
98224.359224.359224.359224.359
109256.41256.41256.41256.41
1110288.462288.462288.462288.462
1211320.513320.513320.513320.513
1312352.564352.564352.564352.564
1413384.615384.615384.615384.615
1514384.615416.667416.667416.667
16127.13741.15255.07872.28
17226.63440.61454.39571.145
18326.05739.71353.22869.059
19425.2638.68751.88967.436
20524.42337.63850.52665.087
21623.71936.31548.78763.065
22722.55834.84546.86460.737
23821.42833.19844.6857.874
24919.83631.00441.81354.78
251018.0128.16438.02850.585
261115.64724.73733.50745.072
271212.82920.41427.74538.346
28139.69815.79721.5831.27
29149.69810.91315.04623.431
Sheet2
Cell Formulas
RangeFormula
C15,C29C15=C14


I am trying to update the sheet 'Pump Data' using the pump in column B with the corresponding values from Sheet 2 with the pump info in row 1 columns C,D,E etc

Thanks
 
Upvote 0
Can you update your profile to show what version of Excel you are using?
 
Upvote 0
OK thanks.

Try this:
Excel Formula:
=LINEST(INDEX(Sheet2!$C$16:$F$29,0,MATCH($B4,Sheet2!$C$1:$F$1,0)),INDEX(Sheet2!$C$2:$F$15,0,MATCH($B4,Sheet2!$C$1:$F$1,0))^{9,8,7,6,5,4,3,2,1})

If you're using 365 you don't need to enter it as an array formula.

To update your profile click on your avatar/name in the top right corner, then click account details, and towards the bottom of that window you can tick the box for the version you are using. It just makes it easier for providing solutions knowing what functions can be used.

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,221,565
Messages
6,160,517
Members
451,655
Latest member
rugubara

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