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 : Sum of Unique values of corresponding column in the filter – Multiple columns in between

I need to have Sum of values in [G] against DISTINCT values of corresponding column [C] in the filter i.e. B

I tried

SUM(UNIQUE(FILTER(G:G, (C:C)*(B:B=I2))) 

also tried

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

SUM(IF(Frequency)))

enter image description here

>Solution :

Here is where using CHOOSECOL will help but you need to use that in the FILTER:

=SUM(INDEX(UNIQUE(FILTER(CHOOSECOLS(A:G,2,3,7),B:B=I2)),0,3))

Now only the three columns are passed to the FILTER output and only those three columns are looked at for the UNIQUE.

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