How to Create a Microsoft Lists Calculated Column Based on Three Conditions
Question details
The user needs to configure a calculated column that outputs a specific letter based on eight possible combinations of values located in three distinct columns.

- Product
- Microsoft Lists
- Device & OS
- not provided
- Scenario
- Creating customized data mapping logic where the calculated output relies on the exact matching of three different variables.
- Observed behavior
- The calculated column successfully returns the mapped letters when a nested IF formula combined with AND conditions evaluates the precise combination of the three target columns.
Verify the exact internal names of your target columns, as Microsoft Lists requires precise references and is highly sensitive to spaces or special characters in column headers.
Use a Nested IF Formula with AND Conditions
Evaluate each specific combination of your three columns logically to output the corresponding letter using the IF and AND functions.
To output a specific value based on multiple criteria, you must evaluate all three columns simultaneously for every possible scenario. The AND function allows you to group the three conditions (for example, S=S1, F=F1, P=P1). The IF function then checks if this grouped condition is true; if it is, it returns the assigned letter. By nesting these IF statements, you can seamlessly map out all eight required combinations in a single formula.
Open your target Microsoft List, click on 'Add column', and select 'Calculated (calculation based on other columns)' from the dropdown menu.
Enter a descriptive name for your new calculated column and ensure the data type returned from this formula is set to 'Single line of text'.
In the formula box, begin by defining your first combination using the AND function: AND([S]="S1", [F]="F1", [P]="P1").
Wrap the condition in an IF statement and continue chaining for all eight combinations. Your formula will look similar to: =IF(AND([S]="S1",[F]="F1",[P]="P1"),"a", IF(AND([S]="S2",[F]="F2",[P]="P2"),"e", "")). Add the remaining combinations following this exact pattern.
Ensure you have the correct number of closing parentheses at the end of your nested formula (one for each IF statement), then click 'Save' to apply the logic.

Handle Complex Data and Formulas with WPS Office
While Microsoft Lists is a great web-based tracking tool, many complex data mapping tasks are better managed in a dedicated spreadsheet. WPS Spreadsheet offers a powerful, lightweight, and completely free alternative to Microsoft Excel for offline data analysis and complex nested formulas.
- 1. Export Your List: From Microsoft Lists, click 'Export' and choose 'Export to Excel' to download your data file.
- 2. Open with WPS Spreadsheet: Launch WPS Office and open the downloaded .xlsx or .csv file to access your data offline.
- 3. Apply Your Formulas: Use WPS Spreadsheet's built-in formula bar to easily create and manage your nested IF and AND conditions without web-based restrictions.

Frequently Asked Questions
What is the maximum number of nested IF statements allowed?
In SharePoint and Microsoft Lists, you can safely nest up to 19 IF statements in a calculated column. If your combinations exceed this, you may need to reconsider your data structure or use Power Automate for evaluation.
Why is my calculated column formula returning a syntax error?
Syntax errors often occur due to misspelled column names, missing parentheses, or using a comma instead of a semicolon as a list separator, which heavily depends on your account's regional settings.
How do I reference column names with spaces in my formula?
If your column name contains spaces or special characters, you must enclose it in square brackets within the formula, such as [My Column Name], to ensure it is recognized properly.




