Thanks... by using your formula.. I have made and modified to a good working excel record sheet. Thanks All