» Retrieving List Values that Do Not Appear in a Second List
CATEGORY - Excel Formula and Function
VERSION - All Microsoft Excel Versions
Problem: We want to create a new list consisting of the values from List1 (column A) that are not common to List2 (column B) as well.
Solution:
Use the INDEX, SMALL, IF, COUNTIF, and ROW functions as shown in the following Array formula:
{=INDEX($A$2:$A$7,SMALL(IF(COUNTIF($B$2:$B$7,$A$2:$A$7)=0,ROW($A$2:$A$7),1000),ROW()-ROW($C$2)+1)-ROW($C$2)+1)}
Enter the formula in cell C2 and copy it down the column until the #REF! error is returned.
Book Store:
Recommended Books:
- Investing for Dummies, Third Edition
- Special Edition Using Microsoft Excel 2002
- H&R Block's Just Plain Smart(tm) Tax Planning Advisor: A year-round approach to lowering your taxes this year, next year and beyond
- Rich Dad's Guide to Investing: What the Rich Invest in, That the Poor and the Middle Class Do Not!
- Microsoft PowerPoint Version 2002 Step by Step
No comments have been submitted.

