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

Need Formula

@herofox glad you like it. Normally, single formula solutions are used to avoid duplication of work which saves time as one doesn't need to type or edit the fourmlae repeatedly. Plus, in many scenarios it offers dynamic & robust solution.
 
try this..

SUMIFS($D$2:$D$11,$A$2:$A$11,IF(G2="","<>?",G2),$B$2:$B$11,G3,$C$2:$C$11,IF(G4="","<>?",G4))


Hi Asheesh,

Your formula almost solved my problem but a little help i need from you.

When i am removing "Section" it is showing 0 (Zero)

Please check in attachment.
 

Attachments

  • query.xlsx
    12 KB · Views: 4
A bit modified Asheesh's formula

In G6, enter formula and copied to J6 and M6 :

=IF(COUNTA(G2:G4)>0,SUMIFS($D:$D,$A:$A,IF(G2="","<>",G2),$B:$B,IF(G3="","<>",G3),$C:$C,IF(G4="","<>?",G4)),"")

Regards
Bosco
 
A bit modified Asheesh's formula

In G6, enter formula and copied to J6 and M6 :

=IF(COUNTA(G2:G4)>0,SUMIFS($D:$D,$A:$A,IF(G2="","<>",G2),$B:$B,IF(G3="","<>",G3),$C:$C,IF(G4="","<>?",G4)),"")

Regards
Bosco


Thanks Bosco this formula is as working as i want.

Thanks for the solution.
 
Back
Top