Search code examples
arraysgoogle-sheetspivotpivot-tablegoogle-query-language

Pivot table vs formulas Google sheets


Just a quick question

Is it better to use pivot tables?

I would really appreciate if you can tell me why I should I usen them or why should I not.

Thanks!


Solution

  • for example:

    =QUERY(A2:C; "select A,sum(C) where A is not null group by A pivot B")
    

    enter image description here