I'm struggling to make this working with the phpoffice/phpexcel library. I always get an error when running it.
Even with something so simple as:
=WORKDAY.INTL(TODAY();C43)
when C43 holds this value: 74
If I manually enter the formula within a cell, the value is calculated without any problem. However if I run it, I always get this error:
NAMEOFSHEET!C46 -> Formula Error: An unexpected error occured
C46 is the first cell in which this formula is applied
Any idea on how to fix this?
Also tried replacing semicolons with commas (no success either):
=WORKDAY.INTL(TODAY(),C43)
My whole formula should look like this:
=WORKDAY.INTL(TODAY();C43;11;$H$2:$H$3)
to ignore Sundays and the dates in the H2:H3 range