Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
326 views
in Technique[技术] by (71.8m points)

SharePoint Calculated Column - Get Dynamic Column ID

I have a number column called "Team Leader", "Process Lead", "Regional Manager"

I will get Team Leader Name, if "Team Leader" Column is Blank, then Get the Name of "Process Lead", if Both Column is Blank then Get the Name of "Regional Manager"

I also have a calculated column that looks to this column.

=IF(ISBLANK([Team Leader]),"",[Team Leader]),=IF(ISBLANK(["Process Lead]),"",[Process Lead])

This is where I am with my formula which doesn't work. Has anyone achieved this? ?

question from:https://stackoverflow.com/questions/65861601/sharepoint-calculated-column-get-dynamic-column-id

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Either of these 2 should help you:

First, result in blank value if Regional Manager is not provided.

IF(ISBLANK([Test column1]),IF(ISBLANK([Test Column2]),IF(ISBLANK([Test Column3]),"",[Test Column3]),[Test Column2]),[Test column1])

Another one:

IF(ISBLANK([Test column1]),IF(ISBLANK([Test Column2]),IF(ISBLANK([Test Column3]),"",[Test Column3]),[Test Column2]),[Test column1])

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...