field box, as shown in the figure: Then modify the data in the pivot table, single"/> field box, as shown in the figure: Then modify the data in the pivot table, single">
search
HomeSoftware TutorialOffice SoftwareExcel operation content to remove duplicate values ​​from single column data

Method 1: Menu button

As shown in the figure, it is the source data of this operation.

Excel operation content to remove duplicate values ​​from single column data

Click the [Data] tab--"[Data Tools] Ribbon--"[Delete Duplicates], the [Delete Duplicates] dialog box will pop up, click [OK] 】to delete duplicate values ​​in a single column of data.

Excel operation content to remove duplicate values ​​from single column dataExcel operation content to remove duplicate values ​​from single column data

Method 2: Pivot table method

Still using the above data source, click the [Insert] tab--"[Table] ribbon --》[Pivot Table], the prompt box as shown in the figure will appear. Here, select cell C1 of the existing worksheet (you can select a new worksheet as needed), click [OK] to complete the creation of the Pivot Table, as follows Picture:

Excel operation content to remove duplicate values ​​from single column data

Check the check box in front of [Name], and the [Name] field will appear in the frame of the "Row" field, as shown in the picture:

Excel operation content to remove duplicate values ​​from single column data

Then modify the data in the pivot table, click the cell where [row label] is located, change the text of the cell to [name], click any cell in the pivot table, and click [Pivot Table Tool]--"[Design] tab--"[Layout] ribbon--"[Disable rows and columns] button under [Total] is completed, as shown in the figure:

Excel operation content to remove duplicate values ​​from single column dataExcel operation content to remove duplicate values ​​from single column data

Method Three: Formula Method

As shown in the figure, enter the following formula in cell C1, press Ctrl Shift Enter three keys at the same time to end, drag the cell to enter the formula The fill handle in the lower right corner completes the filtering of non-duplicate data.

Excel operation content to remove duplicate values ​​from single column dataExcel operation content to remove duplicate values ​​from single column data

Then we will explain the formula step by step. First, MATCH($A$1:$A$10,$A$1:$A$10,)=ROW($1: $10) means to find whether the position of cells A1 to A10 in the reference area $A$1:$A$10 is equal to the position of the current cell row number. If they are equal, it means that the data is unique in this area, and then through IF(MATCH ()) The combination function returns the row number of this field, otherwise it returns 2^20=1048576, then uses the SMALL function to sort the obtained row numbers in ascending order, and finally uses the INDEX function to find the value of the position of the row number, &[] mainly For fault tolerance, imagine that if all the data is fetched, only 1048576 positions are left, then INDEX(A:A,1048576)=0, add a &[] to return empty text.

Method 4: SQL method

Click the [Data] tab--""Get External Data" ribbon--"Existing Connection, open the [Existing Connection] dialog box, Click [Browse More] in the lower left corner, then find the path to the workbook where the data source is located, click [Open], and the [Select Table] dialog box will appear. Keep the default state, and click the [OK] button, such as As shown in the picture:

Excel operation content to remove duplicate values ​​from single column dataExcel operation content to remove duplicate values ​​from single column data

