Automatically fill a Sharepoint list field

Frequent Contributor

Hi 

We have a field in a Sharepoint list that has Yes / No answers

 

We want another field to automatically be completed if the answer to the Yes/No field is set to No

 

Anyone know if thsi can be done?

5 Replies

Hello,@Pn1995 

 

I hope this is helpful solution,

Add Yes/No filed and select type of calculated filed then add formula 

=IF([Yes/No],"Complete","IN Progress")

khushbu1595_0-1653999170042.png

 

 

@khushbu

 

Thanks

I added the below: (Harm Yes or No is my other column)

=IF([Harm Yes or No],"No","Very Low")


Pn1995_0-1654000742775.png
However I get this error:

Pn1995_1-1654000824912.png

 


I'm I missing a step?

 

Thanks

 

 

Can you tell me about Harm Yes or No is Which type of column?
Its just a single line of text field

@Pn1995 You need to create a "Calculated column" instead of "Single line of text" column.

ganeshsanap_0-1654002969936.png

 

Also, what is the data type of "Harm Yes or No" column?
If data type of "Harm Yes or No" is "Choice" or "Single line of text" use this formula: 

 

=IF([Harm Yes or No] = "No", "No", "Very Low")

 

 If data type of "Harm Yes or No" is "Yes/No" use this formula: 

 

=IF([Harm Yes or No], "Very Low", "No")

 

First value in above IF function is for Yes/true value.


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