englishdad
Board Regular
- Joined
- Mar 4, 2016
- Messages
- 58
Hi All
I have 2 columns of data, J3:J93 with contract numbers and I3:I93 with amounts. I've got as far as using the following sumproduct function for column O3:O93, which works OK but ends up with duplicates all over the place because I have it on each row. For example, column J may have 90 entries, but only 10 contract numbers are used, therefore my ideal list would contain only 10 contract numbers with 10 totals. I realise that because I'm putting the sumproduct function on each row, I will get 90 results, but I wonder if there is a way to not list duplicates somehow?? In fact the more I think about this the more it seems unlikely, however you peeps are unbelievably good at these sorts of things, so I thought I'd ask...
Thanks very much in advance for any help you can give...
SUMPRODUCT(--($J$3:$J$93=J23),$I$3:$I$93)
I have 2 columns of data, J3:J93 with contract numbers and I3:I93 with amounts. I've got as far as using the following sumproduct function for column O3:O93, which works OK but ends up with duplicates all over the place because I have it on each row. For example, column J may have 90 entries, but only 10 contract numbers are used, therefore my ideal list would contain only 10 contract numbers with 10 totals. I realise that because I'm putting the sumproduct function on each row, I will get 90 results, but I wonder if there is a way to not list duplicates somehow?? In fact the more I think about this the more it seems unlikely, however you peeps are unbelievably good at these sorts of things, so I thought I'd ask...
Thanks very much in advance for any help you can give...
SUMPRODUCT(--($J$3:$J$93=J23),$I$3:$I$93)