• 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.

Confused in Sumproduct Formula

nkunni

New Member
Dear Friends,

Good Day for all,

I work with sumproduct formul, I just need to omit some count from a
column. For reference attached sample file.
 

Attachments

  • KRIS_SAMPLE_1.xlsx
    20.7 KB · Views: 7
Hi ,

I am not sure about your requirement , but try the following array formula , to be entered using CTRL SHIFT ENTER :

=SUM(IF($B$24:$B$88=$L$2, IF($F$24:$F$88=K9, 1/COUNTIFS($B$24:$B$88, $L$2, $F$24:$F$88, K9, $C$24:$C$88, $C$24:$C$88))))

Narayan
 
Using same concept, SUMPRODUCT will become...
Cell L7
=SUMPRODUCT(--($B$24:$B$88=$L$2),--($F$24:$F$88=$N$2),1/COUNTIF($C$24:$C$88,$C$24:$C$88))

Validated against L9:L14
=SUMPRODUCT(--($B$24:$B$88=$L$2),--($F$24:$F$88=K9),1/COUNTIF($C$24:$C$88,$C$24:$C$88))
 
Back
Top