I am trying to obtain a calculated column with ISBLANK
=IF(ISBLANK(AuthorTxt) , Title , Title + " " + AuthorTxt)
as suggested here
but I get a syntax error or not supported formula message. Why is it wrong? Is there another way to do it?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI am trying to obtain a calculated column with ISBLANK
=IF(ISBLANK(AuthorTxt) , Title , Title + " " + AuthorTxt)
as suggested here
but I get a syntax error or not supported formula message. Why is it wrong? Is there another way to do it?
Regardless of which character is used when the field is created, the formula works on lists in SharePoint websites anywhere in the world. SharePoint automatically changes the delimiter character to the one that is appropriate for the language/culture of the current page.
In some countries, the comma is reserved for use as the decimal mark. In such countries, users creating a calculated field must use semi-colons ";" as the delimiter character.
For example, suppose the following formula is created on a website whose culture setting is fr-fr (France):
=IF(Number1>Number2;5;10)
.
If the website's culture is then changed to en-us (United States), the formula changes automatically to:
=IF(Number1>Number2,5,10)
.
And if your locale uses not latin characters, the all the formulas have to be different. Best way is to validate formula in Excel with your current locale.For example in russian locale =ISBLANK() equals to =ЕПУСТО()
Please maintain proper code syntax.
You should note, it may have trouble parsing the text.
You need brackets, and don't try to join strings together without concat
.
Try this:
=IF(ISBLANK([AuthorTxt]),[Title],CONCATENATE([Title]," ",[AuthorTxt]))