View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
BrianB BrianB is offline
external usenet poster
 
Posts: 1
Default Checking for copies.. but not an easy one %(


Hopefully this will help a bit.
Insert an empty column A.
Say that your column with texta-44 etc. is column B starting in B1.
In cell A1 copy/paste this formula & copy down :
=IF(ISERROR(FIND("-",B1)),"",LEFT(B1,FIND("-",B1)-1))

If there is a "-" in column B it shows the characters to the left
otherwise blank.

You could then sort on column A then check for duplicates.

Perhaps by using another column with the formula :-
=IF(A1=A2,1,0)
which puts a number 1 in duplicate row

--
Brian

-----------------------------------------------------------------------
BrianB's Profile: http://www.excelforum.com/member.php...tinfo&userid=5
View this thread: http://www.excelforum.com/showthread.php?threadid=38793