Thanks Hui for the quick response. I could not understand, only if you would give me an illustration.
I have also tried to post the data (though not very successfully by text file).
Dear Clarity,
No I am not referring to one unique voucher no. I have a column with many voucher numbers (rows) and I wanted a sumproduct of each voucher no. Is there any way I can post the excel data sample for easy understanding?
I was having to manually put a subtotal formula for large amount of data. I have a column where I want result of sumproduct of two columns at each change on voucher no (another column). I just want to copy the formula for the whole column rather than manually calculating it (no of rows will keep...