Hi, so my problem is fairly simple im just struggling to get the right result.
My data is effectively something like this
<tbody>
</tbody>
What i want to do is do a sumproduct of the two columns for only the rows when A is greater than zero, (i.e. only rows 2,3 and 6 in the example)
The formula i have found to do this on other forums is something like:
=sumproduct(--(A2:A6=">0"),A2:A6,B2:B6))
But this just comes up with zero.
If anyone has any ideas i would mega appreciate it!
Thanks
My data is effectively something like this
A | B |
5 | 8 |
2 | 10 |
0 | 9 |
0 | 2 |
11 | 6 |
<tbody>
</tbody>
What i want to do is do a sumproduct of the two columns for only the rows when A is greater than zero, (i.e. only rows 2,3 and 6 in the example)
The formula i have found to do this on other forums is something like:
=sumproduct(--(A2:A6=">0"),A2:A6,B2:B6))
But this just comes up with zero.
If anyone has any ideas i would mega appreciate it!
Thanks