1

I have tried everything, can someone help me with this?

=IF(ISBLANK([Date1]),DATEDIF([Created],[Date2],"d"),IF(NOT(ISBLANK([Date1),DATEDIF([Date1],[Date2],"d"))))

It keeps saying unsupported syntax in SharePoint.

0

Try this:

=IF(ISBLANK([Date1]),DATEDIF([Created],[Date2],"d"),DATEDIF([Date1],[Date2],"d"))
0

Try this formula:

=IF(ISBLANK([Date1]), DATEDIF([Created], [Date2], "d"), IF(NOT(ISBLANK([Date1)), DATEDIF([Date1], [Date2], "d"), ""))

OR

=IF(ISBLANK([Date1]), DATEDIF([Created], [Date2], "d"), DATEDIF([Date1], [Date2], "d"))

Note:

Sometimes comma(,) does not work in formula (I am not sure but it is based on something language or regional settings on your site). So in that case use semicolon(;) instead of comma(,).

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.