How to generate data points dynamically from power trendline

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
1,447
Office Version
  1. 365
Platform
  1. Windows
I have some data that I know follows a power curve. I have plotted the data, generated a trendline, and have the power function displayed on the chart. Here's the current set of data and the displayed trendline equation. The value "0.01" in H2 is a temporary value because Excel's power function curve fitting algorithm cannot handle zeroes. (sigh)

ABCDEFGH
1N1234567
2Actual Tally12243146110.01

<tbody>
</tbody>

y=798.59e-1.371x

As I run each trial, I add to the corresponding tally. For example, if the next trial results in a Value of "3", I will increment D2 from 14 to 15.

I would like to add a new row (3) that wold show the expected tally as computed by the trendline. And I would like that data to be dynamically and automatically updated when I update a value.


ABCDEFGH
1N1234567
2Actual Tally12243146110.01
3Expected Tally??????????????

<tbody>
</tbody>

Is there any way to do this that might be simple enough for me to understand?
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
36,701
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2010
Platform
  1. Windows
  2. MacOS
Try this:

<b>Excel 2010</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style=";">N</td><td style="text-align: center;;">1</td><td style="text-align: center;;">2</td><td style="text-align: center;;">3</td><td style="text-align: center;;">4</td><td style="text-align: center;;">5</td><td style="text-align: center;;">6</td><td style="text-align: center;;">7</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">Actual Tally</td><td style="text-align: center;;">122</td><td style="text-align: center;;">43</td><td style="text-align: center;;">14</td><td style="text-align: center;;">6</td><td style="text-align: center;;">1</td><td style="text-align: center;;">1</td><td style="text-align: center;;">0.01</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td><td style="text-align: center;;"></td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style=";">Expected:</td><td style="text-align: right;;">420.7061</td><td style="text-align: right;;">26.72079</td><td style="text-align: right;;">5.328114</td><td style="text-align: right;;">1.697149</td><td style="text-align: right;;">0.698764</td><td style="text-align: right;;">0.338411</td><td style="text-align: right;;">0.183321</td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style=";">c</td><td style="text-align: right;;">420.7061</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style=";">b</td><td style="text-align: right;;">-3.97678</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet2</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #BBB"><thead><tr style=" background-color: #DAE7F5;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">B4</th><td style="text-align:left">=$B$5*B1^$B$6</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">C4</th><td style="text-align:left">=$B$5*C1^$B$6</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">D4</th><td style="text-align:left">=$B$5*D1^$B$6</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">E4</th><td style="text-align:left">=$B$5*E1^$B$6</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">F4</th><td style="text-align:left">=$B$5*F1^$B$6</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">G4</th><td style="text-align:left">=$B$5*G1^$B$6</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">H4</th><td style="text-align:left">=$B$5*H1^$B$6</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">B5</th><td style="text-align:left">=EXP(<font color="Blue">INDEX(<font color="Red">LINEST(<font color="Green">LN(<font color="Purple">$B$2:$H$2</font>),LN(<font color="Purple">$B$1:$H$1</font>),,</font>),1,2</font>)</font>)</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">B6</th><td style="text-align:left">=INDEX(<font color="Blue">LINEST(<font color="Red">LN(<font color="Green">$B$2:$H$2</font>),LN(<font color="Green">$B$1:$H$1</font>),,</font>),1</font>)</td></tr></tbody></table></td></tr></table><br />
 

Watch MrExcel Video

Forum statistics

Threads
1,129,690
Messages
5,637,841
Members
416,985
Latest member
mrindira

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
Top