SharePoint Formula syntax errors !

January 24, 2013

Took me hours to find out why a simple formula as this one did always end up in a Correlation Error !

=DATEDIF([Column1], [Column2],“d”)

And answers is simple, when logging on to a Remote Deskop using a different regional settings, you need to use

=DATEDIF([Column1]; [Column2];“d”)

An other example that might be usefull to know

=TEXT(From;”yyyy”) results in 2013

=TEXT(YEAR([Start Date]))  results in 2.013

USEFUL TIP: 
ALMOST ANY FORMULA YOU CAN PUT TOGETHER IN EXCEL, YOU CAN COPY TO A SHAREPOINT CALCULATED COLUMN AND IT SHOULD WORK JUST FINE.

Enjoy !