Eloise T
Active Member
I use the following formula which looks at the array in Column A and checks for duplicate Work Order number entries. (When there is a duplicate, there is usually only one, but occasionally there can be 2 or on rare occasion, 3 duplicates.)
=IF(A3<>"",IF(SUMPRODUCT((TRIM($A$3:$A$15000)=TRIM(A3))+0)>1,"Dup. WO# in Row ",""),"--")
Returns "--" if no data in Column A,
"" if no duplicate found in Column A,
and "Dup. WO# in Row " if a work order appears more than once.
Currently, the formula works fine; however, the array is over 10,000 rows long and it gets tedious to scroll through to find where the duplicate row(s) are when the formula flags a match. Can the formula be reengineered to also indicate,
e.g. "Dup. WO# in Row " nnnn?
Simply concatenating the row in the formula: &ROW()
=IF(A3<>"",IF(SUMPRODUCT((TRIM($A$3:$A$15000)=TRIM(A3))+0)>1,"Dup. WO# in Row "&ROW(),""),"--")
...only returns the row you are currently looking at, not the OTHER duplicate(s) row(s). Please see attachment sample.
Can the other Duplicate row be returned?
=IF(A3<>"",IF(SUMPRODUCT((TRIM($A$3:$A$15000)=TRIM(A3))+0)>1,"Dup. WO# in Row ",""),"--")
Returns "--" if no data in Column A,
"" if no duplicate found in Column A,
and "Dup. WO# in Row " if a work order appears more than once.
Currently, the formula works fine; however, the array is over 10,000 rows long and it gets tedious to scroll through to find where the duplicate row(s) are when the formula flags a match. Can the formula be reengineered to also indicate,
e.g. "Dup. WO# in Row " nnnn?
Simply concatenating the row in the formula: &ROW()
=IF(A3<>"",IF(SUMPRODUCT((TRIM($A$3:$A$15000)=TRIM(A3))+0)>1,"Dup. WO# in Row "&ROW(),""),"--")
...only returns the row you are currently looking at, not the OTHER duplicate(s) row(s). Please see attachment sample.
Can the other Duplicate row be returned?