Plastikman
New Member
- Joined
- Apr 25, 2011
- Messages
- 9
It must a smoother solution to calculate total cost of a component etc. within a year instead of using SUM.IF (function.
(got red cross picture for some reason when I added a photo of the table. Link to the source: http://img263.imageshack.us/i/calcn.jpg/
SUM.IF gives of course right answer but the formula is way too long, I think.
My function to calculate:
=SUM.IF($A$5:$A$6000;P4;$B$5:$B$6000)+SUM.IF $A$5:$A$6000;P4;$C$5:$C$6000)+...+SUM.IF($A$5:$A$6000;P4;$M$5:$M$6000)
Note, I have a swedish version of Excel 2007, there might be some poor translation here.
Is it possbile to use PRODUCTSUM?
Thanks!
(got red cross picture for some reason when I added a photo of the table. Link to the source: http://img263.imageshack.us/i/calcn.jpg/
SUM.IF gives of course right answer but the formula is way too long, I think.
My function to calculate:
=SUM.IF($A$5:$A$6000;P4;$B$5:$B$6000)+SUM.IF $A$5:$A$6000;P4;$C$5:$C$6000)+...+SUM.IF($A$5:$A$6000;P4;$M$5:$M$6000)
Note, I have a swedish version of Excel 2007, there might be some poor translation here.
Is it possbile to use PRODUCTSUM?
Thanks!