$ 0 0 In excel you can use the formula sumproduct is there a simular function in vb that allows me to the same thing thanks for your feedback Paul