Help WITH SUMPRODUCT

PhBarreto

New Member
Joined
Aug 9, 2016
Messages
25
Office Version
  1. 365
Platform
  1. Windows
Hey guys!

I would like to create a formula that counts the unique values in column G of the TB_incident_task tab with the formula below, which is my current formula.

Excel Formula:
=SUMPRODUCT((TB_incident_task!$E$2:$E$8571=Dashboard!C14) * (TB_incident_task!$K$2:$K$8571=Dashboard!$B$5))

I tried to create it in the following way (and a thousand other ways :D), but it returns the value 1 which is incorrect, because I have 3 records. I checked using the filters to validate if the formula below is correct.

Excel Formula:
=SUMPRODUCT((TB_incident_task!$E$2:$E$8571=Painel!C13) * (TB_incident_task!$K$2:$K$8571=Painel!$B$5) / (COUNTIF(TB_incident_task!$G$2:$G$8571, TB_incident_task!$G$2:$G$8571) + (TB_incident_task!$G$2:$G$8571="")))

Could you help me?
Thank you in advance!
 
You're welcome & thanks for the feedback.
 
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,883
Messages
6,175,168
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top