WPS Spreadsheet Formula to Return YES When Multiple Conditions Are Met
Question details
The user needs a WPS Spreadsheet formula that returns YES only when several text, blank-cell, nonblank-cell, and date conditions are satisfied.
- Product
- WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Evaluate cells O2, P2, CR2, AB2, and S2 using combined AND and OR criteria.
- Observed behavior
- The formula must return YES when all required conditions match and NO otherwise, while standardized status values prevent spelling differences from affecting the result.
Check the exact text stored in O2 and P2, and confirm that S2 contains a valid date or numeric date value. Review whether AB2 is truly empty or contains a formula returning an empty string, because ISBLANK treats those cases differently.
Use a combined IF, AND, and OR formula for the YES or NO result
Use this solution when the result depends on several text matches, blank-cell checks, nonblank-cell checks, and a date comparison.
The formula returns YES only when every AND condition is true. The OR section allows P2 to contain either approved status spelling, while TODAY()+16 compares S2 with the date 16 days from today.
Open the worksheet in WPS Spreadsheet and select the cell where the YES or NO result should appear.
Type =IF(AND(O2="Real Deal",OR(P2="Conditional Approved",P2="Approved w/condition"),CR2="",NOT(ISBLANK(AB2)),S2>TODAY()+16),"YES","NO") in the selected cell, then press Enter.
Change the referenced values in O2, P2, CR2, AB2, or S2 one at a time and confirm that the result changes between YES and NO as expected.
Select the formula cell, use the fill handle, or copy and paste it into additional rows so the relative cell references adjust automatically.
Standardize the P2 status with data validation
Use this option when inconsistent spelling in approval statuses causes the OR condition to return unexpected results.
Build Multi-Condition YES or NO Formulas in WPS Spreadsheet
WPS Spreadsheet supports the IF, AND, OR, ISBLANK, and TODAY functions needed to evaluate multiple criteria. Create the formula, standardize status entries with Data Validation, and copy the result across your worksheet.
- 1. Open WPS Spreadsheet: Launch WPS Office and open an existing workbook or create a new spreadsheet.
- 2. Prepare the source cells: Enter the text, status, blank-cell, and date values in the columns referenced by the formula.
- 3. Insert the formula: Select the output cell and enter the IF, AND, OR, ISBLANK, and TODAY formula to calculate YES or NO.
- 4. Add status validation: Use Data > Data Validation to provide a controlled list for the approval-status cells.

Frequently Asked Questions
How does the formula decide when to display YES?
It displays YES only when O2 equals Real Deal, P2 equals either approved status, CR2 is blank, AB2 is not blank, and S2 is later than TODAY()+16. If any AND condition fails, it displays NO.
Why does the formula use OR for the P2 status?
OR allows either Conditional Approved or Approved w/condition to satisfy the status requirement. If only one standardized spelling is allowed, replace the OR expression with one direct comparison.
How can I prevent users from entering misspelled statuses?
Select P2 or the relevant status range, open Data > Data Validation in WPS Spreadsheet, and create a list containing the approved status values.
What is the difference between CR2="" and ISBLANK(AB2)?
CR2="" checks whether CR2 evaluates to an empty string, while ISBLANK(AB2) checks whether AB2 is genuinely empty. A cell containing a formula that returns an empty string may not be considered blank by ISBLANK.
Can I use this formula for other rows?
Yes. Copy or drag the formula to other rows in WPS Spreadsheet. Relative references such as O2 and P2 will adjust to the corresponding row automatically.




