Thanks Southward but it doesn't seem to be working. I copied and pasted into cell D8 on 'Summary' tab but the result is still zero. Any reason for this?