Then select the [Table] radio button. Here I select cell C1 of the existing worksheet (you can select a new worksheet as needed), Click the [Properties] button to open the "Connection Properties" dialog box, find the [Definition" tab, clear the text of the command text, and enter the following statement: SELECT DISTINCT * FROM [Sheet1$] (Here Sheet1 is my source data Name, enter the name of your worksheet, and [] and $ cannot be missing. If there are other fields in the cell area or the data is not at the beginning of the row, you must also enter your data source area, such as [Sheet1$].A4 :A12), as shown in the figure:

Excel operation content to remove duplicate values ​​from single column dataExcel operation content to remove duplicate values ​​from single column dataExcel operation content to remove duplicate values ​​from single column data

Method Five: Advanced Filtering Method

Click the [Data] tab--》[ Sort and Filter] Ribbon--"[Advanced] button, the [Advanced Filtering] dialog box will pop up, as shown in the figure:

Excel operation content to remove duplicate values ​​from single column dataExcel operation content to remove duplicate values ​​from single column data

Select [Copy filter results to other locations], select [List area] and [Copy to] locations, and check the [Select non-duplicate records] checkbox. As shown in the figure, click [OK] to complete the filtering of duplicate values.

Excel operation content to remove duplicate values ​​from single column dataExcel operation content to remove duplicate values ​​from single column data

The above is the detailed content of Excel operation content to remove duplicate values ​​from single column data. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:zol. If there is any infringement, please contact admin@php.cn delete
Your Calculator App Can Be Replaced By Microsoft ExcelYour Calculator App Can Be Replaced By Microsoft ExcelMar 06, 2025 am 06:01 AM

Ditch the Calculator: Why and How to Use Excel for All Your Calculations I haven't touched a calculator in ages. Why? Because Microsoft Excel handles all my calculations with ease, and it can do the same for you. Why Excel Trumps a Calculator While

Don't Create Tables in Word: Use Excel InsteadDon't Create Tables in Word: Use Excel InsteadMar 06, 2025 am 03:04 AM

Creating tables in Word, although improved, is still cumbersome and sometimes brings more problems. This is why you should always create tables in Microsoft Excel. Why is it better to create tables in Excel? In short, Word is a word processor, while Excel is a data processor. So Word is not built for the best table creation, but its similar product, Excel. Here are just some of the reasons why creating tables in Excel is better than using Microsoft Word: Although it is surprising that you can use many Excel-like features in Microsoft Word tables, in Excel you

How to Reduce the Gaps Between Bars and Columns in Excel Charts (And Why You Should)How to Reduce the Gaps Between Bars and Columns in Excel Charts (And Why You Should)Mar 08, 2025 am 03:01 AM

Enhance Your Excel Charts: Reducing Gaps Between Bars and Columns Presenting data visually in charts significantly improves spreadsheet readability. Excel excels at chart creation, but its extensive menus can obscure simple yet powerful features, suc

How to Use the AVERAGEIF and AVERAGEIFS Functions in ExcelHow to Use the AVERAGEIF and AVERAGEIFS Functions in ExcelMar 07, 2025 am 06:03 AM

Quick View of AVERAGEIF and AVERAGEIFS Functions in Excel Excel's AVERAGEIF and AVERAGEIFS functions can be used to calculate the average value of a dataset. However, unlike simpler AVERAGE functions, they are able to include or exclude specific values ​​in the calculation. How to use the AVERAGEIF function in Excel Excel's AVERAGEIF function allows you to calculate the average value of a filtered dataset based on a single condition set. AVERAGEIF function syntax The AVERAGEIF function contains three parameters: =AVERAGEIF(x,y,z)

5 Things You Can Do in Excel for the Web Today That You Couldn't 12 Months Ago5 Things You Can Do in Excel for the Web Today That You Couldn't 12 Months AgoMar 22, 2025 am 03:03 AM

Excel web version features enhancements to improve efficiency! While Excel desktop version is more powerful, the web version has also been significantly improved over the past year. This article will focus on five key improvements: Easily insert rows and columns: In Excel web, just hover over the row or column header and click the " " sign that appears to insert a new row or column. There is no need to use the confusing right-click menu "insert" function anymore. This method is faster, and newly inserted rows or columns inherit the format of adjacent cells. Export as CSV files: Excel now supports exporting worksheets as CSV files for easy data transfer and compatibility with other software. Click "File" > "Export"

Microsoft Excel Keyboard Shortcuts: Printable Cheat SheetMicrosoft Excel Keyboard Shortcuts: Printable Cheat SheetMar 14, 2025 am 12:06 AM

Master Microsoft Excel with these essential keyboard shortcuts! This cheat sheet provides quick access to the most frequently used commands, saving you valuable time and effort. It covers essential key combinations, Paste Special functions, workboo

How to Use LAMBDA in Excel to Create Your Own FunctionsHow to Use LAMBDA in Excel to Create Your Own FunctionsMar 21, 2025 am 03:08 AM

Excel's LAMBDA Functions: An easy guide to creating custom functions Before Excel introduced the LAMBDA function, creating a custom function requires VBA or macro. Now, with LAMBDA, you can easily implement it using the familiar Excel syntax. This guide will guide you step by step how to use the LAMBDA function. It is recommended that you read the parts of this guide in order, first understand the grammar and simple examples, and then learn practical applications. The LAMBDA function is available for Microsoft 365 (Windows and Mac), Excel 2024 (Windows and Mac), and Excel for the web. E

If You Don't Use Excel's Hidden Camera Tool, You're Missing a TrickIf You Don't Use Excel's Hidden Camera Tool, You're Missing a TrickMar 25, 2025 am 02:48 AM

Quick Links Why Use the Camera Tool?

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools