Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

Need value of formula in PHP Office / PHP Spreadsheet

Using PHP Office / PHP spreadsheet.

Some cells in the sheet being read have formulas in them.

How can I get the value produced by the formula?

When I do this:

$net_each = $prl->getCellByColumnAndRow(10, $row)->getValue();

I get the formula. How can I get "Value of" the formula?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Richard Korts

ASKER

Thanks, I actually got it from the docs 5 minutes after I posted that. Just forgot to close the question.
Chris, please if you can look at this:

https://www.experts-exchange.com/questions/29179738/Please-show-example-of-CREATE-POPULATE-new-spreadsheet.html

I am stunned there are no examples of this.

Thank you.

Richard