Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

EXCEL CONCATENATED SUMIFS are ignoring filters

I have table with summary like that.

enter image description here

To achieve that summary I used formula like that:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

CONCATENATE(SUMIFS(A2:A13;C2:C13;"=JPY");" JPY";CHAR(10);SUMIFS(A2:A13;C2:C13;"=EUR");" EUR";CHAR(10);SUMIFS(A2:A13;C2:C13;"=PLN");" PLN"; )

The problem is its not working with filters in column. How can I modify this formula to consider filters?

It needs to be in single cell because this sheet is created in java.

>Solution :

This explains it fairly well.

The formula would be:

=CONCATENATE(SUMPRODUCT(SUBTOTAL(109,OFFSET(A2,ROW(A2:A13)-ROW(A2),,1)),--(C2:C13="JPY")), " JPY", CHAR(10),
             SUMPRODUCT(SUBTOTAL(109,OFFSET(A2,ROW(A2:A13)-ROW(A2),,1)),--(C2:C13="EUR")), " EUR", CHAR(10),
             SUMPRODUCT(SUBTOTAL(109,OFFSET(A2,ROW(A2:A13)-ROW(A2),,1)),--(C2:C13="PLN")), " PLN")  

or for ease of copying in your locality:

=CONCATENATE(SUMPRODUCT(SUBTOTAL(109;OFFSET(A2;ROW(A2:A13)-ROW(A2);;1));--(C2:C13="JPY")); " JPY"; CHAR(10);
             SUMPRODUCT(SUBTOTAL(109;OFFSET(A2;ROW(A2:A13)-ROW(A2);;1));--(C2:C13="EUR")); " EUR"; CHAR(10);
             SUMPRODUCT(SUBTOTAL(109;OFFSET(A2;ROW(A2:A13)-ROW(A2);;1));--(C2:C13="PLN")); " PLN")
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading