Function Problems

WPS Spreadsheet Formula to Return YES When Multiple Conditions Are Met

Khadija KhanKhadija Khan Nov 12, 2026 869 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Select the result cell

Open the worksheet in WPS Spreadsheet and select the cell where the YES or NO result should appear.

2
Enter the formula

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.

3
Verify each condition

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.

4
Fill the formula down

Select the formula cell, use the fill handle, or copy and paste it into additional rows so the relative cell references adjust automatically.

Formula result: The formula displays YES only when O2 is Real Deal, P2 matches one of the two approved statuses, CR2 is blank, AB2 is not blank, and S2 is later than 16 days from today.

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. 1. Open WPS Spreadsheet: Launch WPS Office and open an existing workbook or create a new spreadsheet.
  2. 2. Prepare the source cells: Enter the text, status, blank-cell, and date values in the columns referenced by the formula.
  3. 3. Insert the formula: Select the output cell and enter the IF, AND, OR, ISBLANK, and TODAY formula to calculate YES or NO.
  4. 4. Add status validation: Use Data > Data Validation to provide a controlled list for the approval-status cells.
Evaluate text, blank-cell, nonblank-cell, and date conditions in one formulaUse dropdown validation to prevent inconsistent approval-status spellingEdit and fill formulas quickly with a familiar spreadsheet interfaceOpen and save Microsoft Excel .xlsx workbooks with compatible formatting and formulas
microsoft office alternative - wps office

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.