Hello all,
I have a problem with my SUMPRODUCT formula caused by the fact that I am using merged cells.
My excel table looks like this (cells A2/A3 and A4/A5 are merged):
<tbody>
</tbody>
And my formula are:
=SUMPRODUCT(($B$2:$C$5="John")*($A$2:$A$5))
=SUMPRODUCT(($B$2:$C$5="Bob")*($A$2:$A$5))
I want to count the number of projects assigned to Bob and John, but their name could be put in different cells.
In the above example it will tell me that Bob is assigned to 5 projects (correct), but it will tell me that John is only assigned to 2 because his name is put in the cell that is in the lower part of the merged cell and is not taken into consideration.
Is there a way to fix this somehow or use a different formula to count it?
Thanks in advance.
I have a problem with my SUMPRODUCT formula caused by the fact that I am using merged cells.
My excel table looks like this (cells A2/A3 and A4/A5 are merged):
Projects | Name | Name |
2 | John | Bob |
3 | Bob | |
John |
<tbody>
</tbody>
And my formula are:
=SUMPRODUCT(($B$2:$C$5="John")*($A$2:$A$5))
=SUMPRODUCT(($B$2:$C$5="Bob")*($A$2:$A$5))
I want to count the number of projects assigned to Bob and John, but their name could be put in different cells.
In the above example it will tell me that Bob is assigned to 5 projects (correct), but it will tell me that John is only assigned to 2 because his name is put in the cell that is in the lower part of the merged cell and is not taken into consideration.
Is there a way to fix this somehow or use a different formula to count it?
Thanks in advance.