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

Is it possible to generate a summary table of another table?

The title may be vague, mostly because I can’t really summarize this in a single sentence. I want to automatically fill a table based on the values in another table, but summed per name. For example, if I had this table:

Name Value
John 10
Jeff 23
John 3

I’d want to summarize this to just

Name Value
John 13
Jeff 23

I can not use the entire column since it’s in a table, so the top row is the name of the column in the table.
Also, I am very lacking in knowledge about google sheets, so assume I know nothing 😅

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

>Solution :

You just need QUERY() function. Try-

=QUERY(A:B,"select A, sum(B) where A is not null group by A",1)

enter image description here

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