Created attachment 35267 [details] Array Formula and Matrix Function Patch Hi all, Array formulas and matrix functions are currently not supported in any version of POI. In order to store evaluated Excel arrays, I implemented CacheAreaEval which is based off of MockAreaEval which holds values for each of the cells in the array range. I have also added MatrixFunction which allows for the evaluation of transpose, mdeterm, minverse, and mmult. This file does depend on commons math3. The other modifications allow for the evaluation of arrays within the formula evaluation stack. Please let me know if there are any changes that need to take place or any other information is necessary. I apologize for the size of the patch; I have just recently received approval from Lawrence Livermore National Laboratory to release the code that was worked on all summer. Best Regards, Robert Hulbert
Created attachment 35268 [details] Numeric Array Formulas and Matrix Function Test Cases
Thanks Robert. I have a preference for viewing the patches in github - and it allows for easier reviewing. If you have time, would you be able to fork https://github.com/apache/poi, apply your patch and then create a Pull Request?
From http://apache-poi.1045710.n5.nabble.com/VOTE-Apache-POI-3-17-release-RC2-td5728603.html, it seems we are best off leaving this merge until 3.17 is released. Latest code is in https://github.com/apache/poi/pull/69
This seems to be applied via r1808297, is there anything still missing?