ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Duplicate formula (https://www.excelbanter.com/excel-discussion-misc-queries/209118-duplicate-formula.html)

Mark Allen

Duplicate formula
 
I am using this formula to de-duplicate a spread sheet

=IF(COUNTIF($A$2:A2,A2)=1,"First Occurrence","Duplicate")

However, if one cell has a "9" in it and another has "99" in it, it thinks
it is a duplicate.

Is there a way to make it check for a complete match ???

Hope some can help !!

Regards

Mark

TomPl

Duplicate formula
 
I have tested your formula and do not get false matches as you have described.

Tom

Mark Allen

Duplicate formula
 
Thanks Tom, investigated further and I had a load of hidden rows!!!!

"TomPl" wrote:

I have tested your formula and do not get false matches as you have described.

Tom



All times are GMT +1. The time now is 10:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com