<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I am not sure that I understand correctly, but let me check. It sounds to me as if the first fit works properly and generates a table and the second fit fails? If that is the case, it may be that the act of tabulating the values is changing the active table and/or columns.<div><br></div><div>When you perform a fit, the sheet gives you the option of choosing the data window, xColumn, yColumn and other options. Are these options set correctly on both occasions?</div><div><br></div><div>Cheers</div><div>Chris</div><div><div><div>On Aug 13, 2009, at 11:41 AM, Simon Lindhoud wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> <font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size:11pt">Dear users,<br> <br> Although I’ve already asked information on this before, I still haven’t fond the solution to my problem. I am using profit to fit a couple of different data-sets, of which each has their own variables equation/function that describes that specific set, but the share some variables.<br> In my profit function I’ve declared all the variables under inputs (so the shared variables are a[1] to a[4] and then a[5] to a[10] are the variables for dataset 1, a[11] to a[16] are the variables for dataset 2, and so on). Under outputs, I have declared an output for each of the datasets.<br> the next thing in my function is Begin, and below it first the equations are listed for the shared parameters and eventually the equations are listed for each of the outputs (which describes then the fit of the individual datasets).<br> I use the multiple-fit procedure, so I link the different outputs to the corresponding dataset and if I press fit, I get a nice fit for each individual dataset, and in the results all the values for the variables are displayed. Works beautifully.<br> However, when I try to tabulate the fits in order to get the residuals, it doesn’t work properly. Apparently it calculates the residuals of the fit that I have selected in output, as compared to the second column (first is probably assumed to be the x-value) in the active or front data window. So, it only happens to work well in the case that the fit I try to tabulate is to the data in the second column of my data window.<br> <br> I hope that this is clear, probably there is an easy way around it and I’m doing something wrong, but I really have no idea what to do about it.<br> thanks in advance for your reply,<br> <br> Simon Lindhoud<br> </span></font> </div>  _______________________________________________<br>proFit-list mailing list<br><a href="mailto:proFit-list@quantum-soft.com">proFit-list@quantum-soft.com</a><br>http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com<br></blockquote></div><br></div></body></html>