How to Make an Excel IFS or AND Formula Spill Results Down a Column
Question details
The user wants to generate spilled TRUE or FALSE results down a column using an IFS or AND formula with vertical data ranges.

- Product
- Spreadsheet
- Device & OS
- not provided
- Scenario
- Evaluating vertical data ranges where each row needs to be processed individually to return multiple results as a dynamic array.
- Observed behavior
- The IFS or AND formula evaluates the range as a single calculation, returning only one combined result instead of spilling an array of results for each row.
Ensure that your spreadsheet software supports dynamic array functions such as MAP, BYROW, and LAMBDA, and verify that the cells below your target formula cell are empty to prevent a #SPILL! error.
Use the MAP Function with LAMBDA
Use the MAP function combined with LAMBDA to process each row individually and output spilled results.
The MAP function allows you to pass multiple ranges or arrays into a LAMBDA function. It evaluates each corresponding element row by row, making it the ideal solution for forcing an AND or IFS function to return a dynamic array of results instead of a single aggregated value.
Click on the blank cell where you want the first result of the spilled array to appear.
Type =MAP(A1:A10,B1:B10,LAMBDA(a,b,AND(a="value1",b="value2"))) into the formula bar.
Replace A1:A10 and B1:B10 with your actual vertical data ranges, and change "value1" and "value2" to match your specific logical test criteria.
Press Enter. The formula will automatically evaluate each row and spill the TRUE or FALSE results vertically down the column.

Use the BYROW Function
Apply the BYROW function to evaluate an entire contiguous data array row by row.
Handle Dynamic Arrays and Complex Formulas in WPS Spreadsheet
WPS Spreadsheet is a powerful data analysis tool that fully supports advanced formula calculations and logical operations. You can seamlessly evaluate complex criteria across extensive datasets and utilize dynamic arrays without the need for manual row-by-row entry.
- 1. Open your workbook: Launch WPS Spreadsheet and open the file containing the data ranges you need to analyze.
- 2. Enter the array formula: Select an empty cell and input your dynamic array formula directly into the formula bar.
- 3. Press Enter to execute: Hit Enter to let WPS Spreadsheet evaluate the logic and spill the array results down your column automatically.

Frequently Asked Questions
Why is my dynamic array formula returning a #SPILL! error?
A #SPILL! error occurs when the formula needs to spill results down the column, but one or more cells in the required spill range contain data. To resolve this, simply clear or delete the blocking data in the cells below your formula.
Does the standard IFS function spill results automatically?
No, the standard IFS or AND function typically aggregates vertical ranges into a single logical test result. To force it to spill row-by-row, you must wrap the logic inside a helper array function like MAP or BYROW combined with LAMBDA.
Can I use these dynamic array functions in older spreadsheet versions?
Dynamic array functions like MAP, BYROW, and LAMBDA are modern spreadsheet features. If you are using an older version, you will need to enter a standard formula in the first cell and manually drag it down the column to apply it to each row.




