I am trying to create a new worksheet and rename it according to years. The prevention of duplicate value for the year appears to be working fine till i added more codes bel