sql - Google sheets query from pivot table -
i have exercise tracking sheet raw data put pivot table , further refined through query. query, courtesy of ednelson (thank you!) might need little tweak however. here's query: =unique(query(suoritusanalyysi!$d2:$k, ʺselect d,max(f),max(g),max(h),max(i),max(j),max(k),avg(f),avg(g),avg(h),avg(i),avg(k),sum(f),sum(k),count(f) d !='' group d label max(f) 'max vol.', max(g) 'max tih.', max(h) 'max int.', max(i) 'max sarja', max(j) 'max km. int.', max(k) 'max toistot', avg(f) 'km. vol.', avg(g) 'km. tih.', avg(h) 'km. int.', avg(i) 'km. sarja', avg(k) 'km. toistot', sum(f) 'total vol.', sum(k) 'total toistot', count(f) 'kerrat'ʺ))
the problem move "p kb" in a6 of sheet "liikekoonti" 1 of 2 such moves (one listing per arm single-arm moves) listed in pivot table in suoritusanalyysi!d10:d11. query takes labels d, since pivot table didn't list "p kb", query can't find values other arm. how query include both "o" , "v" of suoritusanalyysi!e exercise or pivot table list "p kb" both "o" , "v"?
https://docs.google.com/spreadsheets/d/1if_-fdh_rokzvtnskjrzbwalne6f3e2d0modjknnvp8/edit?usp=sharing
hi @kuura ed again. suggest trying adding p kbo , p kbv valid list likkeet. add them pt. select them on treenidata under liike instead of p kb. have both on pt. note both have red font based on there own max value.
Comments
Post a Comment