How to Evaluate Multiple Statuses in a Row Using Excel Formulas
Question details
The user needs a formula to evaluate a row of different status values and return a single overarching result based on a specific priority hierarchy.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Evaluating multiple cell statuses across a single row to determine a final overall status, prioritizing certain outcomes over others.
- Observed behavior
- The formula needs to output 'Passed' if all cells are 'Eligible', 'No Result' if any cell is 'Consult', and 'Failed' if any cell is 'Not Eligible'.
Identify the exact range of cells containing your status values (e.g., C2:F2) and ensure the text in your formulas perfectly matches the text data in your spreadsheet.
Use the IFS and AND/OR Functions
The IFS function combined with AND/OR provides a straightforward way to evaluate multiple conditions based on priority.
This method is compatible with Excel 2019 and later, including Microsoft 365. It evaluates conditions in the exact order they are written, making it perfect for prioritizing the 'Consult' and 'Not Eligible' statuses over the 'Eligible' status.
Click on the empty cell at the end of the row where you want the final status to appear.
Type the formula: =IFS(AND(C2:F2="Eligible"),"Passed",OR(C2:F2="Consult"),"No Result",OR(C2:F2="Not Eligible"),"Failed",TRUE,"Error").
Press Enter. If you are using an older version of Excel that supports dynamic arrays, the result will populate immediately. For legacy array evaluation, you might need to press Ctrl+Shift+Enter.
Click and drag the fill handle (the small square at the bottom right of the cell) down to apply the formula to the remaining rows in your dataset.

Use the LET and BYROW Functions (Excel 365 Only)
For Microsoft 365 users, the LET and BYROW functions offer a highly efficient, modern array approach for evaluating statuses.
Use WPS Spreadsheet to Handle Complex Formulas
WPS Office provides a powerful, free Spreadsheet tool that fully supports advanced logical functions like IFS, AND, and OR. You can easily evaluate multiple statuses across rows with a familiar interface and comprehensive formula support.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing your status data.
- 2. Input the formula: Select the target cell and type =IFS(AND(C2:F2="Eligible"),"Passed",OR(C2:F2="Consult"),"No Result",OR(C2:F2="Not Eligible"),"Failed",TRUE,"Error").
- 3. Calculate the status: Press Enter to calculate the final status for the row based on the priority conditions.
- 4. Fill the formula: Drag the fill handle at the bottom right of the selected cell to copy the formula down the column.

Frequently Asked Questions
Why does my IFS formula return a #NAME? error?
The #NAME? error typically occurs if you are using an older version of Excel (like Excel 2016 or earlier) that does not support the newer IFS function. If you are using an older version, consider using nested IF functions instead.
How do I rewrite this using nested IF statements for older Excel versions?
You can use the COUNTIF function wrapped in nested IFs. Try this formula: =IF(COUNTIF(C2:F2,"Consult")>0,"No Result",IF(COUNTIF(C2:F2,"Not Eligible")>0,"Failed",IF(COUNTIF(C2:F2,"Eligible")=COLUMNS(C2:F2),"Passed","Error"))).
Does capitalization matter when checking text like 'Eligible'?
No, Excel's logical formulas like IF, IFS, AND, and OR are not case-sensitive. The text 'eligible' and 'Eligible' will be treated as the exact same value during evaluation.
What happens if a cell in the row is blank?
Blank cells are evaluated as empty strings or zeros depending on the formula context. In the provided array formulas, a blank cell will not match 'Eligible', 'Consult', or 'Not Eligible'. This might trigger the fallback 'Failed' or 'Error' condition unless you explicitly add a rule to ignore blank cells.




