Carrying out LINEST to selections of data in 2 columns

AL3410

New Member
Joined
Jul 29, 2013
Messages
1
Power (kW)Head (m)Mass Flow (kg/s)
51.5830.00206.1922
92.249230.00401.8627
62.274730.00243.2216
83.218830.00325.0214
42.07430.00174.3451
36.308730.00154.2164
48.146530.00194.7579
31.21130.00135.9637
56.45730.00223.0638
92.624230.00414.1147
87.46930.00349.6592
86.247330.00340.7664
91.276630.00387.6852
88.80430.00359.2220
90.304830.00374.2025
62.138430.10241.8830
83.900830.10326.5964
42.098530.10173.8670
48.157530.10194.1553
36.331930.10153.8022
31.229630.10135.5927
56.383830.10222.0345
51.585930.10205.5306
93.192630.10415.2717
92.840830.10403.0963
88.097930.10351.0032
86.872930.10342.0979
90.909730.10375.4576
91.848230.10388.8169
89.413330.10360.4851
62.003530.20240.5587
84.583130.20328.1621
42.122930.20173.3918
48.169830.20193.5618
36.355430.20153.3921
31.250830.20135.2355
56.310830.20221.0127


<colgroup><col><col><col></colgroup><tbody>
</tbody>

The data I have looks like above, with the Head increasing by 0.1m after a changing number of rows. What I would like to do is to select the Power and Mass flow rate where the head is constant, I.e all of the power to the left of 30.00 and all of the mass flow for 30.00 and produce coefficients of a 6th order polynomial which for 30.00 looks like :
Head (m)654321 A
30 1.26958E-07-4.41975E-050.0062494 -0.4585518.3944 -378.81213243.88

<colgroup><col><col><col><col><col span="4"></colgroup><tbody>
</tbody>

As the data goes down, there are different numbers of rows with constant head value, i.e 14 rows of 30.00m and 7 for 35m. I am trying to run a macro that will give me 150 rows of the coefficients of the 6th order fit line for each head value.

I have probably explained this in a very roundabout way, but any help would be much appreciated!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
your table is clear and the polynomal is clear but exactly what you want as output is not very clear. I understand you want to lump the data together for each different Head figure. But how? Can you show a small example what it should look like?
 
Upvote 0

Forum statistics

Threads
1,215,128
Messages
6,123,204
Members
449,090
Latest member
bes000

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