How to Extract Unique Values in Excel (With or Without Duplicates Included)
AuthorSun•Last modified
When working with large datasets in Excel, extracting unique values is a common task. Whether you're cleaning up duplicate entries, building reports, or analyzing data, knowing how to isolate unique values can save you a lot of time.
- Exclude duplicates entirely – return only values that appear once
- Include first duplicates – return each value once, keeping the first occurrence
In this guide, we'll walk you through multiple methods to handle both scenarios, including formulas, built-in Excel tools, and a much simpler solution.
- Extract values that appear only once with an array formula
- Quickly extract unique values with Kutools for Excel
- Extract unique values including first duplicates with an array formula
- Use Advanced Filter to extract unique values
- Extract unique values in a few clicks with Kutools for Excel
Extract all unique values (appear only once)
Sometimes, you may need to extract values that appear only once in a dataset. In a customer list, this can help identify non-repeated records while completely excluding duplicate customer names.

Below are two effective ways to extract values that appear exactly once in Excel.
Extract values that appear only once with an array formula
Excel formulas can help you extract values that occur only once, but they require careful setup.
Steps:
- Select your data range (e.g., A2:A16).
- In the Name Box (located to the left of the formula bar), enter a name for the selected data range, such as List, and press Enter.

- Select a blank cell where you want to display the first unique value, and enter the following formula:
=INDEX(List, MATCH(0, INDEX(COUNTIF(F1:$F$1, List) + (COUNTIF(List, List)<>1), 0, 0), 0)) - Press Ctrl + Shift + Enter to confirm.
- Drag the fill handle down to extract all unique results.

- Here we enter the formula in cell F2, so F1:$F$1 refers to the cells above the output range.
- Once all unique values are returned, additional cells may display #N/A. You can safely remove them.
Quickly extract unique values with Kutools for Excel
If complex array formulas are difficult to remember, Kutools for Excel’s Formula Helper provides a much simpler way to extract unique values automatically. Instead of manually building formulas, you only need to select the data range, and the tool will generate the formula for you.
Kutools for Excel - Packed with over 300 essential tools for Excel. Make Excel tasks faster, easier, and more efficient. Download now!
Steps:
- Select a blank cell where you want to return the first unique value.
- Select Kutools > Formula Helper > Formula Helper.

- In the Formula Helper dialog:
- Select Extract unique values from the formula list.
- In the Arguments input section, select the data range from which you want to extract the unique values.
- Click OK.

Result
The first unique value is returned instantly. Simply drag the fill handle down to extract all remaining unique values.
Behind the scenes, Kutools automatically creates the required array formula, allowing the results to update dynamically when the source data changes.

This method stands out because you don’t need to remember complex formulas or perform any manual setup. It provides fast and accurate results with just a few clicks, making it an ideal solution for both beginners and advanced Excel users.
Kutools for Excel - Supercharge Excel with over 300 essential tools, making your work faster and easier, and take advantage of AI features for smarter data processing and productivity. Get It Now
Extract all unique values (include first duplicates)
In many cases, you may need to extract a list of unique customer names while keeping the first occurrence of duplicated entries. This is useful for creating a clean customer list, organizing records, or preparing data for analysis without repeated names appearing multiple times.
Here are three effective ways to achieve this in Excel.
Extract unique values including first duplicates with an array formula
In this section, you will learn how to use an array formula to extract a list of unique customer names while keeping the first occurrence of duplicated entries. This method returns each customer name only once, even if it appears multiple times in the original list. Although the formula is powerful and updates dynamically when the source data changes, it is relatively complex and may be difficult for many users to remember or modify.
Steps:
- Select a blank cell (e.g., F2).
- Enter the following formula:
=IFERROR(INDEX($A$2:$A$16, MATCH(0, FREQUENCY(IF(EXACT($A$2:$A$16, TRANSPOSE($F$1:F1)), MATCH(ROW($A$2:$A$16), ROW($A$2:$A$16)), ""), MATCH(ROW($A$2:$A$16), ROW($A$2:$A$16))), 0)), "") - Press Ctrl + Shift + Enter to get the first result.
- Drag the fill handle down to extract all unique values including the first occurrence.

