A zero value indicates a value inlist1thatis notfound inlist2.
Any other positive number indicates a value inlist1thatisfound inlist2.
Any value inlist1associated with a zero is removed, while any value associated with a positive number survives.
The result is an array of 7 matching values whichspillinto the range F5:F11.
Non-matching values
To extract non-matching values fromlist1(i.e.
The result is a list of the values inlist1that are not present inlist2.
The core of this formula is theINDEX function, which receiveslist1as thearrayargument.
Most of the remaining formula simply calculates the row number to use for matching values.
For another example of this idea, seethis formula.
The output from FILTER is dynamic.
If source data or criteria change, FILTER will return a new set of results.
COUNTIF can be used to count cells that…