• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Sum Product & Data Filter

Similar to CountIF & SumIF, how good it will be if we have SumProductIF!!!!

Likewise, in data filter it would be of great help if we have an inverse selection option. For ex: if we have selected 3 out of 10 values in the filter and now we need to select the rest 7 values, its manual and time consuming.

Many a times, I feel handicapped that we don't have functions like this.

Please suggest if you have any alternatives.

Thanks a lot.
 
Similar to CountIF & SumIF, how good it will be if we have SumProductIF!!!!

Hi,

Although there is no SUMPRODUCTIF( but we can implement same, and sometime even better logics (i.e. mixed, 2D arrays) with SUMPRODUCT.

for example following SUMIF and SUMPRODUCT produces same output:

=SUMIF(A1:A10,B1,C1:C10)

=SUMPRODUCT((A1:A10=B1)*(C1:C10))

Likewise, in data filter it would be of great help if we have an inverse selection option. For ex: if we have selected 3 out of 10 values in the filter and now we need to select the rest 7 values, its manual and time consuming.

Have you tried this?
Invers filter.PNG

Regards,
 
Thank you Khalid.

I have a different issue and I hope the attachment will make it clear. Please help.
 

Attachments

  • Sum Product & Data Filter.xlsx
    26.1 KB · Views: 7
No problem SUMPRODUCT is more powerful:

=SUMPRODUCT(($B$3:$B$28=$C30)*(D$3:D$28)*($C$3:$C$28)/SUMPRODUCT(($B$3:$B$28=$C30)*($C$3:$C$28)))

Enter in D30, copy down and across

Regards,
 
Keep visiting keep learning, that's we do here all the day.

For Filter, use Advance Filter.

First make a copy of your column b, at any other column, say column C, and enter values which you want to include in your filter.

Than select your range: B2:B28
Go to Data > Advance
List Range = $B$2:$B$28
Criteria Range = $C$2:$C$24
Hit OK.

See the attached.

Regards,
 

Attachments

  • Sum Product & Data Filter.xlsx
    28.6 KB · Views: 4
Back
Top