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.

2 Answers 2

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 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.