SUMIF, IF ?

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I have this formula:
=SUMIF($B116:$B124,"V",S116:S124)

In Q116:Q124, I have various numbers, such as 1300, 1400, 1500.

What can I add to the above formula to get the result for only the rows that
have 1300 in the Q116:Q124 range.


Thanks,

Steve
 
Hi Steve

Try

=SUMPRODUCT(--($B116:$B124="V"),--($Q116:$Q124=1300),S116:S124)

If this post helps click Yes
 
You can use this formula, commit with CTRL+SHIFT+ENTER instead of just Enter,
as it's an array formula:

=SUM(IF(($B116:$B124="V")*($Q116:$Q124=1300),S116:S124,""))
 
Back
Top