#### Black Hole

##### May contain traces of nut

I have an extremely complex analysis function which takes an integer input value and returns a floating point output value, but as the function involves analysing a large number of data points using the input value as a parameter it occupies two spreadsheet columns (with 20,000 rows) to compute.

My aim is to create a plot of output value against input value for (ideally) 10,000 values, but if done within the spreadsheet that would mean 20,000 columns as well as 20,000 rows - obviously too much to ask (and when I tried multiplying up to a couple of dozen columns just to try it, the spreadsheet overloaded and crashed.

What I need is an external process which can update the value in one cell of the spreadsheet and then retrieve the output value and create a table of input v output for the 10,000 values (and leave it running for a day or three). Maybe there's a spreadsheet facility that I'm not familiar with which can already do that, or some kind of DDE link.

I'm using OpenOffice 3.3 if that matters, I could install Excel if it would solve the problem.