Searching duplicate data and deleting methods in Excel

Source: Internet
Author: User


I use Excel to manage students' scores. I want to highlight the score data of students with the same name (change the font and cell fill color) and use "conditional format.

1. Start Excel 2003 (similar to the basic version) to open the student renewal table.

2. Select the cell area where the data is located (for example, B2 to J2001) and run the "format & rarr; condition format" command to open the "condition format" dialog box.

3. Click the drop-down button on the right of the leftmost box, select the "formula" option in the drop-down list that will pop up later, and enter the formula in the box that follows: = COUNTIF ($ B $2: $ B $2001, $ B2)> 1 (Here we assume that the name is stored in the B2 to B2001 region ).

4. click "format" to bring up the "cell format" dialog box. Under the "font" tab, click the drop-down button on the right of "color" to expand the color palette and select "red "; switch to the "pattern" tab and select a color.

5. After the settings are complete, click "OK" twice to return the result. The data row of the student with the same name is highlighted.

 
If you are not used to this operation, you can set the above format in cell B2. The formula is = COUNTIF (B $2: B $865, B2)> 1, then, use the format to fl the following cells.


Summary: Select B2: B865, format, condition format, formula, = COUNTIF (B $2: B $865, B2)> 1, set format

To delete duplicate data, refer to the following method:


How to delete duplicate rows and data in Excel2007:

Deleting duplicate data in Excel2007 is a simple task, and the "delete duplicate items" function is directly available.

 

Select the "data" tab and click "delete duplicate items" in the "sort and filter" area.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.