openxml sdk excel how to parse and calculate formula
问题 I have formula cell in excel file that has the formula =SUM(C2:C3). From the web application hosted on remote webserver in the cloud, that does not have Excel installed, I would pass in values for C2 and C3. I can also determine the exact formula in excel. How do I parse this formula programmatically in c# so that I could get the result of 6 if the input values of C2 and C3 were 2 and 4 respectively? What if the formula is very complex, what is the best way to parse the formula and calculate