Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to QUERY - group SUMed results? [duplicate]

$
0
0

I'm new to query and can't figure out how to get grouped results of sum in two columns.
dataset
There's data set in the picture of names and points which are in two columns and query formula to sum and group the results for first two columns.

=QUERY(AF2:AJ34; "select AG, sum(AH) where AG is not null group by AGorder by sum(AH) desclabel AG 'Name', sum(AH) 'Points'")

How can I get the same result but from both columns of points?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>