» Retrieving Unique Values from a List
CATEGORY - Excel Formula and Function
VERSION - All Microsoft Excel Versions
Column A contains a list of values, each of which may appear more than once.
We want to create a list in column B in which each value from column A may only appear once.
Solution:
Use the INDEX, MATCH, and COUNTIF functions as shown in the following Array formula:
{=INDEX($A$2:$A$8,MATCH(0,COUNTIF($B$2:B2,$A$2:$A$8),0))}
Note:
The first cell in the unique list (column B) must remain empty.
The formula should be entered in the second cell and copied down until the #N/A error is returned.
Book Store:
Recommended Books:
- MP Managerial Accounting w/ Topic Tackler, Net Tutor, & PowerWeb
- Windows XP All-in-One Desk Reference For Dummies
- Microsoft Windows XP Inside Out
- The Ernst & Young Business Plan Guide
- Keys to Reading an Annual Report (Barron's Business Keys)
- The Total Money Makeover. : A Proven Plan for Financial Fitness
No comments have been submitted.

