PROBLEM: How to detect repeated rows or partial repeated?
=2.COUNTA(SOURCE[BATCH])1. - (ROWS(UNIQUE(SOURCE[DESCRIPTION])))>0;
ROWS(array)
It determines the number of rows. In this case: 5-1=4 The "-1" it excludes every empty row.
At our table:
Rows |
---|
4 |
COUNTA (value1, [value2],...)
At our table:
COUNTA |
---|
4 |
UNIQUE (array, [by_col], [occurs_once])
Returns unique values
At our table:
Description | Batch |
---|---|
GDNS | 6 |
CPKJ | 2 |
HPBC | 2 |
BOAH | 2 |
Go to "Formula/Name Manager" and create "New". In this case the name given was "Repe". Insert the formula above. In a cell, insert the formula =IF(Repe;"Repeated batch";"")