Forum Discussion

Yung_man's avatar
Yung_man
Copper Contributor
Jul 21, 2020
Solved

Dependent columns

I have 1 SharePoint list.   Multiple columns. I want one column dependent on the column next to it. Quite simply, if the column to the left is empty, have the value "pending". If the column has som...
  • ganeshsanap's avatar
    ganeshsanap
    Jul 22, 2020

    Yung_man, Unfortunately Multi line text fields cannot be used in formulas in SharePoint.

    However, I will suggest you to consider one of the solutions from below:

    Solution 1:

    You can trick calculated columns into referring to a Multiple lines of text column by first creating a single lines of text column, using it in formula and then change its data type to multiple lines of text (or delete this column and create new column with exact same name). Refer below links:

    1. How to use 'Multiline Text Field' in calculated field? 
    2. How to trick a Calculated column into referring to a Multiple Lines of Text column 

    This is a kind of hack so you should use it with caution. Also, if you try to modify the formula or update the calculated column after this setup probably it will through an error.

     

    Solution 2: Use SharePoint designer workflow/Microsoft flow (Power Automate) on list item creation and item update to check if the multiple lines of field is blank or not and set the other column value accordingly using condition actions.


    Please click Mark as Best Response if my post helped you solve your issue. This will help others find the correct solution easily. It also closes the item. If the content was useful in other ways, please consider giving it Like.

Resources