You can probably do this without resorting to macros.
To mark the duplicates use
=IF(COUNTIF(A:A,A1)1,"dup","") in D1 etc.
The copies can be done with a simple =
Changing signs can be achieved with =-
--
mrice
Research Scientist with many years of spreadsheet development experience
------------------------------------------------------------------------
mrice's Profile:
http://www.excelforum.com/member.php...o&userid=10931
View this thread:
http://www.excelforum.com/showthread...hreadid=544082