» Retrieving Unique Values From A List
CATEGORY - Excel Formula and Function
VERSION - All Microsoft Excel Versions
Problem: 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.
List_________Distinct List
Red
Blue_________Red
Green________Blue
Yellow_______Green
Green________Yellow
Blue_________#N/A
Blue

Book Store:
Recommended Books:
- Microsoft Word Version 2002 Step By Step (With CD-ROM)
- Windows XP for Dummies
- How to Pay Zero Taxes (Annual)
- Quantitative Methods in Derivatives Pricing: An Introduction to Computational Finance
- Essentials of Accounting and Post Test Booklet 8, Eighth Edition
- The Fall of Advertising and the Rise of PR
No comments have been submitted.

