1

I'm trying to import a xls file which contains a date formula:

=DIA.LAB.INTL(FIN.MES(FECHA(C4;C3;1);-1);1)

But, i got this error:

PHPExcel_Calculation_Exception in Cell.php line 293: Sheet1!D7 -> Formula Error: Unexpected ','

I see that error is the comma but this comma does not exist in the formula.

did i missing something?

2

1 Answer 1

1

The formula is affected by your Spanish regional settings. The formula is actually

=WORKDAY.INTL(EOMONTH(DATE(C4,C3,1),-1),1)

that contains comma. MS Excel always store the formula using English regional settings.

Your formula is correct, but most probably PHPExcel might not recognize DIA.LAB.INTL function. You can try to change your regional settings and see if the error persist.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.