WPS Spreadsheets IF Formula for Multiple Conditions and Alternative Values
Question details
The user needs a formula that displays a named action when multiple checklist responses meet exact conditions or acceptable alternative values.
- Product
- WPS Spreadsheets
- Device & OS
- not provided
- Scenario
- A worksheet uses checklist responses such as Y, High, Low, and Medium to determine which action label should appear.
- Observed behavior
- The worksheet needs to return a specific action only when all required conditions are satisfied; otherwise, it should remain blank.
Verify the checklist cell references and the exact text stored in each cell, including capitalization and spaces. Decide whether each action should be returned as quoted text or from a defined name that refers to a cell.
Use IF with AND and OR for exact and alternative conditions
Use this formula pattern when every required condition must be true and some cells can contain one of several acceptable values.
AND requires all listed tests to be true, while OR allows either of its listed values to satisfy a condition. Keep text values in quotation marks unless Action_4 or Action_6 is a defined name referring to a cell or value.
In WPS Spreadsheets, click the cell where the action name should appear and place the cursor in the formula bar.
For a condition requiring C18 to be Y and both C10 and C11 to be High, enter =IF(AND(C18="Y",C10="High",C11="High"),"Action_6","").
For a condition requiring C3 to be Y and allowing Low or Medium in both C10 and C11, enter =IF(AND(C3="Y",OR(C10="Low",C10="Medium"),OR(C11="Low",C11="Medium")),"Action_4","").
Press Enter, then change the checklist responses to verify that the action appears only when all AND conditions are met and stays blank otherwise.
Combine multiple action rules with a nested IF formula
Use a nested IF when one result should be selected for the first matching rule and another result should be displayed for a second rule.
Build Multi-Condition IF Formulas in WPS Spreadsheets
WPS Spreadsheets lets you create IF formulas with AND and OR, test exact or alternative checklist values, and return action labels or defined-name results in a familiar spreadsheet interface.
- 1. Open your workbook: Launch WPS Office, choose Spreadsheets, and open the workbook containing the checklist.
- 2. Select the output cell: Click the cell where the action should appear and use the formula bar to enter the IF, AND, and OR formula.
- 3. Customize the conditions: Replace the sample cell references and response values with those used in your worksheet.
- 4. Test the formula: Change the checklist answers and confirm that the correct action appears only when the required conditions are satisfied.

Frequently Asked Questions
How do I require several checklist conditions to be true in WPS Spreadsheets?
Place every required test inside AND, such as =IF(AND(C18="Y",C10="High",C11="High"),"Action_6",""). The action is returned only when all tests are true.
How can one cell accept either Low or Medium?
Use OR inside the main AND function: OR(C10="Low",C10="Medium"). This makes the condition true when C10 contains either accepted value.
Why does my IF formula return a blank result?
The blank is the final IF argument, so it appears whenever the conditions are false. Check the cell references, spelling, spaces, and capitalization of values such as Y, High, Low, and Medium.
Can an IF formula return a defined name instead of typed text?
Yes. If Action_4 or Action_6 is a defined name referring to a cell or value, use it without quotation marks in the result argument. Use quotation marks only for literal text labels.