This formula is powerful but quite complex, making it harder to maintain.
Use Advanced Filter to extract unique values
If you prefer not to use complex array formulas, Excel’s built-in Advanced Filter feature provides a quicker and more straightforward way to generate a list containing only one instance of each customer name from the original dataset. This method is easy to use and works well for one-time data extraction tasks.
Steps:
- Select your data range (including the header).
- Go to Data > Advanced.

- In the Advanced Filter dialog box:
- Choose Copy to another location.
- Specify a destination cell.
- Check Unique records only.
- Click OK.

Result
Excel instantly creates a new list containing only unique customer names from the selected column, while automatically keeping the first occurrence of duplicated entries. The extracted results are placed in the specified output location, making it easy to create a clean customer list for further analysis or reporting.

Limitations:
- Results are static (won't update automatically).
- Requires re-running if data changes.
Extract unique values in a few clicks with Kutools for Excel
If the array formula feels too complicated and the Advanced Filter method requires too many manual steps, Kutools for Excel provides a much faster and easier solution. With its Formula Helper feature, you can quickly extract a list of unique customer names while automatically keeping the first occurrence of duplicated entries. You only need to select the data range and click OK—Kutools will automatically generate the required formula for you, making the process much simpler and more efficient.
Kutools for Excel - Packed with over 300 essential tools for Excel. Make Excel tasks faster, easier, and more efficient. Download now!
Steps:
- Select a blank cell where you want to return the first unique value.
- Select Kutools > Formula Helper > Formula Helper.

- In the Formula Helper dialog:
- Select Extract cells with unique values (include the first duplicate value) from the formula list.
- In the Arguments input section, select the data range from which you want to extract the unique values.
- Click OK.

Result
The first unique customer name is returned instantly. Simply drag the fill handle down to extract all unique customer names while keeping the first occurrence of duplicated entries.
Behind the scenes, Kutools automatically generates the required array formula, allowing the results to update dynamically whenever the source data changes.

This method requires no manual formulas or Advanced Filter setup and works instantly with just a few simple steps. By automatically generating the required formula, it greatly reduces the risk of formula errors and makes extracting unique values much easier, making it a perfect solution for everyday Excel tasks.
If you need a quick, repeatable, and hassle-free solution, Kutools for Excel is clearly the most efficient choice.
Kutools for Excel - Supercharge Excel with over 300 essential tools, making your work faster and easier, and take advantage of AI features for smarter data processing and productivity. Get It Now
Conclusion
Extracting unique values from a list in Excel can be useful for organizing records, preparing reports, and analyzing data more efficiently. Depending on your needs, you can either extract values that appear only once or generate a unique list while keeping the first occurrence of duplicated entries.
Although array formulas and Excel’s built-in features can accomplish these tasks, they often involve complex formulas or multiple manual steps. In comparison, Kutools for Excel's Formula Helper offers a much quicker and easier approach by automatically generating the required formula for you. With just a few clicks, you can extract unique values dynamically and handle daily Excel tasks more efficiently.
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.
- All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license — set up in minutes (MSI-ready)
- Works better together — streamlined productivity across Office apps
- 30-day full-featured trial — no registration, no credit card
- Best value — save vs buying individual add-in
Table of contents
- Extract unique values (appear only once)
- Using formula
- Using Kutools for Excel
- Extract unique values (include first duplicates)
- Using formula
- Using Advanced Sort
- Using Kutools for Excel
- The Best Office Productivity Tools
Kutools for Excel
Brings 300+ powerful features to streamline your Excel tasks.
- ⬇️ Free Download
- 🛒 Purchase Now
- 📘 Feature Tutorials
- 🎁 30-Day Free Trial







