Determine if there are duplicate data for each row of cells in Excel 2010

Source: Internet
Author: User

① start Excel2010, see a few lines in the first half of the data, we have to do is to calculate whether each row has the same value, click H2 Cell, enter the formula: =if (OR (COUNTIF (B2:G2,B2:G2) >1), "", "No" & "Same"

② at this time not directly press the ENTER key, but Ctrl+shift+enter key three together, get the result, the same. True one, 二、六三个 month data is the same.

③ then we can double-click the + number fill handle to complete the remaining data records.

Formula meaning

First of all, using the COUNTIF function to calculate the number of data in the B2:g2 region, and then the or function to determine the number of each data, whether more than 1, there are greater than 1, or function will return true, and if the true function returns the result is None, and the same with the same string up the result If the or function is not valid, the IF function returns no concatenation with the same.

Classification:
  • Excel Tutorials

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.