to computer Coefficent of determination for thousands of row having different length of data sets

drniranjan

New Member
Joined
Jun 15, 2011
Messages
19
Hi,
Say, I have the data sets like.....
12 32 33 45 13 33 12 22 12 32 33 45 13 33 12 22
12 32 33 45 13 33
12 32 33 45 13 33 12 22 12 32
..........................
.............................

many more rows............

half of the cells in any row are having X-data and remaining half data are the Y.. I am fitting power law to get the fitting coefficient (coeff. of determination) between X and Y for all rows...........

for this I am using following formula:

INDEX(LINEST(LN(RC[1]:RC[8]),LN(RC[9]:RC[16]),TRUE,TRUE),3,1)

for 1st row, it is working ..FOR next and remaining rows.........While i am autofilling, the formula is not working..........means the number '8' and other numbers are not changing automatically based on the actual length of X-Y pairs.....

kindly help me out or suggest any macro.........so that this can be solved within minuties with less manual effort.......................


Best, N
<!-- / message -->
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,224,521
Messages
6,179,282
Members
452,902
Latest member
Knuddeluff

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