I'm a bit new at using arrays in excel formulas. I need to check for duplicates in a range of cells. The tricky part is i want to check just a part of the text in the cells. I started with the following:
A
1 HS
2 HS
3 LS
4 LS
5 TERT
I used the following formula: =IF(SUMPRODUCT((COUNTIF(A1:A5,A1:A5)>1)+0)>1,"Duplicates exist","NO Duplicates")
The next range of cells is what i need to lookup.
A
1 HS BKR 1
2 HS BKR 2
3 LS BKR 1
4 LS BKR 2
5 TERT
I want to check to see if there are more than one cell with "HS" or "LS" in it, regardless of what is after.
A
1 HS
2 HS
3 LS
4 LS
5 TERT
I used the following formula: =IF(SUMPRODUCT((COUNTIF(A1:A5,A1:A5)>1)+0)>1,"Duplicates exist","NO Duplicates")
The next range of cells is what i need to lookup.
A
1 HS BKR 1
2 HS BKR 2
3 LS BKR 1
4 LS BKR 2
5 TERT
I want to check to see if there are more than one cell with "HS" or "LS" in it, regardless of what is after.