Jul 05 2022 01:19 AM
Hello Everyone,
I have two questions :
1 -- Tells how many rows/columns have duplicates with the help of formula? E.g. 2 rows and 3 columns have duplicate values.
2 -- Tells the specific rows/columns with duplicate values with the help of formula ? E.g. Hire Date has duplicate values.
Please help..
Here is a attached file..
Jul 05 2022 01:55 AM
@Excel I pulled your data into Power Query and found that four sets of rows are duplicated. That is, where all of the fields are the same. And because there are duplicate rows, all 8 columns contain duplicates.
But perhaps I misunderstood your questions. Then you can perhaps clarify your intentions and identify and count the duplicates manually, explaining the logic.
Jul 05 2022 03:12 AM
SolutionAs @Riny_van_Eekelen points out, the question does not make much sense in the context of the given dataset. The possible solutions also depend on the version of Excel you have. For example, using Excel 365 one could define a Lambda function
= LAMBDA(range,
LET(
distinct, UNIQUE(range),
duplicated?, COUNTIFS(range, distinct) > 1,
SUM(N(duplicated?))
)
)
so that applying it column by column
= BYCOL(Table1, CountDupsλ)
gives
Jul 05 2022 03:12 AM
SolutionAs @Riny_van_Eekelen points out, the question does not make much sense in the context of the given dataset. The possible solutions also depend on the version of Excel you have. For example, using Excel 365 one could define a Lambda function
= LAMBDA(range,
LET(
distinct, UNIQUE(range),
duplicated?, COUNTIFS(range, distinct) > 1,
SUM(N(duplicated?))
)
)
so that applying it column by column
= BYCOL(Table1, CountDupsλ)
gives