SOLVED

Formula required

Iron Contributor

Good day,

 

Please assist with a formula. I have explained in the attached file.

7 Replies

@A_SIRAT 

Riny_van_Eekelen_0-1691740411861.png

 

@A_SIRAT 

=SUMPRODUCT(($C$1:$F$1=J$1)*($A$2:$A$7=$I2)*$C$2:$F$7)

You can try SUMPRODUCT.
 

Thank you.

Could you do it with SUMIFS ?
best response confirmed by A_SIRAT (Iron Contributor)
Solution

@A_SIRAT That would be:

=SUMIFS($C2:$F2,$C$1:$F$1,J$1)

 

But why SUMIFS if you only have one criterion?

Thank you.

Because I wanted to know where I got it wrong. It can also help in future when I have more than one criterion.
Sorry I learnt SUMIFS first and prefers it
Thank you for the SUMPRODUCT alternative.

@A_SIRAT 

I learnt SUMIF() first, but prefer always to use SUMIFS() since it has more logical sequence of parameters.

1 best response

Accepted Solutions
best response confirmed by A_SIRAT (Iron Contributor)
Solution

@A_SIRAT That would be:

=SUMIFS($C2:$F2,$C$1:$F$1,J$1)

 

But why SUMIFS if you only have one criterion?

View solution in original post