I need to convert a spreadsheet (Excel) calculation into a more user-friendly PHP script...
the basic function of the spreadsheet is this (I'm not asking for full code, just a nudge in the right direction)
Row one is a list of large numbers (entered by user) with each column representing a unique entity,
Each successive row is the value of row1 divided by increasing integers (+1)...
the final requirement is to identify the x number of largest numbers in the matrix and then SUM those by column... (I haven't been able to get Excel to do this which is partly why I'm trying php)
I'd be happy to get just the first bit...
Am I insane?
EDIT: I've sifted through a bunch of the Excel related posts here but most have to do with importing/exporting pure data - what I need is a way for PHP to do what my Excel formulas do...