How to Automatically Update a SharePoint Field When Status Changes
Question details
The user wants to automatically generate a Yes/No (Y/N) value in a SharePoint list field based on the selected service status (e.g., Open, Sold, Closed).

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Managing a SharePoint list where item statuses change, and secondary fields need to reflect these updates dynamically without manual data entry.
- Observed behavior
- The user needs a dynamic calculation where an Open Y/N column automatically displays Y for open items and N for closed or sold items based on the Status column.
Ensure you have the appropriate site permissions (at least Edit or Design access) to create and modify columns within the target SharePoint list.
Use a Calculated Column with an IF Formula
Creating a Calculated Column allows you to use standard Excel-like formulas to automatically evaluate the Status column and output the desired Y or N value.
SharePoint Calculated Columns automatically perform calculations based on other columns in the same list item. By applying an IF statement, you can define conditional rules that update instantly when the item is saved.
Navigate to your SharePoint list, click on the 'Add column' option at the end of the header row, and select 'Show all columns' at the bottom of the menu.
In the column creation screen, select the 'Calculated (calculation based on other columns)' radio button. Provide a name for your new column, such as 'Open Y/N'.
In the Formula text box, input the following exact formula: =IF(Status="Open","Y",IF(Status="","","N")). Ensure that 'Status' perfectly matches the name of your original status column.
Under the 'The data type returned from this formula is' section, select 'Single line of text'. Click 'OK' at the bottom of the page to save and apply the new auto-updating field.

Boost Your Productivity with WPS Office
While SharePoint handles online list management, analyzing exported SharePoint data is much easier with a powerful desktop spreadsheet tool. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office, featuring an advanced Spreadsheet application that supports all standard IF formulas and data processing tools.
- 1. Export Your SharePoint Data: Click 'Export to Excel' in your SharePoint list to download your data as an .iqy or .csv file.
- 2. Open with WPS Spreadsheet: Launch WPS Office and open the exported file to view your list offline.
- 3. Apply Advanced Formulas: Use WPS Spreadsheet's built-in formula library to perform the same IF calculations or mass-edit data before re-uploading.

Frequently Asked Questions
Why is my calculated column formula returning a syntax error in SharePoint?
Syntax errors usually happen if the column name is misspelled or contains spaces but isn't wrapped in brackets (e.g., [Status Name]). Furthermore, check your SharePoint site's regional settings; if you are outside the US, you may need to replace commas with semicolons in the IF formula.
Does the calculated column update instantly when a user changes the status?
Yes. SharePoint calculates the formula and updates the displayed field value immediately upon saving the list item with the new status.
Can I format the color of the Y/N field based on the result?
Yes. Once the calculated column is created, you can use SharePoint column formatting. Click the column header, select 'Column settings', then 'Format this column', and use conditional formatting rules to change the background or text color based on the Y or N value.
Can I use Power Automate instead of a calculated column?
Absolutely. If you want to trigger external actions (like sending an email or updating another system) when the status changes, creating a Power Automate flow with a Condition action is recommended over a simple calculated column.




