{"text_format":"1","workbook":"xlsx","n_sheets":9,"sheets":["Budjetti","Pelaajat","Harkat","Ottelut","Turnaukset","Hankinnat","Varainhankinta","Asetukset","Kenttätiedot"],"not_rendered":{"charts":0,"images":0,"macros":0,"external_links":0,"defined_names":5,"comments":1,"pivot_tables":0},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":0,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Budjetti","index":0,"n_rows":153,"n_cols":18,"rows_kept":153,"cut":false,"hidden":false,"merged":[[134,0,134,1]]}
[null,null,null,null,null,null,{"$f":"Asetukset!B2","v":"2022-11-01"},{"$f":"EDATE(G1,1)","v":"2022-12-01"},{"$f":"EDATE(H1,1)","v":"2023-01-01"},"2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
[null,null,null,null,null,"Yhteensä","kk","kk","kk","kk","kk","kk","kk","kk","kk","kk","kk","kk"]
["VARSINAINEN TOIMINTA",null,null,null,null,{"$f":"F4+F45+F67+F99","v":-1310},{"$f":"G4+G45+G67+G99","v":-152},128,472,48,-122,348,-272,-272,-272,-272,-272,-272]
["Seuran urheilutoiminta",null,null,null,null,{"$f":"F5+F21","v":-1310},{"$f":"G5+G21","v":-152},128,472,48,-122,348,-272,-272,-272,-272,-272,-272]
["Tuotot",null,null,null,null,{"$f":"SUM(F6:F20)","v":4320},{"$f":"SUM(G6:G20)","v":720},720,720,720,720,720,0,0,0,0,0,0]
["3000 Saadut toimintamaksut",null,null,null,null,{"$f":"SUM(G6:R6)","v":4320},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":720},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":720},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":720},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":720},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":720},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":720},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A6,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["3001 Saadut lisenssi- ja vakuutusmaksut",null,null,null,null,{"$f":"SUM(G7:R7)","v":0},0,0,0,0,0,0,0,0,0,0,0,0]
["3002 Saadut valmennusmaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3003 Saadut kenttävuoromaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3004 Saadut koulutus- ja testaustoiminnan maksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3005 Saadut pelaajakehitystoiminnan maksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3006 Saadut kilpailutoiminnan maksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3007 Saadut turnausten osallistumismaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3008 Saadut maksut muusta toiminnasta",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3009 Saadut varustemaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3020 Kilpailutuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3030 Saadut siirtomaksut ja kasvattajaraha",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3080 Saadut urheilutoiminnan tuet",null,null,null,null,{"$f":"SUM(G18:R18)","v":0},0,0,0,0,0,0,0,0,0,0,0,0]
["3081 Saadut urheilutoiminnan palkkatuet",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3090 Muut seuran urheilutoiminnan tuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["Kulut",null,null,null,null,{"$f":"SUM(F22:F44)","v":-5630},{"$f":"SUM(G22:G44)","v":-872},-592,-248,-672,-842,-372,-272,-272,-272,-272,-272,-272]
["4000 Lisenssi- ja vakuutusmaksut",null,null,null,null,-120,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":-120},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A22,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["4001 Siirtomaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4002 Pelaajien lääkärikulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4003 Pelaajien fysiikaalinen hoito ja hieronta",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4004 Kenttävuokrat",null,null,null,null,-2350,-400,-400,-500,-400,-550,-100,0,0,0,0,0,0]
["4005 Ostetut valmennuspalvelut",null,null,null,null,-2720,-272,-272,{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A27,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":272},-272,-272,-272,-272,-272,-272,-272,-272,-272]
["4006 Valmennuksen päivärahat ja ateriakorvaukset",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4007 Valmennuksen km-korvaukset",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4008 Muut ostetut urheilutoiminnan palvelut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4009 Koulutus- ja testaustoiminnan kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4010 Ostetut koulutuspalvelut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4011 Pelaajakehityskulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4012 Leirityskulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4013 Turnausten osallistumiskulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4014 Kilpailukulut",null,null,null,null,{"$f":"-SUM(G36:R36)","v":-200},0,200,0,0,0,0,0,0,0,0,0,0]
["4015 Erotuomarimaksut",null,null,null,null,-40,0,0,-20,0,-20,0,0,0,0,0,0,0]
["4016 Erotuomareiden päivärahat ja ateriakorvaukset",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4017 Erotuomareiden km-korvaukset",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4018 Matkaottelukulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4019 Muut matkakulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4020 Pelivarustehankinnat",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4021 Muut varuste- ja huoltotarvikehankinnat",null,null,null,null,-200,{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":-200},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"-SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A43,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["4050 Muut seuran urheilutoiminnan kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["Urheilupalvelut",null,null,null,null,{"$f":"F46+F57","v":0},{"$f":"G46+G57","v":0},0,0,0,0,0,0,0,0,0,0,0]
["Tuotot",null,null,null,null,{"$f":"SUM(F47:F56)","v":0},{"$f":"SUM(G47:G56)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["3100 Valmennuspalveluiden tuotot",null,null,null,null,{"$f":"SUM(G47:R47)","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A47,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["3101 Koulutus- ja testauspalveluiden tuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3102 Turnausten osallistumismaksutuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3103 Turnausten oheispalveluiden tuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3104 Leiritoiminnan tuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3105 Kerhotoiminnan tuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3106 Harrastetapahtumien tuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3107 Kuntosalin tuotot",null,null,null,null,{"$f":"SUM(G54:R54)","v":0},0,0,0,0,0,0,0,0,0,0,0,0]
["3180 Saadut palvelutoiminnan tuet",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["3190 Muut urheilupalveluiden tuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["Kulut",null,null,null,null,{"$f":"SUM(F58:F66)","v":0},{"$f":"SUM(G58:G66)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["4051 Koulutus- ja testauspalveluiden kulut",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A58,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["4052 Valmennuspalveluiden kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4053 Turnausten järjestämiskulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4054 Leiritoiminnan kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4055 Kerhotoiminnan yleiset kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4056 Kerhotoiminnan ruokailukulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4057 Harrastetapahtumien kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["4058 Kuntosalin kulut",null,null,null,null,{"$f":"SUM(G65:R65)","v":0},0,0,0,0,0,0,0,0,0,0,0,0]
["4070 Muut urheilupalveluiden kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["Hallinto",null,null,null,null,{"$f":"F68+F72","v":0},{"$f":"G68+G72","v":0},0,0,0,0,0,0,0,0,0,0,0]
["Tuotot",null,null,null,null,{"$f":"SUM(F69:F71)","v":0},{"$f":"SUM(G69:G71)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["3200 Saadut hallinnon tuet",null,null,null,null,{"$f":"SUM(G69:R69)","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A69,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["3201 Saadut maksut seuran tai joukkueen tapahtumista",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A70,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["3240 Muut hallinnon tuotot",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A71,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["Kulut",null,null,null,null,{"$f":"SUM(F73:F98)","v":0},{"$f":"SUM(G73:G98)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["7000 Henkilöstön koulutuskulut",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A73,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["7001 Työterveyshuollon kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7002 Lahjat ja muistamiset",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7003 Muut henkilöstökulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7200 Tilavuokrat",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7640 Ohjelmistokulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7710 Laitevuokrat",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7711 IT-laitevuokrakulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7712 Muut vuokrat",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7713 IT-laitehankintakulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7714 IT-ylläpito- ja huoltokulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7790 Muut kone- ja kalustokulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7800 Muut matkakulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7801 Päivärahat ja ateriakorvaukset",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["7802 Km-korvaukset",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8050 Mainos- ja markkinointikulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8370 Taloushallintopalvelut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8371 Muut ostetut palvelut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8451 Neuvottelukulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8452 Jäsenmaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8453 Vakuutusmaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8454 Puhelin- ja tietoliikennekulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8455 Toimistokulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8456 Pankkikulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8600 Muut kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["8700 Seuran tai joukkueen tapahtumat",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["Henkilöstökulut",null,null,null,null,{"$f":"SUM(F100:F117)","v":0},{"$f":"SUM(G100:G117)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["5000 Tuntipalkat",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A100,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["5001 Kuukausipalkat",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5100 Lisät ja korvaukset",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5200 Palkat ja palkkiot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5201 Tulospalkkiot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5202 Pelaajien tulospalkkiot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5203 Valmennuspalkkiot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5204 Erotuomaripalkkiot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5300 Loma-ajan ja sosiaalipalkat",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5400 Luontoisedut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5469 Saadut korvaukset palkoista",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5470 Saadut palkkatuet",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5471 Lomapalkka ja lomarahajaksotuksen muutos",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["5990 Luontoisetujen vastatili",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["6000 TyEL-vakuutusmaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["6300 Sosiaaliturvamaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["6400 Työttömyysvakuutusmaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["6402 Tapaturma- ja ryhmähenkivakuutusmaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["VARAINHANKINTA",null,null,null,null,{"$f":"F119+F128","v":0},0,0,0,0,0,0,0,0,0,0,0,0]
["Tuotot",null,null,null,null,{"$f":"SUM(F120:F127)","v":0},{"$f":"SUM(G120:G127)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["9006 Seura- ja fanituotemyynnin tuotot",null,null,null,null,{"$f":"SUM(G120:R120)","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A120,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["9016 Buffa- ja myyjäistuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9017 Talkootyötuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9026 Mainosmyyntituotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9036 Jäsenmaksutuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9037 Olosuhdemaksutuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9045 Saadut yhteistyökumppaneiden tukimaksut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9046 Muut varainhankinnan tuotot",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["Kulut",null,null,null,null,{"$f":"SUM(F129:F135)","v":0},{"$f":"SUM(G129:G134)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["9056 Seura- ja fanituotemyynnin kulut",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A129,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["9057 Buffa- ja myyjäiskulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9058 Talkootyökulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9059 Mainosmyyntikulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9060 Jäsenmaksukulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9086 Muut varainhankinnan kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["9056 Seura- ja fanituotemyynnin kulut",null,null,null,null,0,0,0,0,0,0,0,0,0,0,0,0,0]
["SIJOITUS- JA RAHOITUSTOIMINTA",null,null,null,null,{"$f":"F137+F142","v":0},{"$f":"G137+G142","v":0},0,0,0,0,0,0,0,0,0,0,0]
["Tuotot",null,null,null,null,{"$f":"SUM(F138:F141)","v":0},{"$f":"SUM(G138:G141)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["9090 Osinkotuotot",null,null,null,null,{"$f":"SUM(G138:R138)","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A138,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["9106 Korkotuotot",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A139,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["9110 Vuokratuotot",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A140,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["9160 Muut rahoitustuotot",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A141,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["Kulut",null,null,null,null,{"$f":"SUM(F143:F144)","v":0},{"$f":"SUM(G143:G144)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["9440 Korkokulut",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A143,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["9446 Muut rahoituskulut",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A144,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["YLEISAVUSTUKSET",null,null,null,null,{"$f":"SUM(F146:F148)","v":0},{"$f":"SUM(G146:G148)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["9756 Perusavustus",null,null,null,null,{"$f":"SUM(G146:R146)","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A146,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["9757 Vuokra-avustus",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A147,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
["9758 Koulutusavustus",null,null,null,null,0,{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"H$1:H$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"I$1:I$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"J$1:J$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"K$1:K$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"L$1:L$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"M$1:M$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"N$1:N$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"O$1:O$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"P$1:P$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"Q$1:Q$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"R$1:R$300\")))","v":0},{"$f":"SUMPRODUCT(SUMIF(INDIRECT(\"'\"&Sheets&\"'!\"&\"$B$1:$B$300\"),$A148,INDIRECT(\"'\"&Sheets&\"'!\"&\"S$1:S$300\")))","v":0}]
[]
["TULOS",null,null,null,null,{"$f":"F3+F118+F136+F145","v":-1310},-152,128,472,48,-122,348,-272,-272,-272,-272,-272,-272]
["TULOS KUMULATIIVINEN",null,null,null,null,null,{"$f":"G150","v":-152},{"$f":"G151+H150","v":-24},{"$f":"H151+I150","v":448},496,374,722,450,178,-94,-366,-638,-910]
[null,null,null,null,null,"Alkusaldo"]
[null,null,null,null,"Kassa",300,{"$f":"F153+G150","v":148},{"$f":"G153+H150","v":276},748,796,674,1022,750,478,206,-66,-338,-610]

{"sheet":"Pelaajat","index":1,"n_rows":12,"n_cols":19,"rows_kept":12,"cut":false,"hidden":false,"merged":[[18,2,18,6],[17,0,17,1],[18,0,18,1],[13,2,13,6],[13,0,13,1],[14,0,14,1],[15,0,15,1],[16,0,16,1],[14,2,14,6],[15,2,15,6],[16,2,16,6],[0,0,0,2],[9,0,9,1],[10,0,10,1],[11,0,11,1],[17,2,17,6],[3,1,3,5],[4,1,4,5],[5,1,5,5],[12,0,12,1],[8,0,8,1],[10,2,10,6],[9,2,9,6],[11,2,11,6],[8,2,8,6],[12,2,12,6]]}
["Joukkueen kokonaistulostulos nykytiedoilla:",null,null,{"$f":"Budjetti!F150","v":-1310}]
[null,null,null,null,null,null,"Yhteensä",{"$f":"Asetukset!B2","v":"2022-11-01"},{"$f":"EDATE(H2,1)","v":"2022-12-01"},{"$f":"EDATE(I2,1)","v":"2023-01-01"},"2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Pelaajakohtaiset tuotot ja kulut yhteensä",null,null,null,null,null,{"$f":"SUM(G4:G7)","v":936},{"$f":"SUM(H4:H7)","v":448},{"$f":"SUM(I4:I7)","v":328},448,448,448,448,-272,-272,-272,-272,-272,-272]
["Pelaajien toimintamaksut","3000 Saadut toimintamaksut",null,null,null,null,{"$f":"SUM(H4:S4)","v":4320},{"$f":"H10*H11","v":720},{"$f":"I10*I11","v":720},720,720,720,720,0,0,0,0,0,0]
["Joukkueen valmennusmaksu","4005 Ostetut valmennuspalvelut",null,null,null,null,{"$f":"SUM(H5:S5)","v":-3264},{"$f":"-H10*Asetukset!$B$10","v":-272},{"$f":"-I10*Asetukset!$B$10","v":-272},{"$f":"-J10*Asetukset!$B$10","v":-272},{"$f":"-K10*Asetukset!$B$10","v":-272},{"$f":"-L10*Asetukset!$B$10","v":-272},{"$f":"-M10*Asetukset!$B$10","v":-272},{"$f":"-N10*Asetukset!$B$10","v":-272},{"$f":"-O10*Asetukset!$B$10","v":-272},{"$f":"-P10*Asetukset!$B$10","v":-272},{"$f":"-Q10*Asetukset!$B$10","v":-272},{"$f":"-R10*Asetukset!$B$10","v":-272},{"$f":"-S10*Asetukset!$B$10","v":-272}]
["Pelipassit ja vakuutukset","4000 Lisenssi- ja vakuutusmaksut",null,null,null,null,{"$f":"SUM(H6:S6)","v":-120},{"$f":"-H12","v":0},{"$f":"-I12","v":-120},0,0,0,0,0,0,0,0,0,0]
[null,null,null,null,null,null,{"$f":"SUM($B10:$B11)","v":0},{"$f":"SUM($B10:$B11)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["É  Syötettävät arvot",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Ê"]
[null,null,"Merkintätapa",null,null,null,null,{"$f":"H2","v":"2022-11-01"},{"$f":"I2","v":"2022-12-01"},"2023-01-01","2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Pelaajamääräarvio ",null,"Kuukauden arvio",null,null,null,null,16,16,16,16,16,16,16,16,16,16,16,16]
["Kuukausittainen toimintamaksu",null,"Kuukauden pelaajalta perittävä yksikköhinta",null,null,null,null,45,45,45,45,45,45]
["Pelipassit ja vakuutukset",null,"Kuukauden ostojen summa euroina",null,null,null,null,null,120]

{"sheet":"Harkat","index":2,"n_rows":33,"n_cols":31,"rows_kept":33,"cut":false,"hidden":false,"merged":[[0,0,0,2]]}
["Joukkueen kokonaistulostulos nykytiedoilla:",null,null,{"$f":"Budjetti!F150","v":-1310}]
[null,null,null,null,null,null,"Yhteensä",{"$f":"Asetukset!B2","v":"2022-11-01"},{"$f":"EDATE(H2,1)","v":"2022-12-01"},{"$f":"EDATE(I2,1)","v":"2023-01-01"},"2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Harjoituskustannukset yhteensä",null,null,null,null,null,{"$f":"SUM(G4:G6)","v":-2150},{"$f":"SUM(H4:H6)","v":-400},{"$f":"SUM(I4:I6)","v":-400},-400,-400,-450,-100,0,0,0,0,0,0]
["Kenttävuorot yhteensä","4004 Kenttävuokrat",null,null,null,null,{"$f":"SUM(H4:S4)","v":-2150},{"$f":"-SUM(H14:H33)","v":-400},-400,-400,-400,-450,-100,0,0,0,0,0,0]
["Tuntivalmennus yht.","4005 Ostetut valmennuspalvelut",null,null,null,null,{"$f":"SUM(H5:S5)","v":0},{"$f":"-SUM(T14:T33)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["OTO-valmennus","4005 Ostetut valmennuspalvelut",null,null,null,null,{"$f":"SUM(H6:S6)","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0},{"$f":"-G9","v":0}]
[]
["É  Syötettävät arvot",null,null,null,null,null,"Ê"]
["OTO-valmennus:","kk-maksu (palkkio+20%)"]
[]
[]
[]
["Harjoitusvuorot:","Osuus","Kesto","Alkaen","Päättyen","Viikonpv","Tuntivalmentajan korvaus",{"$f":"CONCATENATE(\"Kenttä/\",MONTH(H2))","v":"Kenttä/11"},"Kenttä/12","Kenttä/1","Kenttä/2","Kenttä/3","Kenttä/4","Kenttä/5","Kenttä/6","Kenttä/7","Kenttä/8","Kenttä/9","Kenttä/10",{"$f":"CONCATENATE(\"TV/\",MONTH(H2))","v":"TV/11"},"TV/12","TV/1","TV/2","TV/3","TV/4","TV/5","TV/6","TV/7","TV/8","TV/9","TV/10"]
["Myntinsyrjä",null,1,"2022-11-02","2023-04-09","La",null,{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(H$2,0),$E14>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,H$2)&\":\"&MIN($E14,EOMONTH(H$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,H$2)&\":\"&MIN($E14,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,H$2)&\":\"&MIN($E14,EOMONTH(H$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(I$2,0),$E14>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,I$2)&\":\"&MIN($E14,EOMONTH(I$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,I$2)&\":\"&MIN($E14,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,I$2)&\":\"&MIN($E14,EOMONTH(I$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(J$2,0),$E14>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,J$2)&\":\"&MIN($E14,EOMONTH(J$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,J$2)&\":\"&MIN($E14,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,J$2)&\":\"&MIN($E14,EOMONTH(J$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(K$2,0),$E14>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,K$2)&\":\"&MIN($E14,EOMONTH(K$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,K$2)&\":\"&MIN($E14,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,K$2)&\":\"&MIN($E14,EOMONTH(K$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(L$2,0),$E14>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,L$2)&\":\"&MIN($E14,EOMONTH(L$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,L$2)&\":\"&MIN($E14,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,L$2)&\":\"&MIN($E14,EOMONTH(L$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(M$2,0),$E14>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,M$2)&\":\"&MIN($E14,EOMONTH(M$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,M$2)&\":\"&MIN($E14,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,M$2)&\":\"&MIN($E14,EOMONTH(M$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(N$2,0),$E14>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,N$2)&\":\"&MIN($E14,EOMONTH(N$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,N$2)&\":\"&MIN($E14,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,N$2)&\":\"&MIN($E14,EOMONTH(N$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(O$2,0),$E14>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,O$2)&\":\"&MIN($E14,EOMONTH(O$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,O$2)&\":\"&MIN($E14,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,O$2)&\":\"&MIN($E14,EOMONTH(O$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(P$2,0),$E14>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,P$2)&\":\"&MIN($E14,EOMONTH(P$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,P$2)&\":\"&MIN($E14,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,P$2)&\":\"&MIN($E14,EOMONTH(P$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(Q$2,0),$E14>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,Q$2)&\":\"&MIN($E14,EOMONTH(Q$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,Q$2)&\":\"&MIN($E14,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,Q$2)&\":\"&MIN($E14,EOMONTH(Q$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(R$2,0),$E14>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,R$2)&\":\"&MIN($E14,EOMONTH(R$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,R$2)&\":\"&MIN($E14,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,R$2)&\":\"&MIN($E14,EOMONTH(R$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(S$2,0),$E14>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,S$2)&\":\"&MIN($E14,EOMONTH(S$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,S$2)&\":\"&MIN($E14,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,S$2)&\":\"&MIN($E14,EOMONTH(S$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(H$2,0),$E14>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,H$2)&\":\"&MIN($E14,EOMONTH(H$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,H$2)&\":\"&MIN($E14,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,H$2)&\":\"&MIN($E14,EOMONTH(H$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(I$2,0),$E14>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,I$2)&\":\"&MIN($E14,EOMONTH(I$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,I$2)&\":\"&MIN($E14,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,I$2)&\":\"&MIN($E14,EOMONTH(I$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(J$2,0),$E14>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,J$2)&\":\"&MIN($E14,EOMONTH(J$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,J$2)&\":\"&MIN($E14,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,J$2)&\":\"&MIN($E14,EOMONTH(J$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(K$2,0),$E14>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,K$2)&\":\"&MIN($E14,EOMONTH(K$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,K$2)&\":\"&MIN($E14,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,K$2)&\":\"&MIN($E14,EOMONTH(K$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(L$2,0),$E14>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,L$2)&\":\"&MIN($E14,EOMONTH(L$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,L$2)&\":\"&MIN($E14,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,L$2)&\":\"&MIN($E14,EOMONTH(L$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(M$2,0),$E14>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,M$2)&\":\"&MIN($E14,EOMONTH(M$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,M$2)&\":\"&MIN($E14,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,M$2)&\":\"&MIN($E14,EOMONTH(M$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(N$2,0),$E14>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,N$2)&\":\"&MIN($E14,EOMONTH(N$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,N$2)&\":\"&MIN($E14,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,N$2)&\":\"&MIN($E14,EOMONTH(N$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(O$2,0),$E14>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,O$2)&\":\"&MIN($E14,EOMONTH(O$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,O$2)&\":\"&MIN($E14,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,O$2)&\":\"&MIN($E14,EOMONTH(O$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(P$2,0),$E14>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,P$2)&\":\"&MIN($E14,EOMONTH(P$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,P$2)&\":\"&MIN($E14,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,P$2)&\":\"&MIN($E14,EOMONTH(P$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(Q$2,0),$E14>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,Q$2)&\":\"&MIN($E14,EOMONTH(Q$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,Q$2)&\":\"&MIN($E14,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,Q$2)&\":\"&MIN($E14,EOMONTH(Q$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(R$2,0),$E14>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,R$2)&\":\"&MIN($E14,EOMONTH(R$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,R$2)&\":\"&MIN($E14,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,R$2)&\":\"&MIN($E14,EOMONTH(R$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0},{"$f":"IF($D14<>\"\",IF(AND($D14<=EOMONTH(S$2,0),$E14>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D14,S$2)&\":\"&MIN($E14,EOMONTH(S$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A14,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D14,S$2)&\":\"&MIN($E14,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D14,S$2)&\":\"&MIN($E14,EOMONTH(S$2,0)))))=MATCH($F14,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G14,0)","v":0}]
["Laaksolahden halli",0.25,1,"2022-11-02","2023-04-09","To",null,{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(H$2,0),$E15>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,H$2)&\":\"&MIN($E15,EOMONTH(H$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,H$2)&\":\"&MIN($E15,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,H$2)&\":\"&MIN($E15,EOMONTH(H$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":200},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(I$2,0),$E15>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,I$2)&\":\"&MIN($E15,EOMONTH(I$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,I$2)&\":\"&MIN($E15,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,I$2)&\":\"&MIN($E15,EOMONTH(I$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":250},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(J$2,0),$E15>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,J$2)&\":\"&MIN($E15,EOMONTH(J$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,J$2)&\":\"&MIN($E15,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,J$2)&\":\"&MIN($E15,EOMONTH(J$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":200},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(K$2,0),$E15>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,K$2)&\":\"&MIN($E15,EOMONTH(K$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,K$2)&\":\"&MIN($E15,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,K$2)&\":\"&MIN($E15,EOMONTH(K$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":200},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(L$2,0),$E15>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,L$2)&\":\"&MIN($E15,EOMONTH(L$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,L$2)&\":\"&MIN($E15,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,L$2)&\":\"&MIN($E15,EOMONTH(L$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":250},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(M$2,0),$E15>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,M$2)&\":\"&MIN($E15,EOMONTH(M$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,M$2)&\":\"&MIN($E15,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,M$2)&\":\"&MIN($E15,EOMONTH(M$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":50},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(N$2,0),$E15>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,N$2)&\":\"&MIN($E15,EOMONTH(N$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,N$2)&\":\"&MIN($E15,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,N$2)&\":\"&MIN($E15,EOMONTH(N$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(O$2,0),$E15>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,O$2)&\":\"&MIN($E15,EOMONTH(O$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,O$2)&\":\"&MIN($E15,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,O$2)&\":\"&MIN($E15,EOMONTH(O$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(P$2,0),$E15>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,P$2)&\":\"&MIN($E15,EOMONTH(P$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,P$2)&\":\"&MIN($E15,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,P$2)&\":\"&MIN($E15,EOMONTH(P$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(Q$2,0),$E15>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,Q$2)&\":\"&MIN($E15,EOMONTH(Q$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,Q$2)&\":\"&MIN($E15,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,Q$2)&\":\"&MIN($E15,EOMONTH(Q$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(R$2,0),$E15>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,R$2)&\":\"&MIN($E15,EOMONTH(R$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,R$2)&\":\"&MIN($E15,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,R$2)&\":\"&MIN($E15,EOMONTH(R$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(S$2,0),$E15>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,S$2)&\":\"&MIN($E15,EOMONTH(S$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,S$2)&\":\"&MIN($E15,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,S$2)&\":\"&MIN($E15,EOMONTH(S$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(H$2,0),$E15>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,H$2)&\":\"&MIN($E15,EOMONTH(H$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,H$2)&\":\"&MIN($E15,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,H$2)&\":\"&MIN($E15,EOMONTH(H$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(I$2,0),$E15>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,I$2)&\":\"&MIN($E15,EOMONTH(I$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,I$2)&\":\"&MIN($E15,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,I$2)&\":\"&MIN($E15,EOMONTH(I$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(J$2,0),$E15>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,J$2)&\":\"&MIN($E15,EOMONTH(J$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,J$2)&\":\"&MIN($E15,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,J$2)&\":\"&MIN($E15,EOMONTH(J$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(K$2,0),$E15>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,K$2)&\":\"&MIN($E15,EOMONTH(K$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,K$2)&\":\"&MIN($E15,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,K$2)&\":\"&MIN($E15,EOMONTH(K$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(L$2,0),$E15>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,L$2)&\":\"&MIN($E15,EOMONTH(L$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,L$2)&\":\"&MIN($E15,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,L$2)&\":\"&MIN($E15,EOMONTH(L$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(M$2,0),$E15>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,M$2)&\":\"&MIN($E15,EOMONTH(M$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,M$2)&\":\"&MIN($E15,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,M$2)&\":\"&MIN($E15,EOMONTH(M$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(N$2,0),$E15>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,N$2)&\":\"&MIN($E15,EOMONTH(N$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,N$2)&\":\"&MIN($E15,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,N$2)&\":\"&MIN($E15,EOMONTH(N$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(O$2,0),$E15>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,O$2)&\":\"&MIN($E15,EOMONTH(O$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,O$2)&\":\"&MIN($E15,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,O$2)&\":\"&MIN($E15,EOMONTH(O$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(P$2,0),$E15>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,P$2)&\":\"&MIN($E15,EOMONTH(P$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,P$2)&\":\"&MIN($E15,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,P$2)&\":\"&MIN($E15,EOMONTH(P$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(Q$2,0),$E15>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,Q$2)&\":\"&MIN($E15,EOMONTH(Q$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,Q$2)&\":\"&MIN($E15,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,Q$2)&\":\"&MIN($E15,EOMONTH(Q$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(R$2,0),$E15>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,R$2)&\":\"&MIN($E15,EOMONTH(R$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,R$2)&\":\"&MIN($E15,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,R$2)&\":\"&MIN($E15,EOMONTH(R$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0},{"$f":"IF($D15<>\"\",IF(AND($D15<=EOMONTH(S$2,0),$E15>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D15,S$2)&\":\"&MIN($E15,EOMONTH(S$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A15,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D15,S$2)&\":\"&MIN($E15,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D15,S$2)&\":\"&MIN($E15,EOMONTH(S$2,0)))))=MATCH($F15,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G15,0)","v":0}]
["Laaksolahden halli",0.25,1,"2022-11-02","2023-04-09","La",null,{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(H$2,0),$E16>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,H$2)&\":\"&MIN($E16,EOMONTH(H$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,H$2)&\":\"&MIN($E16,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,H$2)&\":\"&MIN($E16,EOMONTH(H$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":200},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(I$2,0),$E16>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,I$2)&\":\"&MIN($E16,EOMONTH(I$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,I$2)&\":\"&MIN($E16,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,I$2)&\":\"&MIN($E16,EOMONTH(I$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":150},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(J$2,0),$E16>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,J$2)&\":\"&MIN($E16,EOMONTH(J$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,J$2)&\":\"&MIN($E16,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,J$2)&\":\"&MIN($E16,EOMONTH(J$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":200},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(K$2,0),$E16>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,K$2)&\":\"&MIN($E16,EOMONTH(K$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,K$2)&\":\"&MIN($E16,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,K$2)&\":\"&MIN($E16,EOMONTH(K$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":200},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(L$2,0),$E16>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,L$2)&\":\"&MIN($E16,EOMONTH(L$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,L$2)&\":\"&MIN($E16,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,L$2)&\":\"&MIN($E16,EOMONTH(L$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":200},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(M$2,0),$E16>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,M$2)&\":\"&MIN($E16,EOMONTH(M$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,M$2)&\":\"&MIN($E16,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,M$2)&\":\"&MIN($E16,EOMONTH(M$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":50},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(N$2,0),$E16>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,N$2)&\":\"&MIN($E16,EOMONTH(N$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,N$2)&\":\"&MIN($E16,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,N$2)&\":\"&MIN($E16,EOMONTH(N$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(O$2,0),$E16>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,O$2)&\":\"&MIN($E16,EOMONTH(O$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,O$2)&\":\"&MIN($E16,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,O$2)&\":\"&MIN($E16,EOMONTH(O$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(P$2,0),$E16>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,P$2)&\":\"&MIN($E16,EOMONTH(P$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,P$2)&\":\"&MIN($E16,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,P$2)&\":\"&MIN($E16,EOMONTH(P$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(Q$2,0),$E16>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,Q$2)&\":\"&MIN($E16,EOMONTH(Q$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,Q$2)&\":\"&MIN($E16,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,Q$2)&\":\"&MIN($E16,EOMONTH(Q$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(R$2,0),$E16>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,R$2)&\":\"&MIN($E16,EOMONTH(R$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,R$2)&\":\"&MIN($E16,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,R$2)&\":\"&MIN($E16,EOMONTH(R$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(S$2,0),$E16>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,S$2)&\":\"&MIN($E16,EOMONTH(S$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,S$2)&\":\"&MIN($E16,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,S$2)&\":\"&MIN($E16,EOMONTH(S$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(H$2,0),$E16>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,H$2)&\":\"&MIN($E16,EOMONTH(H$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,H$2)&\":\"&MIN($E16,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,H$2)&\":\"&MIN($E16,EOMONTH(H$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(I$2,0),$E16>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,I$2)&\":\"&MIN($E16,EOMONTH(I$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,I$2)&\":\"&MIN($E16,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,I$2)&\":\"&MIN($E16,EOMONTH(I$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(J$2,0),$E16>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,J$2)&\":\"&MIN($E16,EOMONTH(J$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,J$2)&\":\"&MIN($E16,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,J$2)&\":\"&MIN($E16,EOMONTH(J$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(K$2,0),$E16>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,K$2)&\":\"&MIN($E16,EOMONTH(K$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,K$2)&\":\"&MIN($E16,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,K$2)&\":\"&MIN($E16,EOMONTH(K$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(L$2,0),$E16>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,L$2)&\":\"&MIN($E16,EOMONTH(L$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,L$2)&\":\"&MIN($E16,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,L$2)&\":\"&MIN($E16,EOMONTH(L$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(M$2,0),$E16>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,M$2)&\":\"&MIN($E16,EOMONTH(M$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,M$2)&\":\"&MIN($E16,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,M$2)&\":\"&MIN($E16,EOMONTH(M$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(N$2,0),$E16>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,N$2)&\":\"&MIN($E16,EOMONTH(N$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,N$2)&\":\"&MIN($E16,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,N$2)&\":\"&MIN($E16,EOMONTH(N$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(O$2,0),$E16>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,O$2)&\":\"&MIN($E16,EOMONTH(O$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,O$2)&\":\"&MIN($E16,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,O$2)&\":\"&MIN($E16,EOMONTH(O$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(P$2,0),$E16>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,P$2)&\":\"&MIN($E16,EOMONTH(P$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,P$2)&\":\"&MIN($E16,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,P$2)&\":\"&MIN($E16,EOMONTH(P$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(Q$2,0),$E16>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,Q$2)&\":\"&MIN($E16,EOMONTH(Q$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,Q$2)&\":\"&MIN($E16,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,Q$2)&\":\"&MIN($E16,EOMONTH(Q$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(R$2,0),$E16>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,R$2)&\":\"&MIN($E16,EOMONTH(R$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,R$2)&\":\"&MIN($E16,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,R$2)&\":\"&MIN($E16,EOMONTH(R$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0},{"$f":"IF($D16<>\"\",IF(AND($D16<=EOMONTH(S$2,0),$E16>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D16,S$2)&\":\"&MIN($E16,EOMONTH(S$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A16,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D16,S$2)&\":\"&MIN($E16,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D16,S$2)&\":\"&MIN($E16,EOMONTH(S$2,0)))))=MATCH($F16,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G16,0)","v":0}]
["Koulusali",null,1,"2022-11-02","2023-04-09","Ma",null,{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(H$2,0),$E17>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,H$2)&\":\"&MIN($E17,EOMONTH(H$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,H$2)&\":\"&MIN($E17,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,H$2)&\":\"&MIN($E17,EOMONTH(H$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(I$2,0),$E17>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,I$2)&\":\"&MIN($E17,EOMONTH(I$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,I$2)&\":\"&MIN($E17,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,I$2)&\":\"&MIN($E17,EOMONTH(I$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(J$2,0),$E17>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,J$2)&\":\"&MIN($E17,EOMONTH(J$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,J$2)&\":\"&MIN($E17,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,J$2)&\":\"&MIN($E17,EOMONTH(J$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(K$2,0),$E17>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,K$2)&\":\"&MIN($E17,EOMONTH(K$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,K$2)&\":\"&MIN($E17,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,K$2)&\":\"&MIN($E17,EOMONTH(K$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(L$2,0),$E17>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,L$2)&\":\"&MIN($E17,EOMONTH(L$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,L$2)&\":\"&MIN($E17,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,L$2)&\":\"&MIN($E17,EOMONTH(L$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(M$2,0),$E17>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,M$2)&\":\"&MIN($E17,EOMONTH(M$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,M$2)&\":\"&MIN($E17,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,M$2)&\":\"&MIN($E17,EOMONTH(M$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(N$2,0),$E17>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,N$2)&\":\"&MIN($E17,EOMONTH(N$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,N$2)&\":\"&MIN($E17,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,N$2)&\":\"&MIN($E17,EOMONTH(N$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(O$2,0),$E17>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,O$2)&\":\"&MIN($E17,EOMONTH(O$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,O$2)&\":\"&MIN($E17,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,O$2)&\":\"&MIN($E17,EOMONTH(O$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(P$2,0),$E17>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,P$2)&\":\"&MIN($E17,EOMONTH(P$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,P$2)&\":\"&MIN($E17,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,P$2)&\":\"&MIN($E17,EOMONTH(P$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(Q$2,0),$E17>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,Q$2)&\":\"&MIN($E17,EOMONTH(Q$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,Q$2)&\":\"&MIN($E17,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,Q$2)&\":\"&MIN($E17,EOMONTH(Q$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(R$2,0),$E17>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,R$2)&\":\"&MIN($E17,EOMONTH(R$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,R$2)&\":\"&MIN($E17,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,R$2)&\":\"&MIN($E17,EOMONTH(R$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(S$2,0),$E17>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,S$2)&\":\"&MIN($E17,EOMONTH(S$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,S$2)&\":\"&MIN($E17,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,S$2)&\":\"&MIN($E17,EOMONTH(S$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(H$2,0),$E17>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,H$2)&\":\"&MIN($E17,EOMONTH(H$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,H$2)&\":\"&MIN($E17,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,H$2)&\":\"&MIN($E17,EOMONTH(H$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(I$2,0),$E17>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,I$2)&\":\"&MIN($E17,EOMONTH(I$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,I$2)&\":\"&MIN($E17,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,I$2)&\":\"&MIN($E17,EOMONTH(I$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(J$2,0),$E17>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,J$2)&\":\"&MIN($E17,EOMONTH(J$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,J$2)&\":\"&MIN($E17,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,J$2)&\":\"&MIN($E17,EOMONTH(J$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(K$2,0),$E17>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,K$2)&\":\"&MIN($E17,EOMONTH(K$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,K$2)&\":\"&MIN($E17,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,K$2)&\":\"&MIN($E17,EOMONTH(K$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(L$2,0),$E17>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,L$2)&\":\"&MIN($E17,EOMONTH(L$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,L$2)&\":\"&MIN($E17,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,L$2)&\":\"&MIN($E17,EOMONTH(L$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(M$2,0),$E17>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,M$2)&\":\"&MIN($E17,EOMONTH(M$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,M$2)&\":\"&MIN($E17,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,M$2)&\":\"&MIN($E17,EOMONTH(M$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(N$2,0),$E17>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,N$2)&\":\"&MIN($E17,EOMONTH(N$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,N$2)&\":\"&MIN($E17,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,N$2)&\":\"&MIN($E17,EOMONTH(N$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(O$2,0),$E17>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,O$2)&\":\"&MIN($E17,EOMONTH(O$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,O$2)&\":\"&MIN($E17,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,O$2)&\":\"&MIN($E17,EOMONTH(O$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(P$2,0),$E17>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,P$2)&\":\"&MIN($E17,EOMONTH(P$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,P$2)&\":\"&MIN($E17,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,P$2)&\":\"&MIN($E17,EOMONTH(P$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(Q$2,0),$E17>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,Q$2)&\":\"&MIN($E17,EOMONTH(Q$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,Q$2)&\":\"&MIN($E17,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,Q$2)&\":\"&MIN($E17,EOMONTH(Q$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(R$2,0),$E17>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,R$2)&\":\"&MIN($E17,EOMONTH(R$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,R$2)&\":\"&MIN($E17,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,R$2)&\":\"&MIN($E17,EOMONTH(R$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0},{"$f":"IF($D17<>\"\",IF(AND($D17<=EOMONTH(S$2,0),$E17>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D17,S$2)&\":\"&MIN($E17,EOMONTH(S$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A17,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D17,S$2)&\":\"&MIN($E17,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D17,S$2)&\":\"&MIN($E17,EOMONTH(S$2,0)))))=MATCH($F17,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G17,0)","v":0}]
["Ulkotekonurmi",null,1,"2023-04-10","2023-10-31","To",null,{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(H$2,0),$E18>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,H$2)&\":\"&MIN($E18,EOMONTH(H$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,H$2)&\":\"&MIN($E18,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,H$2)&\":\"&MIN($E18,EOMONTH(H$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(I$2,0),$E18>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,I$2)&\":\"&MIN($E18,EOMONTH(I$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,I$2)&\":\"&MIN($E18,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,I$2)&\":\"&MIN($E18,EOMONTH(I$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(J$2,0),$E18>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,J$2)&\":\"&MIN($E18,EOMONTH(J$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,J$2)&\":\"&MIN($E18,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,J$2)&\":\"&MIN($E18,EOMONTH(J$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(K$2,0),$E18>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,K$2)&\":\"&MIN($E18,EOMONTH(K$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,K$2)&\":\"&MIN($E18,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,K$2)&\":\"&MIN($E18,EOMONTH(K$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(L$2,0),$E18>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,L$2)&\":\"&MIN($E18,EOMONTH(L$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,L$2)&\":\"&MIN($E18,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,L$2)&\":\"&MIN($E18,EOMONTH(L$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(M$2,0),$E18>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,M$2)&\":\"&MIN($E18,EOMONTH(M$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,M$2)&\":\"&MIN($E18,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,M$2)&\":\"&MIN($E18,EOMONTH(M$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(N$2,0),$E18>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,N$2)&\":\"&MIN($E18,EOMONTH(N$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,N$2)&\":\"&MIN($E18,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,N$2)&\":\"&MIN($E18,EOMONTH(N$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(O$2,0),$E18>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,O$2)&\":\"&MIN($E18,EOMONTH(O$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,O$2)&\":\"&MIN($E18,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,O$2)&\":\"&MIN($E18,EOMONTH(O$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(P$2,0),$E18>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,P$2)&\":\"&MIN($E18,EOMONTH(P$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,P$2)&\":\"&MIN($E18,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,P$2)&\":\"&MIN($E18,EOMONTH(P$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(Q$2,0),$E18>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,Q$2)&\":\"&MIN($E18,EOMONTH(Q$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,Q$2)&\":\"&MIN($E18,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,Q$2)&\":\"&MIN($E18,EOMONTH(Q$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(R$2,0),$E18>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,R$2)&\":\"&MIN($E18,EOMONTH(R$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,R$2)&\":\"&MIN($E18,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,R$2)&\":\"&MIN($E18,EOMONTH(R$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(S$2,0),$E18>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,S$2)&\":\"&MIN($E18,EOMONTH(S$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,S$2)&\":\"&MIN($E18,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,S$2)&\":\"&MIN($E18,EOMONTH(S$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(H$2,0),$E18>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,H$2)&\":\"&MIN($E18,EOMONTH(H$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,H$2)&\":\"&MIN($E18,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,H$2)&\":\"&MIN($E18,EOMONTH(H$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(I$2,0),$E18>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,I$2)&\":\"&MIN($E18,EOMONTH(I$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,I$2)&\":\"&MIN($E18,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,I$2)&\":\"&MIN($E18,EOMONTH(I$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(J$2,0),$E18>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,J$2)&\":\"&MIN($E18,EOMONTH(J$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,J$2)&\":\"&MIN($E18,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,J$2)&\":\"&MIN($E18,EOMONTH(J$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(K$2,0),$E18>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,K$2)&\":\"&MIN($E18,EOMONTH(K$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,K$2)&\":\"&MIN($E18,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,K$2)&\":\"&MIN($E18,EOMONTH(K$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(L$2,0),$E18>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,L$2)&\":\"&MIN($E18,EOMONTH(L$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,L$2)&\":\"&MIN($E18,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,L$2)&\":\"&MIN($E18,EOMONTH(L$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(M$2,0),$E18>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,M$2)&\":\"&MIN($E18,EOMONTH(M$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,M$2)&\":\"&MIN($E18,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,M$2)&\":\"&MIN($E18,EOMONTH(M$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(N$2,0),$E18>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,N$2)&\":\"&MIN($E18,EOMONTH(N$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,N$2)&\":\"&MIN($E18,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,N$2)&\":\"&MIN($E18,EOMONTH(N$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(O$2,0),$E18>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,O$2)&\":\"&MIN($E18,EOMONTH(O$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,O$2)&\":\"&MIN($E18,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,O$2)&\":\"&MIN($E18,EOMONTH(O$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(P$2,0),$E18>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,P$2)&\":\"&MIN($E18,EOMONTH(P$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,P$2)&\":\"&MIN($E18,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,P$2)&\":\"&MIN($E18,EOMONTH(P$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(Q$2,0),$E18>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,Q$2)&\":\"&MIN($E18,EOMONTH(Q$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,Q$2)&\":\"&MIN($E18,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,Q$2)&\":\"&MIN($E18,EOMONTH(Q$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(R$2,0),$E18>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,R$2)&\":\"&MIN($E18,EOMONTH(R$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,R$2)&\":\"&MIN($E18,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,R$2)&\":\"&MIN($E18,EOMONTH(R$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0},{"$f":"IF($D18<>\"\",IF(AND($D18<=EOMONTH(S$2,0),$E18>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D18,S$2)&\":\"&MIN($E18,EOMONTH(S$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A18,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D18,S$2)&\":\"&MIN($E18,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D18,S$2)&\":\"&MIN($E18,EOMONTH(S$2,0)))))=MATCH($F18,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G18,0)","v":0}]
["Ulkotekonurmi",null,1,"2023-04-10","2023-10-31","Su",null,{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(H$2,0),$E19>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,H$2)&\":\"&MIN($E19,EOMONTH(H$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,H$2)&\":\"&MIN($E19,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,H$2)&\":\"&MIN($E19,EOMONTH(H$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(I$2,0),$E19>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,I$2)&\":\"&MIN($E19,EOMONTH(I$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,I$2)&\":\"&MIN($E19,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,I$2)&\":\"&MIN($E19,EOMONTH(I$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(J$2,0),$E19>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,J$2)&\":\"&MIN($E19,EOMONTH(J$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,J$2)&\":\"&MIN($E19,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,J$2)&\":\"&MIN($E19,EOMONTH(J$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(K$2,0),$E19>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,K$2)&\":\"&MIN($E19,EOMONTH(K$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,K$2)&\":\"&MIN($E19,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,K$2)&\":\"&MIN($E19,EOMONTH(K$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(L$2,0),$E19>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,L$2)&\":\"&MIN($E19,EOMONTH(L$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,L$2)&\":\"&MIN($E19,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,L$2)&\":\"&MIN($E19,EOMONTH(L$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(M$2,0),$E19>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,M$2)&\":\"&MIN($E19,EOMONTH(M$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,M$2)&\":\"&MIN($E19,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,M$2)&\":\"&MIN($E19,EOMONTH(M$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(N$2,0),$E19>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,N$2)&\":\"&MIN($E19,EOMONTH(N$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,N$2)&\":\"&MIN($E19,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,N$2)&\":\"&MIN($E19,EOMONTH(N$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(O$2,0),$E19>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,O$2)&\":\"&MIN($E19,EOMONTH(O$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,O$2)&\":\"&MIN($E19,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,O$2)&\":\"&MIN($E19,EOMONTH(O$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(P$2,0),$E19>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,P$2)&\":\"&MIN($E19,EOMONTH(P$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,P$2)&\":\"&MIN($E19,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,P$2)&\":\"&MIN($E19,EOMONTH(P$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(Q$2,0),$E19>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,Q$2)&\":\"&MIN($E19,EOMONTH(Q$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,Q$2)&\":\"&MIN($E19,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,Q$2)&\":\"&MIN($E19,EOMONTH(Q$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(R$2,0),$E19>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,R$2)&\":\"&MIN($E19,EOMONTH(R$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,R$2)&\":\"&MIN($E19,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,R$2)&\":\"&MIN($E19,EOMONTH(R$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(S$2,0),$E19>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,S$2)&\":\"&MIN($E19,EOMONTH(S$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,S$2)&\":\"&MIN($E19,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,S$2)&\":\"&MIN($E19,EOMONTH(S$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(H$2,0),$E19>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,H$2)&\":\"&MIN($E19,EOMONTH(H$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,H$2)&\":\"&MIN($E19,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,H$2)&\":\"&MIN($E19,EOMONTH(H$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(I$2,0),$E19>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,I$2)&\":\"&MIN($E19,EOMONTH(I$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,I$2)&\":\"&MIN($E19,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,I$2)&\":\"&MIN($E19,EOMONTH(I$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(J$2,0),$E19>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,J$2)&\":\"&MIN($E19,EOMONTH(J$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,J$2)&\":\"&MIN($E19,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,J$2)&\":\"&MIN($E19,EOMONTH(J$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(K$2,0),$E19>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,K$2)&\":\"&MIN($E19,EOMONTH(K$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,K$2)&\":\"&MIN($E19,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,K$2)&\":\"&MIN($E19,EOMONTH(K$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(L$2,0),$E19>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,L$2)&\":\"&MIN($E19,EOMONTH(L$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,L$2)&\":\"&MIN($E19,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,L$2)&\":\"&MIN($E19,EOMONTH(L$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(M$2,0),$E19>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,M$2)&\":\"&MIN($E19,EOMONTH(M$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,M$2)&\":\"&MIN($E19,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,M$2)&\":\"&MIN($E19,EOMONTH(M$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(N$2,0),$E19>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,N$2)&\":\"&MIN($E19,EOMONTH(N$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,N$2)&\":\"&MIN($E19,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,N$2)&\":\"&MIN($E19,EOMONTH(N$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(O$2,0),$E19>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,O$2)&\":\"&MIN($E19,EOMONTH(O$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,O$2)&\":\"&MIN($E19,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,O$2)&\":\"&MIN($E19,EOMONTH(O$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(P$2,0),$E19>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,P$2)&\":\"&MIN($E19,EOMONTH(P$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,P$2)&\":\"&MIN($E19,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,P$2)&\":\"&MIN($E19,EOMONTH(P$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(Q$2,0),$E19>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,Q$2)&\":\"&MIN($E19,EOMONTH(Q$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,Q$2)&\":\"&MIN($E19,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,Q$2)&\":\"&MIN($E19,EOMONTH(Q$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(R$2,0),$E19>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,R$2)&\":\"&MIN($E19,EOMONTH(R$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,R$2)&\":\"&MIN($E19,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,R$2)&\":\"&MIN($E19,EOMONTH(R$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0},{"$f":"IF($D19<>\"\",IF(AND($D19<=EOMONTH(S$2,0),$E19>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D19,S$2)&\":\"&MIN($E19,EOMONTH(S$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A19,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D19,S$2)&\":\"&MIN($E19,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D19,S$2)&\":\"&MIN($E19,EOMONTH(S$2,0)))))=MATCH($F19,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G19,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(H$2,0),$E20>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,H$2)&\":\"&MIN($E20,EOMONTH(H$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,H$2)&\":\"&MIN($E20,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,H$2)&\":\"&MIN($E20,EOMONTH(H$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(I$2,0),$E20>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,I$2)&\":\"&MIN($E20,EOMONTH(I$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,I$2)&\":\"&MIN($E20,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,I$2)&\":\"&MIN($E20,EOMONTH(I$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(J$2,0),$E20>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,J$2)&\":\"&MIN($E20,EOMONTH(J$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,J$2)&\":\"&MIN($E20,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,J$2)&\":\"&MIN($E20,EOMONTH(J$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(K$2,0),$E20>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,K$2)&\":\"&MIN($E20,EOMONTH(K$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,K$2)&\":\"&MIN($E20,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,K$2)&\":\"&MIN($E20,EOMONTH(K$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(L$2,0),$E20>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,L$2)&\":\"&MIN($E20,EOMONTH(L$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,L$2)&\":\"&MIN($E20,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,L$2)&\":\"&MIN($E20,EOMONTH(L$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(M$2,0),$E20>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,M$2)&\":\"&MIN($E20,EOMONTH(M$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,M$2)&\":\"&MIN($E20,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,M$2)&\":\"&MIN($E20,EOMONTH(M$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(N$2,0),$E20>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,N$2)&\":\"&MIN($E20,EOMONTH(N$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,N$2)&\":\"&MIN($E20,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,N$2)&\":\"&MIN($E20,EOMONTH(N$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(O$2,0),$E20>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,O$2)&\":\"&MIN($E20,EOMONTH(O$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,O$2)&\":\"&MIN($E20,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,O$2)&\":\"&MIN($E20,EOMONTH(O$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(P$2,0),$E20>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,P$2)&\":\"&MIN($E20,EOMONTH(P$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,P$2)&\":\"&MIN($E20,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,P$2)&\":\"&MIN($E20,EOMONTH(P$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(Q$2,0),$E20>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,Q$2)&\":\"&MIN($E20,EOMONTH(Q$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,Q$2)&\":\"&MIN($E20,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,Q$2)&\":\"&MIN($E20,EOMONTH(Q$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(R$2,0),$E20>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,R$2)&\":\"&MIN($E20,EOMONTH(R$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,R$2)&\":\"&MIN($E20,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,R$2)&\":\"&MIN($E20,EOMONTH(R$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(S$2,0),$E20>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,S$2)&\":\"&MIN($E20,EOMONTH(S$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,S$2)&\":\"&MIN($E20,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,S$2)&\":\"&MIN($E20,EOMONTH(S$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(H$2,0),$E20>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,H$2)&\":\"&MIN($E20,EOMONTH(H$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,H$2)&\":\"&MIN($E20,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,H$2)&\":\"&MIN($E20,EOMONTH(H$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(I$2,0),$E20>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,I$2)&\":\"&MIN($E20,EOMONTH(I$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,I$2)&\":\"&MIN($E20,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,I$2)&\":\"&MIN($E20,EOMONTH(I$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(J$2,0),$E20>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,J$2)&\":\"&MIN($E20,EOMONTH(J$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,J$2)&\":\"&MIN($E20,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,J$2)&\":\"&MIN($E20,EOMONTH(J$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(K$2,0),$E20>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,K$2)&\":\"&MIN($E20,EOMONTH(K$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,K$2)&\":\"&MIN($E20,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,K$2)&\":\"&MIN($E20,EOMONTH(K$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(L$2,0),$E20>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,L$2)&\":\"&MIN($E20,EOMONTH(L$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,L$2)&\":\"&MIN($E20,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,L$2)&\":\"&MIN($E20,EOMONTH(L$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(M$2,0),$E20>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,M$2)&\":\"&MIN($E20,EOMONTH(M$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,M$2)&\":\"&MIN($E20,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,M$2)&\":\"&MIN($E20,EOMONTH(M$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(N$2,0),$E20>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,N$2)&\":\"&MIN($E20,EOMONTH(N$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,N$2)&\":\"&MIN($E20,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,N$2)&\":\"&MIN($E20,EOMONTH(N$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(O$2,0),$E20>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,O$2)&\":\"&MIN($E20,EOMONTH(O$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,O$2)&\":\"&MIN($E20,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,O$2)&\":\"&MIN($E20,EOMONTH(O$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(P$2,0),$E20>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,P$2)&\":\"&MIN($E20,EOMONTH(P$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,P$2)&\":\"&MIN($E20,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,P$2)&\":\"&MIN($E20,EOMONTH(P$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(Q$2,0),$E20>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,Q$2)&\":\"&MIN($E20,EOMONTH(Q$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,Q$2)&\":\"&MIN($E20,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,Q$2)&\":\"&MIN($E20,EOMONTH(Q$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(R$2,0),$E20>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,R$2)&\":\"&MIN($E20,EOMONTH(R$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,R$2)&\":\"&MIN($E20,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,R$2)&\":\"&MIN($E20,EOMONTH(R$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0},{"$f":"IF($D20<>\"\",IF(AND($D20<=EOMONTH(S$2,0),$E20>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D20,S$2)&\":\"&MIN($E20,EOMONTH(S$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A20,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D20,S$2)&\":\"&MIN($E20,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D20,S$2)&\":\"&MIN($E20,EOMONTH(S$2,0)))))=MATCH($F20,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G20,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(H$2,0),$E21>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,H$2)&\":\"&MIN($E21,EOMONTH(H$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,H$2)&\":\"&MIN($E21,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,H$2)&\":\"&MIN($E21,EOMONTH(H$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(I$2,0),$E21>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,I$2)&\":\"&MIN($E21,EOMONTH(I$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,I$2)&\":\"&MIN($E21,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,I$2)&\":\"&MIN($E21,EOMONTH(I$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(J$2,0),$E21>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,J$2)&\":\"&MIN($E21,EOMONTH(J$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,J$2)&\":\"&MIN($E21,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,J$2)&\":\"&MIN($E21,EOMONTH(J$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(K$2,0),$E21>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,K$2)&\":\"&MIN($E21,EOMONTH(K$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,K$2)&\":\"&MIN($E21,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,K$2)&\":\"&MIN($E21,EOMONTH(K$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(L$2,0),$E21>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,L$2)&\":\"&MIN($E21,EOMONTH(L$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,L$2)&\":\"&MIN($E21,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,L$2)&\":\"&MIN($E21,EOMONTH(L$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(M$2,0),$E21>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,M$2)&\":\"&MIN($E21,EOMONTH(M$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,M$2)&\":\"&MIN($E21,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,M$2)&\":\"&MIN($E21,EOMONTH(M$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(N$2,0),$E21>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,N$2)&\":\"&MIN($E21,EOMONTH(N$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,N$2)&\":\"&MIN($E21,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,N$2)&\":\"&MIN($E21,EOMONTH(N$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(O$2,0),$E21>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,O$2)&\":\"&MIN($E21,EOMONTH(O$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,O$2)&\":\"&MIN($E21,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,O$2)&\":\"&MIN($E21,EOMONTH(O$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(P$2,0),$E21>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,P$2)&\":\"&MIN($E21,EOMONTH(P$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,P$2)&\":\"&MIN($E21,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,P$2)&\":\"&MIN($E21,EOMONTH(P$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(Q$2,0),$E21>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,Q$2)&\":\"&MIN($E21,EOMONTH(Q$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,Q$2)&\":\"&MIN($E21,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,Q$2)&\":\"&MIN($E21,EOMONTH(Q$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(R$2,0),$E21>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,R$2)&\":\"&MIN($E21,EOMONTH(R$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,R$2)&\":\"&MIN($E21,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,R$2)&\":\"&MIN($E21,EOMONTH(R$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(S$2,0),$E21>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,S$2)&\":\"&MIN($E21,EOMONTH(S$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,S$2)&\":\"&MIN($E21,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,S$2)&\":\"&MIN($E21,EOMONTH(S$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(H$2,0),$E21>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,H$2)&\":\"&MIN($E21,EOMONTH(H$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,H$2)&\":\"&MIN($E21,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,H$2)&\":\"&MIN($E21,EOMONTH(H$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(I$2,0),$E21>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,I$2)&\":\"&MIN($E21,EOMONTH(I$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,I$2)&\":\"&MIN($E21,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,I$2)&\":\"&MIN($E21,EOMONTH(I$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(J$2,0),$E21>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,J$2)&\":\"&MIN($E21,EOMONTH(J$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,J$2)&\":\"&MIN($E21,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,J$2)&\":\"&MIN($E21,EOMONTH(J$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(K$2,0),$E21>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,K$2)&\":\"&MIN($E21,EOMONTH(K$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,K$2)&\":\"&MIN($E21,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,K$2)&\":\"&MIN($E21,EOMONTH(K$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(L$2,0),$E21>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,L$2)&\":\"&MIN($E21,EOMONTH(L$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,L$2)&\":\"&MIN($E21,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,L$2)&\":\"&MIN($E21,EOMONTH(L$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(M$2,0),$E21>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,M$2)&\":\"&MIN($E21,EOMONTH(M$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,M$2)&\":\"&MIN($E21,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,M$2)&\":\"&MIN($E21,EOMONTH(M$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(N$2,0),$E21>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,N$2)&\":\"&MIN($E21,EOMONTH(N$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,N$2)&\":\"&MIN($E21,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,N$2)&\":\"&MIN($E21,EOMONTH(N$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(O$2,0),$E21>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,O$2)&\":\"&MIN($E21,EOMONTH(O$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,O$2)&\":\"&MIN($E21,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,O$2)&\":\"&MIN($E21,EOMONTH(O$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(P$2,0),$E21>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,P$2)&\":\"&MIN($E21,EOMONTH(P$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,P$2)&\":\"&MIN($E21,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,P$2)&\":\"&MIN($E21,EOMONTH(P$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(Q$2,0),$E21>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,Q$2)&\":\"&MIN($E21,EOMONTH(Q$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,Q$2)&\":\"&MIN($E21,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,Q$2)&\":\"&MIN($E21,EOMONTH(Q$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(R$2,0),$E21>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,R$2)&\":\"&MIN($E21,EOMONTH(R$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,R$2)&\":\"&MIN($E21,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,R$2)&\":\"&MIN($E21,EOMONTH(R$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0},{"$f":"IF($D21<>\"\",IF(AND($D21<=EOMONTH(S$2,0),$E21>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D21,S$2)&\":\"&MIN($E21,EOMONTH(S$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A21,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D21,S$2)&\":\"&MIN($E21,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D21,S$2)&\":\"&MIN($E21,EOMONTH(S$2,0)))))=MATCH($F21,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G21,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(H$2,0),$E22>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,H$2)&\":\"&MIN($E22,EOMONTH(H$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,H$2)&\":\"&MIN($E22,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,H$2)&\":\"&MIN($E22,EOMONTH(H$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(I$2,0),$E22>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,I$2)&\":\"&MIN($E22,EOMONTH(I$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,I$2)&\":\"&MIN($E22,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,I$2)&\":\"&MIN($E22,EOMONTH(I$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(J$2,0),$E22>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,J$2)&\":\"&MIN($E22,EOMONTH(J$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,J$2)&\":\"&MIN($E22,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,J$2)&\":\"&MIN($E22,EOMONTH(J$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(K$2,0),$E22>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,K$2)&\":\"&MIN($E22,EOMONTH(K$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,K$2)&\":\"&MIN($E22,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,K$2)&\":\"&MIN($E22,EOMONTH(K$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(L$2,0),$E22>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,L$2)&\":\"&MIN($E22,EOMONTH(L$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,L$2)&\":\"&MIN($E22,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,L$2)&\":\"&MIN($E22,EOMONTH(L$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(M$2,0),$E22>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,M$2)&\":\"&MIN($E22,EOMONTH(M$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,M$2)&\":\"&MIN($E22,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,M$2)&\":\"&MIN($E22,EOMONTH(M$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(N$2,0),$E22>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,N$2)&\":\"&MIN($E22,EOMONTH(N$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,N$2)&\":\"&MIN($E22,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,N$2)&\":\"&MIN($E22,EOMONTH(N$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(O$2,0),$E22>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,O$2)&\":\"&MIN($E22,EOMONTH(O$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,O$2)&\":\"&MIN($E22,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,O$2)&\":\"&MIN($E22,EOMONTH(O$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(P$2,0),$E22>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,P$2)&\":\"&MIN($E22,EOMONTH(P$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,P$2)&\":\"&MIN($E22,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,P$2)&\":\"&MIN($E22,EOMONTH(P$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(Q$2,0),$E22>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,Q$2)&\":\"&MIN($E22,EOMONTH(Q$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,Q$2)&\":\"&MIN($E22,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,Q$2)&\":\"&MIN($E22,EOMONTH(Q$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(R$2,0),$E22>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,R$2)&\":\"&MIN($E22,EOMONTH(R$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,R$2)&\":\"&MIN($E22,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,R$2)&\":\"&MIN($E22,EOMONTH(R$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(S$2,0),$E22>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,S$2)&\":\"&MIN($E22,EOMONTH(S$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,S$2)&\":\"&MIN($E22,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,S$2)&\":\"&MIN($E22,EOMONTH(S$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(H$2,0),$E22>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,H$2)&\":\"&MIN($E22,EOMONTH(H$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,H$2)&\":\"&MIN($E22,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,H$2)&\":\"&MIN($E22,EOMONTH(H$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(I$2,0),$E22>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,I$2)&\":\"&MIN($E22,EOMONTH(I$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,I$2)&\":\"&MIN($E22,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,I$2)&\":\"&MIN($E22,EOMONTH(I$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(J$2,0),$E22>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,J$2)&\":\"&MIN($E22,EOMONTH(J$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,J$2)&\":\"&MIN($E22,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,J$2)&\":\"&MIN($E22,EOMONTH(J$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(K$2,0),$E22>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,K$2)&\":\"&MIN($E22,EOMONTH(K$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,K$2)&\":\"&MIN($E22,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,K$2)&\":\"&MIN($E22,EOMONTH(K$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(L$2,0),$E22>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,L$2)&\":\"&MIN($E22,EOMONTH(L$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,L$2)&\":\"&MIN($E22,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,L$2)&\":\"&MIN($E22,EOMONTH(L$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(M$2,0),$E22>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,M$2)&\":\"&MIN($E22,EOMONTH(M$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,M$2)&\":\"&MIN($E22,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,M$2)&\":\"&MIN($E22,EOMONTH(M$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(N$2,0),$E22>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,N$2)&\":\"&MIN($E22,EOMONTH(N$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,N$2)&\":\"&MIN($E22,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,N$2)&\":\"&MIN($E22,EOMONTH(N$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(O$2,0),$E22>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,O$2)&\":\"&MIN($E22,EOMONTH(O$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,O$2)&\":\"&MIN($E22,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,O$2)&\":\"&MIN($E22,EOMONTH(O$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(P$2,0),$E22>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,P$2)&\":\"&MIN($E22,EOMONTH(P$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,P$2)&\":\"&MIN($E22,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,P$2)&\":\"&MIN($E22,EOMONTH(P$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(Q$2,0),$E22>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,Q$2)&\":\"&MIN($E22,EOMONTH(Q$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,Q$2)&\":\"&MIN($E22,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,Q$2)&\":\"&MIN($E22,EOMONTH(Q$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(R$2,0),$E22>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,R$2)&\":\"&MIN($E22,EOMONTH(R$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,R$2)&\":\"&MIN($E22,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,R$2)&\":\"&MIN($E22,EOMONTH(R$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0},{"$f":"IF($D22<>\"\",IF(AND($D22<=EOMONTH(S$2,0),$E22>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D22,S$2)&\":\"&MIN($E22,EOMONTH(S$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A22,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D22,S$2)&\":\"&MIN($E22,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D22,S$2)&\":\"&MIN($E22,EOMONTH(S$2,0)))))=MATCH($F22,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G22,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(H$2,0),$E23>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,H$2)&\":\"&MIN($E23,EOMONTH(H$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,H$2)&\":\"&MIN($E23,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,H$2)&\":\"&MIN($E23,EOMONTH(H$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(I$2,0),$E23>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,I$2)&\":\"&MIN($E23,EOMONTH(I$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,I$2)&\":\"&MIN($E23,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,I$2)&\":\"&MIN($E23,EOMONTH(I$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(J$2,0),$E23>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,J$2)&\":\"&MIN($E23,EOMONTH(J$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,J$2)&\":\"&MIN($E23,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,J$2)&\":\"&MIN($E23,EOMONTH(J$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(K$2,0),$E23>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,K$2)&\":\"&MIN($E23,EOMONTH(K$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,K$2)&\":\"&MIN($E23,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,K$2)&\":\"&MIN($E23,EOMONTH(K$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(L$2,0),$E23>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,L$2)&\":\"&MIN($E23,EOMONTH(L$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,L$2)&\":\"&MIN($E23,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,L$2)&\":\"&MIN($E23,EOMONTH(L$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(M$2,0),$E23>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,M$2)&\":\"&MIN($E23,EOMONTH(M$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,M$2)&\":\"&MIN($E23,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,M$2)&\":\"&MIN($E23,EOMONTH(M$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(N$2,0),$E23>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,N$2)&\":\"&MIN($E23,EOMONTH(N$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,N$2)&\":\"&MIN($E23,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,N$2)&\":\"&MIN($E23,EOMONTH(N$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(O$2,0),$E23>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,O$2)&\":\"&MIN($E23,EOMONTH(O$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,O$2)&\":\"&MIN($E23,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,O$2)&\":\"&MIN($E23,EOMONTH(O$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(P$2,0),$E23>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,P$2)&\":\"&MIN($E23,EOMONTH(P$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,P$2)&\":\"&MIN($E23,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,P$2)&\":\"&MIN($E23,EOMONTH(P$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(Q$2,0),$E23>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,Q$2)&\":\"&MIN($E23,EOMONTH(Q$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,Q$2)&\":\"&MIN($E23,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,Q$2)&\":\"&MIN($E23,EOMONTH(Q$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(R$2,0),$E23>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,R$2)&\":\"&MIN($E23,EOMONTH(R$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,R$2)&\":\"&MIN($E23,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,R$2)&\":\"&MIN($E23,EOMONTH(R$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(S$2,0),$E23>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,S$2)&\":\"&MIN($E23,EOMONTH(S$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,S$2)&\":\"&MIN($E23,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,S$2)&\":\"&MIN($E23,EOMONTH(S$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(H$2,0),$E23>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,H$2)&\":\"&MIN($E23,EOMONTH(H$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,H$2)&\":\"&MIN($E23,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,H$2)&\":\"&MIN($E23,EOMONTH(H$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(I$2,0),$E23>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,I$2)&\":\"&MIN($E23,EOMONTH(I$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,I$2)&\":\"&MIN($E23,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,I$2)&\":\"&MIN($E23,EOMONTH(I$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(J$2,0),$E23>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,J$2)&\":\"&MIN($E23,EOMONTH(J$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,J$2)&\":\"&MIN($E23,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,J$2)&\":\"&MIN($E23,EOMONTH(J$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(K$2,0),$E23>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,K$2)&\":\"&MIN($E23,EOMONTH(K$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,K$2)&\":\"&MIN($E23,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,K$2)&\":\"&MIN($E23,EOMONTH(K$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(L$2,0),$E23>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,L$2)&\":\"&MIN($E23,EOMONTH(L$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,L$2)&\":\"&MIN($E23,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,L$2)&\":\"&MIN($E23,EOMONTH(L$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(M$2,0),$E23>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,M$2)&\":\"&MIN($E23,EOMONTH(M$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,M$2)&\":\"&MIN($E23,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,M$2)&\":\"&MIN($E23,EOMONTH(M$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(N$2,0),$E23>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,N$2)&\":\"&MIN($E23,EOMONTH(N$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,N$2)&\":\"&MIN($E23,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,N$2)&\":\"&MIN($E23,EOMONTH(N$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(O$2,0),$E23>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,O$2)&\":\"&MIN($E23,EOMONTH(O$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,O$2)&\":\"&MIN($E23,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,O$2)&\":\"&MIN($E23,EOMONTH(O$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(P$2,0),$E23>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,P$2)&\":\"&MIN($E23,EOMONTH(P$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,P$2)&\":\"&MIN($E23,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,P$2)&\":\"&MIN($E23,EOMONTH(P$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(Q$2,0),$E23>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,Q$2)&\":\"&MIN($E23,EOMONTH(Q$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,Q$2)&\":\"&MIN($E23,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,Q$2)&\":\"&MIN($E23,EOMONTH(Q$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(R$2,0),$E23>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,R$2)&\":\"&MIN($E23,EOMONTH(R$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,R$2)&\":\"&MIN($E23,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,R$2)&\":\"&MIN($E23,EOMONTH(R$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0},{"$f":"IF($D23<>\"\",IF(AND($D23<=EOMONTH(S$2,0),$E23>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D23,S$2)&\":\"&MIN($E23,EOMONTH(S$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A23,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D23,S$2)&\":\"&MIN($E23,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D23,S$2)&\":\"&MIN($E23,EOMONTH(S$2,0)))))=MATCH($F23,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G23,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(H$2,0),$E24>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,H$2)&\":\"&MIN($E24,EOMONTH(H$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,H$2)&\":\"&MIN($E24,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,H$2)&\":\"&MIN($E24,EOMONTH(H$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(I$2,0),$E24>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,I$2)&\":\"&MIN($E24,EOMONTH(I$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,I$2)&\":\"&MIN($E24,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,I$2)&\":\"&MIN($E24,EOMONTH(I$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(J$2,0),$E24>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,J$2)&\":\"&MIN($E24,EOMONTH(J$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,J$2)&\":\"&MIN($E24,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,J$2)&\":\"&MIN($E24,EOMONTH(J$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(K$2,0),$E24>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,K$2)&\":\"&MIN($E24,EOMONTH(K$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,K$2)&\":\"&MIN($E24,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,K$2)&\":\"&MIN($E24,EOMONTH(K$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(L$2,0),$E24>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,L$2)&\":\"&MIN($E24,EOMONTH(L$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,L$2)&\":\"&MIN($E24,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,L$2)&\":\"&MIN($E24,EOMONTH(L$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(M$2,0),$E24>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,M$2)&\":\"&MIN($E24,EOMONTH(M$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,M$2)&\":\"&MIN($E24,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,M$2)&\":\"&MIN($E24,EOMONTH(M$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(N$2,0),$E24>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,N$2)&\":\"&MIN($E24,EOMONTH(N$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,N$2)&\":\"&MIN($E24,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,N$2)&\":\"&MIN($E24,EOMONTH(N$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(O$2,0),$E24>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,O$2)&\":\"&MIN($E24,EOMONTH(O$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,O$2)&\":\"&MIN($E24,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,O$2)&\":\"&MIN($E24,EOMONTH(O$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(P$2,0),$E24>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,P$2)&\":\"&MIN($E24,EOMONTH(P$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,P$2)&\":\"&MIN($E24,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,P$2)&\":\"&MIN($E24,EOMONTH(P$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(Q$2,0),$E24>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,Q$2)&\":\"&MIN($E24,EOMONTH(Q$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,Q$2)&\":\"&MIN($E24,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,Q$2)&\":\"&MIN($E24,EOMONTH(Q$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(R$2,0),$E24>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,R$2)&\":\"&MIN($E24,EOMONTH(R$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,R$2)&\":\"&MIN($E24,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,R$2)&\":\"&MIN($E24,EOMONTH(R$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(S$2,0),$E24>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,S$2)&\":\"&MIN($E24,EOMONTH(S$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,S$2)&\":\"&MIN($E24,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,S$2)&\":\"&MIN($E24,EOMONTH(S$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(H$2,0),$E24>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,H$2)&\":\"&MIN($E24,EOMONTH(H$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,H$2)&\":\"&MIN($E24,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,H$2)&\":\"&MIN($E24,EOMONTH(H$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(I$2,0),$E24>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,I$2)&\":\"&MIN($E24,EOMONTH(I$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,I$2)&\":\"&MIN($E24,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,I$2)&\":\"&MIN($E24,EOMONTH(I$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(J$2,0),$E24>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,J$2)&\":\"&MIN($E24,EOMONTH(J$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,J$2)&\":\"&MIN($E24,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,J$2)&\":\"&MIN($E24,EOMONTH(J$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(K$2,0),$E24>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,K$2)&\":\"&MIN($E24,EOMONTH(K$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,K$2)&\":\"&MIN($E24,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,K$2)&\":\"&MIN($E24,EOMONTH(K$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(L$2,0),$E24>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,L$2)&\":\"&MIN($E24,EOMONTH(L$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,L$2)&\":\"&MIN($E24,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,L$2)&\":\"&MIN($E24,EOMONTH(L$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(M$2,0),$E24>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,M$2)&\":\"&MIN($E24,EOMONTH(M$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,M$2)&\":\"&MIN($E24,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,M$2)&\":\"&MIN($E24,EOMONTH(M$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(N$2,0),$E24>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,N$2)&\":\"&MIN($E24,EOMONTH(N$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,N$2)&\":\"&MIN($E24,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,N$2)&\":\"&MIN($E24,EOMONTH(N$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(O$2,0),$E24>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,O$2)&\":\"&MIN($E24,EOMONTH(O$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,O$2)&\":\"&MIN($E24,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,O$2)&\":\"&MIN($E24,EOMONTH(O$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(P$2,0),$E24>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,P$2)&\":\"&MIN($E24,EOMONTH(P$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,P$2)&\":\"&MIN($E24,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,P$2)&\":\"&MIN($E24,EOMONTH(P$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(Q$2,0),$E24>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,Q$2)&\":\"&MIN($E24,EOMONTH(Q$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,Q$2)&\":\"&MIN($E24,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,Q$2)&\":\"&MIN($E24,EOMONTH(Q$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(R$2,0),$E24>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,R$2)&\":\"&MIN($E24,EOMONTH(R$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,R$2)&\":\"&MIN($E24,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,R$2)&\":\"&MIN($E24,EOMONTH(R$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0},{"$f":"IF($D24<>\"\",IF(AND($D24<=EOMONTH(S$2,0),$E24>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D24,S$2)&\":\"&MIN($E24,EOMONTH(S$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A24,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D24,S$2)&\":\"&MIN($E24,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D24,S$2)&\":\"&MIN($E24,EOMONTH(S$2,0)))))=MATCH($F24,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G24,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(H$2,0),$E25>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,H$2)&\":\"&MIN($E25,EOMONTH(H$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,H$2)&\":\"&MIN($E25,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,H$2)&\":\"&MIN($E25,EOMONTH(H$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(I$2,0),$E25>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,I$2)&\":\"&MIN($E25,EOMONTH(I$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,I$2)&\":\"&MIN($E25,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,I$2)&\":\"&MIN($E25,EOMONTH(I$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(J$2,0),$E25>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,J$2)&\":\"&MIN($E25,EOMONTH(J$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,J$2)&\":\"&MIN($E25,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,J$2)&\":\"&MIN($E25,EOMONTH(J$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(K$2,0),$E25>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,K$2)&\":\"&MIN($E25,EOMONTH(K$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,K$2)&\":\"&MIN($E25,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,K$2)&\":\"&MIN($E25,EOMONTH(K$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(L$2,0),$E25>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,L$2)&\":\"&MIN($E25,EOMONTH(L$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,L$2)&\":\"&MIN($E25,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,L$2)&\":\"&MIN($E25,EOMONTH(L$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(M$2,0),$E25>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,M$2)&\":\"&MIN($E25,EOMONTH(M$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,M$2)&\":\"&MIN($E25,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,M$2)&\":\"&MIN($E25,EOMONTH(M$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(N$2,0),$E25>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,N$2)&\":\"&MIN($E25,EOMONTH(N$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,N$2)&\":\"&MIN($E25,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,N$2)&\":\"&MIN($E25,EOMONTH(N$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(O$2,0),$E25>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,O$2)&\":\"&MIN($E25,EOMONTH(O$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,O$2)&\":\"&MIN($E25,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,O$2)&\":\"&MIN($E25,EOMONTH(O$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(P$2,0),$E25>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,P$2)&\":\"&MIN($E25,EOMONTH(P$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,P$2)&\":\"&MIN($E25,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,P$2)&\":\"&MIN($E25,EOMONTH(P$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(Q$2,0),$E25>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,Q$2)&\":\"&MIN($E25,EOMONTH(Q$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,Q$2)&\":\"&MIN($E25,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,Q$2)&\":\"&MIN($E25,EOMONTH(Q$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(R$2,0),$E25>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,R$2)&\":\"&MIN($E25,EOMONTH(R$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,R$2)&\":\"&MIN($E25,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,R$2)&\":\"&MIN($E25,EOMONTH(R$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(S$2,0),$E25>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,S$2)&\":\"&MIN($E25,EOMONTH(S$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,S$2)&\":\"&MIN($E25,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,S$2)&\":\"&MIN($E25,EOMONTH(S$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(H$2,0),$E25>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,H$2)&\":\"&MIN($E25,EOMONTH(H$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,H$2)&\":\"&MIN($E25,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,H$2)&\":\"&MIN($E25,EOMONTH(H$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(I$2,0),$E25>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,I$2)&\":\"&MIN($E25,EOMONTH(I$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,I$2)&\":\"&MIN($E25,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,I$2)&\":\"&MIN($E25,EOMONTH(I$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(J$2,0),$E25>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,J$2)&\":\"&MIN($E25,EOMONTH(J$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,J$2)&\":\"&MIN($E25,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,J$2)&\":\"&MIN($E25,EOMONTH(J$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(K$2,0),$E25>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,K$2)&\":\"&MIN($E25,EOMONTH(K$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,K$2)&\":\"&MIN($E25,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,K$2)&\":\"&MIN($E25,EOMONTH(K$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(L$2,0),$E25>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,L$2)&\":\"&MIN($E25,EOMONTH(L$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,L$2)&\":\"&MIN($E25,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,L$2)&\":\"&MIN($E25,EOMONTH(L$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(M$2,0),$E25>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,M$2)&\":\"&MIN($E25,EOMONTH(M$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,M$2)&\":\"&MIN($E25,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,M$2)&\":\"&MIN($E25,EOMONTH(M$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(N$2,0),$E25>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,N$2)&\":\"&MIN($E25,EOMONTH(N$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,N$2)&\":\"&MIN($E25,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,N$2)&\":\"&MIN($E25,EOMONTH(N$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(O$2,0),$E25>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,O$2)&\":\"&MIN($E25,EOMONTH(O$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,O$2)&\":\"&MIN($E25,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,O$2)&\":\"&MIN($E25,EOMONTH(O$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(P$2,0),$E25>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,P$2)&\":\"&MIN($E25,EOMONTH(P$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,P$2)&\":\"&MIN($E25,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,P$2)&\":\"&MIN($E25,EOMONTH(P$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(Q$2,0),$E25>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,Q$2)&\":\"&MIN($E25,EOMONTH(Q$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,Q$2)&\":\"&MIN($E25,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,Q$2)&\":\"&MIN($E25,EOMONTH(Q$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(R$2,0),$E25>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,R$2)&\":\"&MIN($E25,EOMONTH(R$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,R$2)&\":\"&MIN($E25,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,R$2)&\":\"&MIN($E25,EOMONTH(R$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0},{"$f":"IF($D25<>\"\",IF(AND($D25<=EOMONTH(S$2,0),$E25>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D25,S$2)&\":\"&MIN($E25,EOMONTH(S$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A25,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D25,S$2)&\":\"&MIN($E25,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D25,S$2)&\":\"&MIN($E25,EOMONTH(S$2,0)))))=MATCH($F25,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G25,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(H$2,0),$E26>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,H$2)&\":\"&MIN($E26,EOMONTH(H$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,H$2)&\":\"&MIN($E26,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,H$2)&\":\"&MIN($E26,EOMONTH(H$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(I$2,0),$E26>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,I$2)&\":\"&MIN($E26,EOMONTH(I$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,I$2)&\":\"&MIN($E26,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,I$2)&\":\"&MIN($E26,EOMONTH(I$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(J$2,0),$E26>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,J$2)&\":\"&MIN($E26,EOMONTH(J$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,J$2)&\":\"&MIN($E26,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,J$2)&\":\"&MIN($E26,EOMONTH(J$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(K$2,0),$E26>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,K$2)&\":\"&MIN($E26,EOMONTH(K$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,K$2)&\":\"&MIN($E26,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,K$2)&\":\"&MIN($E26,EOMONTH(K$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(L$2,0),$E26>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,L$2)&\":\"&MIN($E26,EOMONTH(L$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,L$2)&\":\"&MIN($E26,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,L$2)&\":\"&MIN($E26,EOMONTH(L$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(M$2,0),$E26>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,M$2)&\":\"&MIN($E26,EOMONTH(M$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,M$2)&\":\"&MIN($E26,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,M$2)&\":\"&MIN($E26,EOMONTH(M$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(N$2,0),$E26>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,N$2)&\":\"&MIN($E26,EOMONTH(N$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,N$2)&\":\"&MIN($E26,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,N$2)&\":\"&MIN($E26,EOMONTH(N$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(O$2,0),$E26>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,O$2)&\":\"&MIN($E26,EOMONTH(O$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,O$2)&\":\"&MIN($E26,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,O$2)&\":\"&MIN($E26,EOMONTH(O$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(P$2,0),$E26>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,P$2)&\":\"&MIN($E26,EOMONTH(P$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,P$2)&\":\"&MIN($E26,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,P$2)&\":\"&MIN($E26,EOMONTH(P$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(Q$2,0),$E26>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,Q$2)&\":\"&MIN($E26,EOMONTH(Q$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,Q$2)&\":\"&MIN($E26,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,Q$2)&\":\"&MIN($E26,EOMONTH(Q$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(R$2,0),$E26>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,R$2)&\":\"&MIN($E26,EOMONTH(R$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,R$2)&\":\"&MIN($E26,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,R$2)&\":\"&MIN($E26,EOMONTH(R$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(S$2,0),$E26>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,S$2)&\":\"&MIN($E26,EOMONTH(S$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,S$2)&\":\"&MIN($E26,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,S$2)&\":\"&MIN($E26,EOMONTH(S$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(H$2,0),$E26>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,H$2)&\":\"&MIN($E26,EOMONTH(H$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,H$2)&\":\"&MIN($E26,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,H$2)&\":\"&MIN($E26,EOMONTH(H$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(I$2,0),$E26>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,I$2)&\":\"&MIN($E26,EOMONTH(I$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,I$2)&\":\"&MIN($E26,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,I$2)&\":\"&MIN($E26,EOMONTH(I$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(J$2,0),$E26>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,J$2)&\":\"&MIN($E26,EOMONTH(J$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,J$2)&\":\"&MIN($E26,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,J$2)&\":\"&MIN($E26,EOMONTH(J$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(K$2,0),$E26>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,K$2)&\":\"&MIN($E26,EOMONTH(K$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,K$2)&\":\"&MIN($E26,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,K$2)&\":\"&MIN($E26,EOMONTH(K$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(L$2,0),$E26>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,L$2)&\":\"&MIN($E26,EOMONTH(L$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,L$2)&\":\"&MIN($E26,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,L$2)&\":\"&MIN($E26,EOMONTH(L$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(M$2,0),$E26>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,M$2)&\":\"&MIN($E26,EOMONTH(M$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,M$2)&\":\"&MIN($E26,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,M$2)&\":\"&MIN($E26,EOMONTH(M$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(N$2,0),$E26>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,N$2)&\":\"&MIN($E26,EOMONTH(N$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,N$2)&\":\"&MIN($E26,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,N$2)&\":\"&MIN($E26,EOMONTH(N$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(O$2,0),$E26>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,O$2)&\":\"&MIN($E26,EOMONTH(O$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,O$2)&\":\"&MIN($E26,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,O$2)&\":\"&MIN($E26,EOMONTH(O$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(P$2,0),$E26>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,P$2)&\":\"&MIN($E26,EOMONTH(P$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,P$2)&\":\"&MIN($E26,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,P$2)&\":\"&MIN($E26,EOMONTH(P$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(Q$2,0),$E26>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,Q$2)&\":\"&MIN($E26,EOMONTH(Q$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,Q$2)&\":\"&MIN($E26,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,Q$2)&\":\"&MIN($E26,EOMONTH(Q$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(R$2,0),$E26>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,R$2)&\":\"&MIN($E26,EOMONTH(R$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,R$2)&\":\"&MIN($E26,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,R$2)&\":\"&MIN($E26,EOMONTH(R$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0},{"$f":"IF($D26<>\"\",IF(AND($D26<=EOMONTH(S$2,0),$E26>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D26,S$2)&\":\"&MIN($E26,EOMONTH(S$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A26,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D26,S$2)&\":\"&MIN($E26,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D26,S$2)&\":\"&MIN($E26,EOMONTH(S$2,0)))))=MATCH($F26,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G26,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(H$2,0),$E27>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,H$2)&\":\"&MIN($E27,EOMONTH(H$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,H$2)&\":\"&MIN($E27,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,H$2)&\":\"&MIN($E27,EOMONTH(H$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(I$2,0),$E27>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,I$2)&\":\"&MIN($E27,EOMONTH(I$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,I$2)&\":\"&MIN($E27,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,I$2)&\":\"&MIN($E27,EOMONTH(I$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(J$2,0),$E27>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,J$2)&\":\"&MIN($E27,EOMONTH(J$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,J$2)&\":\"&MIN($E27,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,J$2)&\":\"&MIN($E27,EOMONTH(J$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(K$2,0),$E27>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,K$2)&\":\"&MIN($E27,EOMONTH(K$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,K$2)&\":\"&MIN($E27,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,K$2)&\":\"&MIN($E27,EOMONTH(K$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(L$2,0),$E27>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,L$2)&\":\"&MIN($E27,EOMONTH(L$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,L$2)&\":\"&MIN($E27,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,L$2)&\":\"&MIN($E27,EOMONTH(L$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(M$2,0),$E27>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,M$2)&\":\"&MIN($E27,EOMONTH(M$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,M$2)&\":\"&MIN($E27,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,M$2)&\":\"&MIN($E27,EOMONTH(M$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(N$2,0),$E27>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,N$2)&\":\"&MIN($E27,EOMONTH(N$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,N$2)&\":\"&MIN($E27,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,N$2)&\":\"&MIN($E27,EOMONTH(N$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(O$2,0),$E27>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,O$2)&\":\"&MIN($E27,EOMONTH(O$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,O$2)&\":\"&MIN($E27,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,O$2)&\":\"&MIN($E27,EOMONTH(O$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(P$2,0),$E27>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,P$2)&\":\"&MIN($E27,EOMONTH(P$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,P$2)&\":\"&MIN($E27,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,P$2)&\":\"&MIN($E27,EOMONTH(P$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(Q$2,0),$E27>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,Q$2)&\":\"&MIN($E27,EOMONTH(Q$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,Q$2)&\":\"&MIN($E27,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,Q$2)&\":\"&MIN($E27,EOMONTH(Q$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(R$2,0),$E27>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,R$2)&\":\"&MIN($E27,EOMONTH(R$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,R$2)&\":\"&MIN($E27,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,R$2)&\":\"&MIN($E27,EOMONTH(R$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(S$2,0),$E27>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,S$2)&\":\"&MIN($E27,EOMONTH(S$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,S$2)&\":\"&MIN($E27,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,S$2)&\":\"&MIN($E27,EOMONTH(S$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(H$2,0),$E27>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,H$2)&\":\"&MIN($E27,EOMONTH(H$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,H$2)&\":\"&MIN($E27,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,H$2)&\":\"&MIN($E27,EOMONTH(H$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(I$2,0),$E27>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,I$2)&\":\"&MIN($E27,EOMONTH(I$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,I$2)&\":\"&MIN($E27,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,I$2)&\":\"&MIN($E27,EOMONTH(I$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(J$2,0),$E27>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,J$2)&\":\"&MIN($E27,EOMONTH(J$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,J$2)&\":\"&MIN($E27,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,J$2)&\":\"&MIN($E27,EOMONTH(J$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(K$2,0),$E27>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,K$2)&\":\"&MIN($E27,EOMONTH(K$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,K$2)&\":\"&MIN($E27,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,K$2)&\":\"&MIN($E27,EOMONTH(K$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(L$2,0),$E27>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,L$2)&\":\"&MIN($E27,EOMONTH(L$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,L$2)&\":\"&MIN($E27,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,L$2)&\":\"&MIN($E27,EOMONTH(L$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(M$2,0),$E27>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,M$2)&\":\"&MIN($E27,EOMONTH(M$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,M$2)&\":\"&MIN($E27,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,M$2)&\":\"&MIN($E27,EOMONTH(M$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(N$2,0),$E27>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,N$2)&\":\"&MIN($E27,EOMONTH(N$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,N$2)&\":\"&MIN($E27,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,N$2)&\":\"&MIN($E27,EOMONTH(N$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(O$2,0),$E27>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,O$2)&\":\"&MIN($E27,EOMONTH(O$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,O$2)&\":\"&MIN($E27,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,O$2)&\":\"&MIN($E27,EOMONTH(O$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(P$2,0),$E27>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,P$2)&\":\"&MIN($E27,EOMONTH(P$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,P$2)&\":\"&MIN($E27,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,P$2)&\":\"&MIN($E27,EOMONTH(P$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(Q$2,0),$E27>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,Q$2)&\":\"&MIN($E27,EOMONTH(Q$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,Q$2)&\":\"&MIN($E27,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,Q$2)&\":\"&MIN($E27,EOMONTH(Q$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(R$2,0),$E27>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,R$2)&\":\"&MIN($E27,EOMONTH(R$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,R$2)&\":\"&MIN($E27,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,R$2)&\":\"&MIN($E27,EOMONTH(R$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0},{"$f":"IF($D27<>\"\",IF(AND($D27<=EOMONTH(S$2,0),$E27>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D27,S$2)&\":\"&MIN($E27,EOMONTH(S$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A27,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D27,S$2)&\":\"&MIN($E27,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D27,S$2)&\":\"&MIN($E27,EOMONTH(S$2,0)))))=MATCH($F27,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G27,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(H$2,0),$E28>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,H$2)&\":\"&MIN($E28,EOMONTH(H$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,H$2)&\":\"&MIN($E28,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,H$2)&\":\"&MIN($E28,EOMONTH(H$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(I$2,0),$E28>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,I$2)&\":\"&MIN($E28,EOMONTH(I$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,I$2)&\":\"&MIN($E28,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,I$2)&\":\"&MIN($E28,EOMONTH(I$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(J$2,0),$E28>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,J$2)&\":\"&MIN($E28,EOMONTH(J$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,J$2)&\":\"&MIN($E28,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,J$2)&\":\"&MIN($E28,EOMONTH(J$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(K$2,0),$E28>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,K$2)&\":\"&MIN($E28,EOMONTH(K$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,K$2)&\":\"&MIN($E28,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,K$2)&\":\"&MIN($E28,EOMONTH(K$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(L$2,0),$E28>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,L$2)&\":\"&MIN($E28,EOMONTH(L$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,L$2)&\":\"&MIN($E28,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,L$2)&\":\"&MIN($E28,EOMONTH(L$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(M$2,0),$E28>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,M$2)&\":\"&MIN($E28,EOMONTH(M$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,M$2)&\":\"&MIN($E28,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,M$2)&\":\"&MIN($E28,EOMONTH(M$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(N$2,0),$E28>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,N$2)&\":\"&MIN($E28,EOMONTH(N$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,N$2)&\":\"&MIN($E28,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,N$2)&\":\"&MIN($E28,EOMONTH(N$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(O$2,0),$E28>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,O$2)&\":\"&MIN($E28,EOMONTH(O$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,O$2)&\":\"&MIN($E28,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,O$2)&\":\"&MIN($E28,EOMONTH(O$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(P$2,0),$E28>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,P$2)&\":\"&MIN($E28,EOMONTH(P$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,P$2)&\":\"&MIN($E28,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,P$2)&\":\"&MIN($E28,EOMONTH(P$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(Q$2,0),$E28>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,Q$2)&\":\"&MIN($E28,EOMONTH(Q$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,Q$2)&\":\"&MIN($E28,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,Q$2)&\":\"&MIN($E28,EOMONTH(Q$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(R$2,0),$E28>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,R$2)&\":\"&MIN($E28,EOMONTH(R$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,R$2)&\":\"&MIN($E28,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,R$2)&\":\"&MIN($E28,EOMONTH(R$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(S$2,0),$E28>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,S$2)&\":\"&MIN($E28,EOMONTH(S$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,S$2)&\":\"&MIN($E28,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,S$2)&\":\"&MIN($E28,EOMONTH(S$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(H$2,0),$E28>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,H$2)&\":\"&MIN($E28,EOMONTH(H$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,H$2)&\":\"&MIN($E28,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,H$2)&\":\"&MIN($E28,EOMONTH(H$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(I$2,0),$E28>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,I$2)&\":\"&MIN($E28,EOMONTH(I$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,I$2)&\":\"&MIN($E28,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,I$2)&\":\"&MIN($E28,EOMONTH(I$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(J$2,0),$E28>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,J$2)&\":\"&MIN($E28,EOMONTH(J$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,J$2)&\":\"&MIN($E28,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,J$2)&\":\"&MIN($E28,EOMONTH(J$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(K$2,0),$E28>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,K$2)&\":\"&MIN($E28,EOMONTH(K$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,K$2)&\":\"&MIN($E28,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,K$2)&\":\"&MIN($E28,EOMONTH(K$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(L$2,0),$E28>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,L$2)&\":\"&MIN($E28,EOMONTH(L$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,L$2)&\":\"&MIN($E28,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,L$2)&\":\"&MIN($E28,EOMONTH(L$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(M$2,0),$E28>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,M$2)&\":\"&MIN($E28,EOMONTH(M$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,M$2)&\":\"&MIN($E28,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,M$2)&\":\"&MIN($E28,EOMONTH(M$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(N$2,0),$E28>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,N$2)&\":\"&MIN($E28,EOMONTH(N$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,N$2)&\":\"&MIN($E28,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,N$2)&\":\"&MIN($E28,EOMONTH(N$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(O$2,0),$E28>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,O$2)&\":\"&MIN($E28,EOMONTH(O$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,O$2)&\":\"&MIN($E28,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,O$2)&\":\"&MIN($E28,EOMONTH(O$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(P$2,0),$E28>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,P$2)&\":\"&MIN($E28,EOMONTH(P$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,P$2)&\":\"&MIN($E28,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,P$2)&\":\"&MIN($E28,EOMONTH(P$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(Q$2,0),$E28>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,Q$2)&\":\"&MIN($E28,EOMONTH(Q$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,Q$2)&\":\"&MIN($E28,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,Q$2)&\":\"&MIN($E28,EOMONTH(Q$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(R$2,0),$E28>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,R$2)&\":\"&MIN($E28,EOMONTH(R$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,R$2)&\":\"&MIN($E28,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,R$2)&\":\"&MIN($E28,EOMONTH(R$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0},{"$f":"IF($D28<>\"\",IF(AND($D28<=EOMONTH(S$2,0),$E28>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D28,S$2)&\":\"&MIN($E28,EOMONTH(S$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A28,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D28,S$2)&\":\"&MIN($E28,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D28,S$2)&\":\"&MIN($E28,EOMONTH(S$2,0)))))=MATCH($F28,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G28,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(H$2,0),$E29>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,H$2)&\":\"&MIN($E29,EOMONTH(H$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,H$2)&\":\"&MIN($E29,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,H$2)&\":\"&MIN($E29,EOMONTH(H$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(I$2,0),$E29>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,I$2)&\":\"&MIN($E29,EOMONTH(I$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,I$2)&\":\"&MIN($E29,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,I$2)&\":\"&MIN($E29,EOMONTH(I$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(J$2,0),$E29>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,J$2)&\":\"&MIN($E29,EOMONTH(J$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,J$2)&\":\"&MIN($E29,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,J$2)&\":\"&MIN($E29,EOMONTH(J$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(K$2,0),$E29>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,K$2)&\":\"&MIN($E29,EOMONTH(K$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,K$2)&\":\"&MIN($E29,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,K$2)&\":\"&MIN($E29,EOMONTH(K$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(L$2,0),$E29>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,L$2)&\":\"&MIN($E29,EOMONTH(L$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,L$2)&\":\"&MIN($E29,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,L$2)&\":\"&MIN($E29,EOMONTH(L$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(M$2,0),$E29>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,M$2)&\":\"&MIN($E29,EOMONTH(M$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,M$2)&\":\"&MIN($E29,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,M$2)&\":\"&MIN($E29,EOMONTH(M$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(N$2,0),$E29>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,N$2)&\":\"&MIN($E29,EOMONTH(N$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,N$2)&\":\"&MIN($E29,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,N$2)&\":\"&MIN($E29,EOMONTH(N$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(O$2,0),$E29>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,O$2)&\":\"&MIN($E29,EOMONTH(O$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,O$2)&\":\"&MIN($E29,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,O$2)&\":\"&MIN($E29,EOMONTH(O$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(P$2,0),$E29>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,P$2)&\":\"&MIN($E29,EOMONTH(P$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,P$2)&\":\"&MIN($E29,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,P$2)&\":\"&MIN($E29,EOMONTH(P$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(Q$2,0),$E29>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,Q$2)&\":\"&MIN($E29,EOMONTH(Q$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,Q$2)&\":\"&MIN($E29,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,Q$2)&\":\"&MIN($E29,EOMONTH(Q$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(R$2,0),$E29>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,R$2)&\":\"&MIN($E29,EOMONTH(R$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,R$2)&\":\"&MIN($E29,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,R$2)&\":\"&MIN($E29,EOMONTH(R$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(S$2,0),$E29>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,S$2)&\":\"&MIN($E29,EOMONTH(S$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,S$2)&\":\"&MIN($E29,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,S$2)&\":\"&MIN($E29,EOMONTH(S$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(H$2,0),$E29>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,H$2)&\":\"&MIN($E29,EOMONTH(H$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,H$2)&\":\"&MIN($E29,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,H$2)&\":\"&MIN($E29,EOMONTH(H$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(I$2,0),$E29>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,I$2)&\":\"&MIN($E29,EOMONTH(I$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,I$2)&\":\"&MIN($E29,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,I$2)&\":\"&MIN($E29,EOMONTH(I$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(J$2,0),$E29>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,J$2)&\":\"&MIN($E29,EOMONTH(J$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,J$2)&\":\"&MIN($E29,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,J$2)&\":\"&MIN($E29,EOMONTH(J$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(K$2,0),$E29>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,K$2)&\":\"&MIN($E29,EOMONTH(K$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,K$2)&\":\"&MIN($E29,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,K$2)&\":\"&MIN($E29,EOMONTH(K$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(L$2,0),$E29>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,L$2)&\":\"&MIN($E29,EOMONTH(L$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,L$2)&\":\"&MIN($E29,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,L$2)&\":\"&MIN($E29,EOMONTH(L$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(M$2,0),$E29>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,M$2)&\":\"&MIN($E29,EOMONTH(M$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,M$2)&\":\"&MIN($E29,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,M$2)&\":\"&MIN($E29,EOMONTH(M$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(N$2,0),$E29>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,N$2)&\":\"&MIN($E29,EOMONTH(N$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,N$2)&\":\"&MIN($E29,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,N$2)&\":\"&MIN($E29,EOMONTH(N$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(O$2,0),$E29>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,O$2)&\":\"&MIN($E29,EOMONTH(O$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,O$2)&\":\"&MIN($E29,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,O$2)&\":\"&MIN($E29,EOMONTH(O$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(P$2,0),$E29>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,P$2)&\":\"&MIN($E29,EOMONTH(P$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,P$2)&\":\"&MIN($E29,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,P$2)&\":\"&MIN($E29,EOMONTH(P$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(Q$2,0),$E29>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,Q$2)&\":\"&MIN($E29,EOMONTH(Q$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,Q$2)&\":\"&MIN($E29,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,Q$2)&\":\"&MIN($E29,EOMONTH(Q$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(R$2,0),$E29>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,R$2)&\":\"&MIN($E29,EOMONTH(R$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,R$2)&\":\"&MIN($E29,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,R$2)&\":\"&MIN($E29,EOMONTH(R$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0},{"$f":"IF($D29<>\"\",IF(AND($D29<=EOMONTH(S$2,0),$E29>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D29,S$2)&\":\"&MIN($E29,EOMONTH(S$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A29,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D29,S$2)&\":\"&MIN($E29,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D29,S$2)&\":\"&MIN($E29,EOMONTH(S$2,0)))))=MATCH($F29,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G29,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(H$2,0),$E30>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,H$2)&\":\"&MIN($E30,EOMONTH(H$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,H$2)&\":\"&MIN($E30,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,H$2)&\":\"&MIN($E30,EOMONTH(H$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(I$2,0),$E30>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,I$2)&\":\"&MIN($E30,EOMONTH(I$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,I$2)&\":\"&MIN($E30,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,I$2)&\":\"&MIN($E30,EOMONTH(I$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(J$2,0),$E30>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,J$2)&\":\"&MIN($E30,EOMONTH(J$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,J$2)&\":\"&MIN($E30,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,J$2)&\":\"&MIN($E30,EOMONTH(J$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(K$2,0),$E30>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,K$2)&\":\"&MIN($E30,EOMONTH(K$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,K$2)&\":\"&MIN($E30,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,K$2)&\":\"&MIN($E30,EOMONTH(K$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(L$2,0),$E30>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,L$2)&\":\"&MIN($E30,EOMONTH(L$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,L$2)&\":\"&MIN($E30,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,L$2)&\":\"&MIN($E30,EOMONTH(L$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(M$2,0),$E30>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,M$2)&\":\"&MIN($E30,EOMONTH(M$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,M$2)&\":\"&MIN($E30,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,M$2)&\":\"&MIN($E30,EOMONTH(M$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(N$2,0),$E30>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,N$2)&\":\"&MIN($E30,EOMONTH(N$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,N$2)&\":\"&MIN($E30,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,N$2)&\":\"&MIN($E30,EOMONTH(N$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(O$2,0),$E30>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,O$2)&\":\"&MIN($E30,EOMONTH(O$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,O$2)&\":\"&MIN($E30,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,O$2)&\":\"&MIN($E30,EOMONTH(O$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(P$2,0),$E30>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,P$2)&\":\"&MIN($E30,EOMONTH(P$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,P$2)&\":\"&MIN($E30,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,P$2)&\":\"&MIN($E30,EOMONTH(P$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(Q$2,0),$E30>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,Q$2)&\":\"&MIN($E30,EOMONTH(Q$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,Q$2)&\":\"&MIN($E30,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,Q$2)&\":\"&MIN($E30,EOMONTH(Q$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(R$2,0),$E30>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,R$2)&\":\"&MIN($E30,EOMONTH(R$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,R$2)&\":\"&MIN($E30,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,R$2)&\":\"&MIN($E30,EOMONTH(R$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(S$2,0),$E30>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,S$2)&\":\"&MIN($E30,EOMONTH(S$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,S$2)&\":\"&MIN($E30,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,S$2)&\":\"&MIN($E30,EOMONTH(S$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(H$2,0),$E30>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,H$2)&\":\"&MIN($E30,EOMONTH(H$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,H$2)&\":\"&MIN($E30,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,H$2)&\":\"&MIN($E30,EOMONTH(H$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(I$2,0),$E30>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,I$2)&\":\"&MIN($E30,EOMONTH(I$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,I$2)&\":\"&MIN($E30,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,I$2)&\":\"&MIN($E30,EOMONTH(I$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(J$2,0),$E30>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,J$2)&\":\"&MIN($E30,EOMONTH(J$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,J$2)&\":\"&MIN($E30,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,J$2)&\":\"&MIN($E30,EOMONTH(J$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(K$2,0),$E30>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,K$2)&\":\"&MIN($E30,EOMONTH(K$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,K$2)&\":\"&MIN($E30,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,K$2)&\":\"&MIN($E30,EOMONTH(K$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(L$2,0),$E30>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,L$2)&\":\"&MIN($E30,EOMONTH(L$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,L$2)&\":\"&MIN($E30,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,L$2)&\":\"&MIN($E30,EOMONTH(L$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(M$2,0),$E30>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,M$2)&\":\"&MIN($E30,EOMONTH(M$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,M$2)&\":\"&MIN($E30,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,M$2)&\":\"&MIN($E30,EOMONTH(M$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(N$2,0),$E30>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,N$2)&\":\"&MIN($E30,EOMONTH(N$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,N$2)&\":\"&MIN($E30,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,N$2)&\":\"&MIN($E30,EOMONTH(N$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(O$2,0),$E30>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,O$2)&\":\"&MIN($E30,EOMONTH(O$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,O$2)&\":\"&MIN($E30,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,O$2)&\":\"&MIN($E30,EOMONTH(O$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(P$2,0),$E30>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,P$2)&\":\"&MIN($E30,EOMONTH(P$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,P$2)&\":\"&MIN($E30,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,P$2)&\":\"&MIN($E30,EOMONTH(P$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(Q$2,0),$E30>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,Q$2)&\":\"&MIN($E30,EOMONTH(Q$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,Q$2)&\":\"&MIN($E30,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,Q$2)&\":\"&MIN($E30,EOMONTH(Q$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(R$2,0),$E30>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,R$2)&\":\"&MIN($E30,EOMONTH(R$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,R$2)&\":\"&MIN($E30,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,R$2)&\":\"&MIN($E30,EOMONTH(R$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0},{"$f":"IF($D30<>\"\",IF(AND($D30<=EOMONTH(S$2,0),$E30>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D30,S$2)&\":\"&MIN($E30,EOMONTH(S$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A30,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D30,S$2)&\":\"&MIN($E30,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D30,S$2)&\":\"&MIN($E30,EOMONTH(S$2,0)))))=MATCH($F30,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G30,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(H$2,0),$E31>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,H$2)&\":\"&MIN($E31,EOMONTH(H$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,H$2)&\":\"&MIN($E31,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,H$2)&\":\"&MIN($E31,EOMONTH(H$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(I$2,0),$E31>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,I$2)&\":\"&MIN($E31,EOMONTH(I$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,I$2)&\":\"&MIN($E31,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,I$2)&\":\"&MIN($E31,EOMONTH(I$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(J$2,0),$E31>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,J$2)&\":\"&MIN($E31,EOMONTH(J$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,J$2)&\":\"&MIN($E31,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,J$2)&\":\"&MIN($E31,EOMONTH(J$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(K$2,0),$E31>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,K$2)&\":\"&MIN($E31,EOMONTH(K$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,K$2)&\":\"&MIN($E31,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,K$2)&\":\"&MIN($E31,EOMONTH(K$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(L$2,0),$E31>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,L$2)&\":\"&MIN($E31,EOMONTH(L$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,L$2)&\":\"&MIN($E31,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,L$2)&\":\"&MIN($E31,EOMONTH(L$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(M$2,0),$E31>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,M$2)&\":\"&MIN($E31,EOMONTH(M$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,M$2)&\":\"&MIN($E31,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,M$2)&\":\"&MIN($E31,EOMONTH(M$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(N$2,0),$E31>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,N$2)&\":\"&MIN($E31,EOMONTH(N$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,N$2)&\":\"&MIN($E31,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,N$2)&\":\"&MIN($E31,EOMONTH(N$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(O$2,0),$E31>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,O$2)&\":\"&MIN($E31,EOMONTH(O$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,O$2)&\":\"&MIN($E31,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,O$2)&\":\"&MIN($E31,EOMONTH(O$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(P$2,0),$E31>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,P$2)&\":\"&MIN($E31,EOMONTH(P$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,P$2)&\":\"&MIN($E31,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,P$2)&\":\"&MIN($E31,EOMONTH(P$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(Q$2,0),$E31>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,Q$2)&\":\"&MIN($E31,EOMONTH(Q$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,Q$2)&\":\"&MIN($E31,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,Q$2)&\":\"&MIN($E31,EOMONTH(Q$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(R$2,0),$E31>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,R$2)&\":\"&MIN($E31,EOMONTH(R$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,R$2)&\":\"&MIN($E31,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,R$2)&\":\"&MIN($E31,EOMONTH(R$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(S$2,0),$E31>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,S$2)&\":\"&MIN($E31,EOMONTH(S$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,S$2)&\":\"&MIN($E31,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,S$2)&\":\"&MIN($E31,EOMONTH(S$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(H$2,0),$E31>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,H$2)&\":\"&MIN($E31,EOMONTH(H$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,H$2)&\":\"&MIN($E31,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,H$2)&\":\"&MIN($E31,EOMONTH(H$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(I$2,0),$E31>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,I$2)&\":\"&MIN($E31,EOMONTH(I$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,I$2)&\":\"&MIN($E31,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,I$2)&\":\"&MIN($E31,EOMONTH(I$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(J$2,0),$E31>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,J$2)&\":\"&MIN($E31,EOMONTH(J$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,J$2)&\":\"&MIN($E31,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,J$2)&\":\"&MIN($E31,EOMONTH(J$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(K$2,0),$E31>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,K$2)&\":\"&MIN($E31,EOMONTH(K$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,K$2)&\":\"&MIN($E31,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,K$2)&\":\"&MIN($E31,EOMONTH(K$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(L$2,0),$E31>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,L$2)&\":\"&MIN($E31,EOMONTH(L$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,L$2)&\":\"&MIN($E31,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,L$2)&\":\"&MIN($E31,EOMONTH(L$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(M$2,0),$E31>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,M$2)&\":\"&MIN($E31,EOMONTH(M$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,M$2)&\":\"&MIN($E31,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,M$2)&\":\"&MIN($E31,EOMONTH(M$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(N$2,0),$E31>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,N$2)&\":\"&MIN($E31,EOMONTH(N$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,N$2)&\":\"&MIN($E31,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,N$2)&\":\"&MIN($E31,EOMONTH(N$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(O$2,0),$E31>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,O$2)&\":\"&MIN($E31,EOMONTH(O$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,O$2)&\":\"&MIN($E31,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,O$2)&\":\"&MIN($E31,EOMONTH(O$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(P$2,0),$E31>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,P$2)&\":\"&MIN($E31,EOMONTH(P$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,P$2)&\":\"&MIN($E31,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,P$2)&\":\"&MIN($E31,EOMONTH(P$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(Q$2,0),$E31>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,Q$2)&\":\"&MIN($E31,EOMONTH(Q$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,Q$2)&\":\"&MIN($E31,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,Q$2)&\":\"&MIN($E31,EOMONTH(Q$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(R$2,0),$E31>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,R$2)&\":\"&MIN($E31,EOMONTH(R$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,R$2)&\":\"&MIN($E31,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,R$2)&\":\"&MIN($E31,EOMONTH(R$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0},{"$f":"IF($D31<>\"\",IF(AND($D31<=EOMONTH(S$2,0),$E31>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D31,S$2)&\":\"&MIN($E31,EOMONTH(S$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A31,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D31,S$2)&\":\"&MIN($E31,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D31,S$2)&\":\"&MIN($E31,EOMONTH(S$2,0)))))=MATCH($F31,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G31,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(H$2,0),$E32>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,H$2)&\":\"&MIN($E32,EOMONTH(H$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,H$2)&\":\"&MIN($E32,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,H$2)&\":\"&MIN($E32,EOMONTH(H$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(I$2,0),$E32>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,I$2)&\":\"&MIN($E32,EOMONTH(I$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,I$2)&\":\"&MIN($E32,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,I$2)&\":\"&MIN($E32,EOMONTH(I$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(J$2,0),$E32>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,J$2)&\":\"&MIN($E32,EOMONTH(J$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,J$2)&\":\"&MIN($E32,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,J$2)&\":\"&MIN($E32,EOMONTH(J$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(K$2,0),$E32>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,K$2)&\":\"&MIN($E32,EOMONTH(K$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,K$2)&\":\"&MIN($E32,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,K$2)&\":\"&MIN($E32,EOMONTH(K$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(L$2,0),$E32>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,L$2)&\":\"&MIN($E32,EOMONTH(L$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,L$2)&\":\"&MIN($E32,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,L$2)&\":\"&MIN($E32,EOMONTH(L$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(M$2,0),$E32>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,M$2)&\":\"&MIN($E32,EOMONTH(M$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,M$2)&\":\"&MIN($E32,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,M$2)&\":\"&MIN($E32,EOMONTH(M$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(N$2,0),$E32>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,N$2)&\":\"&MIN($E32,EOMONTH(N$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,N$2)&\":\"&MIN($E32,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,N$2)&\":\"&MIN($E32,EOMONTH(N$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(O$2,0),$E32>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,O$2)&\":\"&MIN($E32,EOMONTH(O$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,O$2)&\":\"&MIN($E32,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,O$2)&\":\"&MIN($E32,EOMONTH(O$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(P$2,0),$E32>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,P$2)&\":\"&MIN($E32,EOMONTH(P$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,P$2)&\":\"&MIN($E32,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,P$2)&\":\"&MIN($E32,EOMONTH(P$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(Q$2,0),$E32>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,Q$2)&\":\"&MIN($E32,EOMONTH(Q$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,Q$2)&\":\"&MIN($E32,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,Q$2)&\":\"&MIN($E32,EOMONTH(Q$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(R$2,0),$E32>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,R$2)&\":\"&MIN($E32,EOMONTH(R$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,R$2)&\":\"&MIN($E32,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,R$2)&\":\"&MIN($E32,EOMONTH(R$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(S$2,0),$E32>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,S$2)&\":\"&MIN($E32,EOMONTH(S$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,S$2)&\":\"&MIN($E32,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,S$2)&\":\"&MIN($E32,EOMONTH(S$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(H$2,0),$E32>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,H$2)&\":\"&MIN($E32,EOMONTH(H$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,H$2)&\":\"&MIN($E32,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,H$2)&\":\"&MIN($E32,EOMONTH(H$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(I$2,0),$E32>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,I$2)&\":\"&MIN($E32,EOMONTH(I$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,I$2)&\":\"&MIN($E32,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,I$2)&\":\"&MIN($E32,EOMONTH(I$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(J$2,0),$E32>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,J$2)&\":\"&MIN($E32,EOMONTH(J$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,J$2)&\":\"&MIN($E32,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,J$2)&\":\"&MIN($E32,EOMONTH(J$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(K$2,0),$E32>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,K$2)&\":\"&MIN($E32,EOMONTH(K$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,K$2)&\":\"&MIN($E32,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,K$2)&\":\"&MIN($E32,EOMONTH(K$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(L$2,0),$E32>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,L$2)&\":\"&MIN($E32,EOMONTH(L$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,L$2)&\":\"&MIN($E32,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,L$2)&\":\"&MIN($E32,EOMONTH(L$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(M$2,0),$E32>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,M$2)&\":\"&MIN($E32,EOMONTH(M$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,M$2)&\":\"&MIN($E32,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,M$2)&\":\"&MIN($E32,EOMONTH(M$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(N$2,0),$E32>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,N$2)&\":\"&MIN($E32,EOMONTH(N$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,N$2)&\":\"&MIN($E32,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,N$2)&\":\"&MIN($E32,EOMONTH(N$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(O$2,0),$E32>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,O$2)&\":\"&MIN($E32,EOMONTH(O$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,O$2)&\":\"&MIN($E32,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,O$2)&\":\"&MIN($E32,EOMONTH(O$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(P$2,0),$E32>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,P$2)&\":\"&MIN($E32,EOMONTH(P$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,P$2)&\":\"&MIN($E32,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,P$2)&\":\"&MIN($E32,EOMONTH(P$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(Q$2,0),$E32>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,Q$2)&\":\"&MIN($E32,EOMONTH(Q$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,Q$2)&\":\"&MIN($E32,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,Q$2)&\":\"&MIN($E32,EOMONTH(Q$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(R$2,0),$E32>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,R$2)&\":\"&MIN($E32,EOMONTH(R$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,R$2)&\":\"&MIN($E32,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,R$2)&\":\"&MIN($E32,EOMONTH(R$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0},{"$f":"IF($D32<>\"\",IF(AND($D32<=EOMONTH(S$2,0),$E32>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D32,S$2)&\":\"&MIN($E32,EOMONTH(S$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A32,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D32,S$2)&\":\"&MIN($E32,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D32,S$2)&\":\"&MIN($E32,EOMONTH(S$2,0)))))=MATCH($F32,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G32,0)","v":0}]
[null,null,null,null,null,null,null,{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(H$2,0),$E33>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,H$2)&\":\"&MIN($E33,EOMONTH(H$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,H$2)&\":\"&MIN($E33,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,H$2)&\":\"&MIN($E33,EOMONTH(H$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(I$2,0),$E33>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,I$2)&\":\"&MIN($E33,EOMONTH(I$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,I$2)&\":\"&MIN($E33,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,I$2)&\":\"&MIN($E33,EOMONTH(I$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(J$2,0),$E33>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,J$2)&\":\"&MIN($E33,EOMONTH(J$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,J$2)&\":\"&MIN($E33,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,J$2)&\":\"&MIN($E33,EOMONTH(J$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(K$2,0),$E33>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,K$2)&\":\"&MIN($E33,EOMONTH(K$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,K$2)&\":\"&MIN($E33,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,K$2)&\":\"&MIN($E33,EOMONTH(K$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(L$2,0),$E33>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,L$2)&\":\"&MIN($E33,EOMONTH(L$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,L$2)&\":\"&MIN($E33,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,L$2)&\":\"&MIN($E33,EOMONTH(L$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(M$2,0),$E33>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,M$2)&\":\"&MIN($E33,EOMONTH(M$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,M$2)&\":\"&MIN($E33,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,M$2)&\":\"&MIN($E33,EOMONTH(M$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(N$2,0),$E33>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,N$2)&\":\"&MIN($E33,EOMONTH(N$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,N$2)&\":\"&MIN($E33,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,N$2)&\":\"&MIN($E33,EOMONTH(N$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(O$2,0),$E33>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,O$2)&\":\"&MIN($E33,EOMONTH(O$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,O$2)&\":\"&MIN($E33,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,O$2)&\":\"&MIN($E33,EOMONTH(O$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(P$2,0),$E33>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,P$2)&\":\"&MIN($E33,EOMONTH(P$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,P$2)&\":\"&MIN($E33,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,P$2)&\":\"&MIN($E33,EOMONTH(P$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(Q$2,0),$E33>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,Q$2)&\":\"&MIN($E33,EOMONTH(Q$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,Q$2)&\":\"&MIN($E33,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,Q$2)&\":\"&MIN($E33,EOMONTH(Q$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(R$2,0),$E33>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,R$2)&\":\"&MIN($E33,EOMONTH(R$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,R$2)&\":\"&MIN($E33,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,R$2)&\":\"&MIN($E33,EOMONTH(R$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(S$2,0),$E33>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,S$2)&\":\"&MIN($E33,EOMONTH(S$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,S$2)&\":\"&MIN($E33,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,S$2)&\":\"&MIN($E33,EOMONTH(S$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,2,FALSE)*$B33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(H$2,0),$E33>=H$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,H$2)&\":\"&MIN($E33,EOMONTH(H$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,H$2)&\":\"&MIN($E33,EOMONTH(H$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,H$2)&\":\"&MIN($E33,EOMONTH(H$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(I$2,0),$E33>=I$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,I$2)&\":\"&MIN($E33,EOMONTH(I$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,I$2)&\":\"&MIN($E33,EOMONTH(I$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,I$2)&\":\"&MIN($E33,EOMONTH(I$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(J$2,0),$E33>=J$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,J$2)&\":\"&MIN($E33,EOMONTH(J$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,J$2)&\":\"&MIN($E33,EOMONTH(J$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,J$2)&\":\"&MIN($E33,EOMONTH(J$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(K$2,0),$E33>=K$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,K$2)&\":\"&MIN($E33,EOMONTH(K$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,K$2)&\":\"&MIN($E33,EOMONTH(K$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,K$2)&\":\"&MIN($E33,EOMONTH(K$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(L$2,0),$E33>=L$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,L$2)&\":\"&MIN($E33,EOMONTH(L$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,L$2)&\":\"&MIN($E33,EOMONTH(L$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,L$2)&\":\"&MIN($E33,EOMONTH(L$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(M$2,0),$E33>=M$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,M$2)&\":\"&MIN($E33,EOMONTH(M$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,M$2)&\":\"&MIN($E33,EOMONTH(M$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,M$2)&\":\"&MIN($E33,EOMONTH(M$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(N$2,0),$E33>=N$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,N$2)&\":\"&MIN($E33,EOMONTH(N$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,N$2)&\":\"&MIN($E33,EOMONTH(N$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,N$2)&\":\"&MIN($E33,EOMONTH(N$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(O$2,0),$E33>=O$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,O$2)&\":\"&MIN($E33,EOMONTH(O$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,O$2)&\":\"&MIN($E33,EOMONTH(O$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,O$2)&\":\"&MIN($E33,EOMONTH(O$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(P$2,0),$E33>=P$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,P$2)&\":\"&MIN($E33,EOMONTH(P$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,P$2)&\":\"&MIN($E33,EOMONTH(P$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,P$2)&\":\"&MIN($E33,EOMONTH(P$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(Q$2,0),$E33>=Q$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,Q$2)&\":\"&MIN($E33,EOMONTH(Q$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,Q$2)&\":\"&MIN($E33,EOMONTH(Q$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,Q$2)&\":\"&MIN($E33,EOMONTH(Q$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(R$2,0),$E33>=R$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,R$2)&\":\"&MIN($E33,EOMONTH(R$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,R$2)&\":\"&MIN($E33,EOMONTH(R$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,R$2)&\":\"&MIN($E33,EOMONTH(R$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0},{"$f":"IF($D33<>\"\",IF(AND($D33<=EOMONTH(S$2,0),$E33>=S$2),SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(MAX($D33,S$2)&\":\"&MIN($E33,EOMONTH(S$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0)))-SUMPRODUCT(--COUNTIF(INDIRECT(\"Kenttätiedot!\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"6:\"&HLOOKUP($A33,Kenttätiedot!$B$3:$Q$5,3,FALSE)&\"300\"),ROW(INDIRECT(MAX($D33,S$2)&\":\"&MIN($E33,EOMONTH(S$2,0)))))*(WEEKDAY(ROW(INDIRECT(MAX($D33,S$2)&\":\"&MIN($E33,EOMONTH(S$2,0)))))=MATCH($F33,{\"Su\";\"Ma\";\"Ti\";\"Ke\";\"To\";\"Pe\";\"La\"},0))),0)*$G33,0)","v":0}]

{"sheet":"Ottelut","index":3,"n_rows":20,"n_cols":19,"rows_kept":20,"cut":false,"hidden":false,"merged":[[21,0,21,1],[15,2,15,6],[16,2,16,6],[17,2,17,6],[18,2,18,6],[19,2,19,6],[20,2,20,6],[21,2,21,6],[15,0,15,1],[16,0,16,1],[17,0,17,1],[18,0,18,1],[19,0,19,1],[20,0,20,1],[12,0,12,1],[12,2,12,6],[14,2,14,6],[14,0,14,1],[13,0,13,1],[13,2,13,6],[0,0,0,2],[10,0,10,1],[10,2,10,6],[11,0,11,1],[11,2,11,6],[9,2,9,6],[9,0,9,1],[3,1,3,5],[4,1,4,5],[6,1,6,5],[5,1,5,5]]}
["Joukkueen kokonaistulostulos nykytiedoilla:",null,null,{"$f":"Budjetti!F150","v":-1310}]
[null,null,null,null,null,null,"Yhteensä",{"$f":"Asetukset!B2","v":"2022-11-01"},{"$f":"EDATE(H2,1)","v":"2022-12-01"},{"$f":"EDATE(I2,1)","v":"2023-01-01"},"2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Ottelukulut yhteensä",null,null,null,null,null,{"$f":"SUM(G4:G8)","v":-240},{"$f":"SUM(H4:H8)","v":0},{"$f":"SUM(I4:I8)","v":0},-120,0,-120,0,0,0,0,0,0,0]
["Ottelumaksut","4004 Kenttävuokrat",null,null,null,null,{"$f":"SUM(H4:S4)","v":-200},{"$f":"-H11+H13","v":0},null,{"$f":"-J11+J13","v":-100},0,-100,0,0,0,0,0,0,0]
["Tuomarimaksut","4015 Erotuomarimaksut",null,null,null,null,{"$f":"SUM(H5:S5)","v":-40},{"$f":"-H12","v":0},{"$f":"-I12","v":0},-20,0,-20,0,0,0,0,0,0,0]
["Sarjamaksut","4014 Kilpailukulut",null,null,null,null,{"$f":"SUM(H6:S6)","v":0},{"$f":"-H15","v":0},{"$f":"-I15","v":0},0,0,0,0,0,0,0,0,0,0]
["Matkaottelukulut","4018 Matkaottelukulut",null,null,null,null,{"$f":"SUM(H7:S7)","v":0},{"$f":"-SUM(H18:H20)","v":0},{"$f":"-SUM(I18:I20)","v":0},0,0,0,0,0,0,0,0,0,0]
[null,null,null,null,null,null,{"$f":"SUM($B11:$B12)","v":0},{"$f":"SUM($B11:$B12)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["É  Syötettävät arvot",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Ê"]
["Harjoituspelit",null,"Merkintätapa",null,null,null,null,{"$f":"H2","v":"2022-11-01"},{"$f":"I2","v":"2022-12-01"},"2023-01-01","2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Vuoromaksut",null,"Kuukauden arvio kuluista yhteensä",null,null,null,null,null,null,100,null,100]
["Tuomarimaksut",null,"Kuukauden arvio kuluista yhteensä",null,null,null,null,null,null,20,0,20,0,0,0,null,0,0,0]
["Veloitukset vastustajilta",null,"Kuukauden arvio perittävistä kuluista"]
[]
["Sarjamaksut (esim.futsal-sarja)",null,"Kuukauden arvio kuluista yhteensä"]
[]
["Matkaottelukulut"]
["Kuljetus",null,"Kuukauden arvio kuluista yhteensä"]
["Muonitus",null,"Kuukauden arvio kuluista yhteensä"]
["Yöpyminen",null,"Kuukauden arvio kuluista yhteensä"]

{"sheet":"Turnaukset","index":4,"n_rows":14,"n_cols":19,"rows_kept":14,"cut":false,"hidden":false,"merged":[[0,0,0,2],[3,1,3,5],[4,1,4,5],[7,0,7,1],[7,2,7,6],[8,0,8,1],[8,2,8,6],[9,2,9,6],[10,0,10,1],[10,2,10,6],[9,0,9,1],[11,0,11,1],[11,2,11,6],[12,0,12,1],[12,2,12,6],[13,0,13,1],[13,2,13,6]]}
["Joukkueen kokonaistulostulos nykytiedoilla:",null,null,{"$f":"Budjetti!F150","v":-1310}]
[null,null,null,null,null,null,"Yhteensä",{"$f":"Asetukset!B2","v":"2022-11-01"},{"$f":"EDATE(H2,1)","v":"2022-12-01"},{"$f":"EDATE(I2,1)","v":"2023-01-01"},"2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Turnauskulut yhteensä",null,null,null,null,null,{"$f":"SUM(G4:G6)","v":0},0,0,0,0,0,0,0,0,0,0,0,0]
["Turnauskulut","4013 Turnausten osallistumiskulut",null,null,null,null,{"$f":"SUM(H4:S4)","v":0},{"$f":"-SUM(H9:H140)","v":0},0,0,0,0,0,0,0,0,0,0,0]
[null,null,null,null,null,null,{"$f":"SUM(H5:S5)","v":0}]
[null,null,null,null,null,null,{"$f":"SUM($B9:$B10)","v":0},{"$f":"SUM($B9:$B10)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["É  Syötettävät arvot",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Ê"]
[null,null,"Merkintätapa",null,null,null,null,{"$f":"H2","v":"2022-11-01"},{"$f":"I2","v":"2022-12-01"},"2023-01-01","2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Turnaukset",null,"Korvaa otsikko turnauksen nimellä"]
["Osallistumismaksut",null,"Kulut merkitään maksukuukaudelle",null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0]
["Kuljetus",null,"Kulut merkitään maksukuukaudelle"]
["Muonitus",null,"Kulut merkitään maksukuukaudelle"]
["Yöpyminen",null,"Kulut merkitään maksukuukaudelle"]
["Muut kulut",null,"Kulut merkitään maksukuukaudelle"]

{"sheet":"Hankinnat","index":5,"n_rows":9,"n_cols":19,"rows_kept":9,"cut":false,"hidden":false,"merged":[[37,2,37,6],[38,2,38,6],[34,2,34,6],[35,2,35,6],[36,2,36,6],[31,2,31,6],[32,2,32,6],[33,2,33,6],[28,2,28,6],[29,2,29,6],[30,2,30,6],[25,2,25,6],[26,2,26,6],[27,2,27,6],[24,2,24,6],[0,0,0,2]]}
["Joukkueen kokonaistulostulos nykytiedoilla:",null,null,{"$f":"Budjetti!F150","v":-1310}]
[null,null,null,null,null,null,"Yhteensä",{"$f":"Asetukset!B2","v":"2022-11-01"},{"$f":"EDATE(H2,1)","v":"2022-12-01"},{"$f":"EDATE(I2,1)","v":"2023-01-01"},"2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Hankinnat yhteensä",null,null,null,null,null,{"$f":"SUM(H3:S3)","v":-400},{"$f":"-SUM(H5:H44)","v":-200},-200,0,0,0,0,0,0,0,0,0,0]
["É  Syötettävät arvot",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Ê"]
["Lääkintä- ja huoltovarusteet","4021 Muut varuste- ja huoltotarvikehankinnat",null,null,null,null,{"$f":"SUM(H5:S5)","v":200},200,null,{"$f":"-SUM(J25:J204)","v":0},0,0,0,0,0,0,0,0,0]
["Taustojen asusteet","4020 Pelivarustehankinnat",null,null,null,null,{"$f":"SUM(H6:S6)","v":0}]
["Viirit","4014 Kilpailukulut",null,null,null,null,200,null,200]
["Pelaajien kannustus / palkinnot","4011 Pelaajakehityskulut",null,null,null,null,0]
["Joukkueen tapahtumien kulut","8700 Seuran tai joukkueen tapahtumat",null,null,null,null,0]

{"sheet":"Varainhankinta","index":6,"n_rows":15,"n_cols":19,"rows_kept":15,"cut":false,"hidden":false,"merged":[[39,2,39,6],[40,2,40,6],[41,2,41,6],[42,2,42,6],[14,1,14,5],[33,2,33,6],[34,2,34,6],[35,2,35,6],[36,2,36,6],[37,2,37,6],[38,2,38,6],[32,2,32,6],[0,0,0,2],[28,2,28,6],[29,2,29,6],[30,2,30,6],[31,2,31,6],[12,1,12,5],[5,1,5,5],[6,1,6,5],[8,1,8,5],[9,1,9,5],[11,1,11,5]]}
["Joukkueen kokonaistulostulos nykytiedoilla:",null,null,{"$f":"Budjetti!F150","v":-1310}]
[null,null,null,null,null,null,"Yhteensä",{"$f":"Asetukset!B2","v":"2022-11-01"},{"$f":"EDATE(H2,1)","v":"2022-12-01"},{"$f":"EDATE(I2,1)","v":"2023-01-01"},"2023-02-01","2023-03-01","2023-04-01","2023-05-01","2023-06-01","2023-07-01","2023-08-01","2023-09-01","2023-10-01"]
["Varainhankinta yhteensä",null,null,null,null,null,{"$f":"G6-G7+G9-G10+G12-G13+G15","v":0},{"$f":"H6-H7+H9-H10+H12-H13+H15","v":0},{"$f":"I6-I7+I9-I10+I12-I13+I15","v":0},0,0,0,0,0,0,0,0,0,0]
["É  Syötettävät arvot",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Ê"]
["Talkootyö",null,null,null,null,null,{"$f":"SUM(H5:S5)","v":0},{"$f":"-SUM(H29:H208)","v":0},0,0,0,0,0,0,0,0,0,0,0]
["Tuotot","9017 Talkootyötuotot",null,null,null,null,{"$f":"SUM(H6:S6)","v":0}]
["Kulut","9058 Talkootyökulut",null,null,null,null,{"$f":"SUM(H7:S7)","v":0}]
["Buffat"]
["Tuotot","9016 Buffa- ja myyjäistuotot"]
["Kulut","9057 Buffa- ja myyjäiskulut"]
["Tuotemyynti"]
["Tuotot","9016 Buffa- ja myyjäistuotot",null,null,null,null,{"$f":"SUM(H12:S12)","v":0}]
["Kulut","9057 Buffa- ja myyjäiskulut",null,null,null,null,0]
["Yhteistyökumppanit/sponsorit"]
["Tuotot","9045 Saadut yhteistyökumppaneiden tukimaksut",null,null,null,null,0]

{"sheet":"Asetukset","index":7,"n_rows":129,"n_cols":6,"rows_kept":129,"cut":false,"hidden":false,"merged":[]}
[]
["Tilivuosi alkaa","2022-11-01",null,"Kustannuspaikat:",null,"Tilit:"]
[null,null,null,"1 Seuratoiminnot",null,"3000 Saadut toimintamaksut"]
[null,null,null,"2 Seurapalvelut",null,"3001 Saadut lisenssi- ja vakuutusmaksut"]
[null,null,null,"3 Harrastetoiminta",null,"3002 Saadut valmennusmaksut"]
[null,null,null,"4 Jalkapallokoulu",null,"3003 Saadut kenttävuoromaksut"]
[null,null,null,"5 Leirit",null,"3004 Saadut koulutus- ja testaustoiminnan maksut"]
[null,null,null,"6 Palvelut",null,"3005 Saadut pelaajakehitystoiminnan maksut"]
[null,null,null,null,null,"3006 Saadut kilpailutoiminnan maksut"]
["Seuran valmennusmaksu",17,null,null,null,"3007 Saadut turnausten osallistumismaksut"]
[null,null,null,null,null,"3008 Saadut maksut muusta toiminnasta"]
[null,null,null,null,null,"3009 Saadut varustemaksut"]
[null,null,null,null,null,"3020 Kilpailutuotot"]
[null,null,null,null,null,"3030 Saadut siirtomaksut ja kasvattajaraha"]
[null,null,null,null,null,"3080 Saadut urheilutoiminnan tuet"]
[null,null,null,null,null,"3081 Saadut urheilutoiminnan palkkatuet"]
[null,null,null,null,null,"3090 Muut seuran urheilutoiminnan tuotot"]
[null,null,null,null,null,"4000 Lisenssi- ja vakuutusmaksut"]
[null,null,null,null,null,"4001 Siirtomaksut"]
[null,null,null,null,null,"4002 Pelaajien lääkärikulut"]
[null,null,null,null,null,"4003 Pelaajien fysiikaalinen hoito ja hieronta"]
[null,null,null,null,null,"4004 Kenttävuokrat"]
[null,null,null,null,null,"4005 Ostetut valmennuspalvelut"]
[null,null,null,null,null,"4006 Valmennuksen päivärahat ja ateriakorvaukset"]
[null,null,null,null,null,"4007 Valmennuksen km-korvaukset"]
[null,null,null,null,null,"4008 Muut ostetut urheilutoiminnan palvelut"]
[null,null,null,null,null,"4009 Koulutus- ja testaustoiminnan kulut"]
[null,null,null,null,null,"4010 Ostetut koulutuspalvelut"]
[null,null,null,null,null,"4011 Pelaajakehityskulut"]
[null,null,null,null,null,"4012 Leirityskulut"]
[null,null,null,null,null,"4013 Turnausten osallistumiskulut"]
[null,null,null,null,null,"4014 Kilpailukulut"]
[null,null,null,null,null,"4015 Erotuomarimaksut"]
[null,null,null,null,null,"4016 Erotuomareiden päivärahat ja ateriakorvaukset"]
[null,null,null,null,null,"4017 Erotuomareiden km-korvaukset"]
[null,null,null,null,null,"4018 Matkaottelukulut"]
[null,null,null,null,null,"4019 Muut matkakulut"]
[null,null,null,null,null,"4020 Pelivarustehankinnat"]
[null,null,null,null,null,"4021 Muut varuste- ja huoltotarvikehankinnat"]
[null,null,null,null,null,"4050 Muut seuran urheilutoiminnan kulut"]
[null,null,null,null,null,"3100 Valmennuspalveluiden tuotot"]
[null,null,null,null,null,"3101 Koulutus- ja testauspalveluiden tuotot"]
[null,null,null,null,null,"3102 Turnausten osallistumismaksutuotot"]
[null,null,null,null,null,"3103 Turnausten oheispalveluiden tuotot"]
[null,null,null,null,null,"3104 Leiritoiminnan tuotot"]
[null,null,null,null,null,"3105 Kerhotoiminnan tuotot"]
[null,null,null,null,null,"3106 Harrastetapahtumien tuotot"]
[null,null,null,null,null,"3107 Kuntosalin tuotot"]
[null,null,null,null,null,"3180 Saadut palvelutoiminnan tuet"]
[null,null,null,null,null,"3190 Muut urheilupalveluiden tuotot"]
[null,null,null,null,null,"4051 Koulutus- ja testauspalveluiden kulut"]
[null,null,null,null,null,"4052 Valmennuspalveluiden kulut"]
[null,null,null,null,null,"4053 Turnausten järjestämiskulut"]
[null,null,null,null,null,"4054 Leiritoiminnan kulut"]
[null,null,null,null,null,"4055 Kerhotoiminnan yleiset kulut"]
[null,null,null,null,null,"4056 Kerhotoiminnan ruokailukulut"]
[null,null,null,null,null,"4057 Harrastetapahtumien kulut"]
[null,null,null,null,null,"4058 Kuntosalin kulut"]
[null,null,null,null,null,"4070 Muut urheilupalveluiden kulut"]
[null,null,null,null,null,"3200 Saadut hallinnon tuet"]
[null,null,null,null,null,"3201 Saadut maksut seuran tai joukkueen tapahtumista"]
[null,null,null,null,null,"3240 Muut hallinnon tuotot"]
[null,null,null,null,null,"7000 Henkilöstön koulutuskulut"]
[null,null,null,null,null,"7001 Työterveyshuollon kulut"]
[null,null,null,null,null,"7002 Lahjat ja muistamiset"]
[null,null,null,null,null,"7003 Muut henkilöstökulut"]
[null,null,null,null,null,"7200 Tilavuokrat"]
[null,null,null,null,null,"7640 Ohjelmistokulut"]
[null,null,null,null,null,"7710 Laitevuokrat"]
[null,null,null,null,null,"7711 IT-laitevuokrakulut"]
[null,null,null,null,null,"7712 Muut vuokrat"]
[null,null,null,null,null,"7713 IT-laitehankintakulut"]
[null,null,null,null,null,"7714 IT-ylläpito- ja huoltokulut"]
[null,null,null,null,null,"7790 Muut kone- ja kalustokulut"]
[null,null,null,null,null,"7800 Muut matkakulut"]
[null,null,null,null,null,"7801 Päivärahat ja ateriakorvaukset"]
[null,null,null,null,null,"7802 Km-korvaukset"]
[null,null,null,null,null,"8050 Mainos- ja markkinointikulut"]
[null,null,null,null,null,"8370 Taloushallintopalvelut"]
[null,null,null,null,null,"8371 Muut ostetut palvelut"]
[null,null,null,null,null,"8451 Neuvottelukulut"]
[null,null,null,null,null,"8452 Jäsenmaksut"]
[null,null,null,null,null,"8453 Vakuutusmaksut"]
[null,null,null,null,null,"8454 Puhelin- ja tietoliikennekulut"]
[null,null,null,null,null,"8455 Toimistokulut"]
[null,null,null,null,null,"8456 Pankkikulut"]
[null,null,null,null,null,"8600 Muut kulut"]
[null,null,null,null,null,"8700 Seuran tai joukkueen tapahtumat"]
[null,null,null,null,null,"5000 Tuntipalkat"]
[null,null,null,null,null,"5001 Kuukausipalkat"]
[null,null,null,null,null,"5100 Lisät ja korvaukset"]
[null,null,null,null,null,"5200 Palkat ja palkkiot"]
[null,null,null,null,null,"5201 Tulospalkkiot"]
[null,null,null,null,null,"5202 Pelaajien tulospalkkiot"]
[null,null,null,null,null,"5203 Valmennuspalkkiot"]
[null,null,null,null,null,"5204 Erotuomaripalkkiot"]
[null,null,null,null,null,"5300 Loma-ajan ja sosiaalipalkat"]
[null,null,null,null,null,"5400 Luontoisedut"]
[null,null,null,null,null,"5469 Saadut korvaukset palkoista"]
[null,null,null,null,null,"5470 Saadut palkkatuet"]
[null,null,null,null,null,"5471 Lomapalkka ja lomarahajaksotuksen muutos"]
[null,null,null,null,null,"5990 Luontoisetujen vastatili"]
[null,null,null,null,null,"6000 TyEL-vakuutusmaksut"]
[null,null,null,null,null,"6300 Sosiaaliturvamaksut"]
[null,null,null,null,null,"6400 Työttömyysvakuutusmaksut"]
[null,null,null,null,null,"6402 Tapaturma- ja ryhmähenkivakuutusmaksut"]
[null,null,null,null,null,"9006 Seura- ja fanituotemyynnin tuotot"]
[null,null,null,null,null,"9016 Buffa- ja myyjäistuotot"]
[null,null,null,null,null,"9017 Talkootyötuotot"]
[null,null,null,null,null,"9026 Mainosmyyntituotot"]
[null,null,null,null,null,"9036 Jäsenmaksutuotot"]
[null,null,null,null,null,"9037 Olosuhdemaksutuotot"]
[null,null,null,null,null,"9045 Saadut yhteistyökumppaneiden tukimaksut"]
[null,null,null,null,null,"9046 Muut varainhankinnan tuotot"]
[null,null,null,null,null,"9056 Seura- ja fanituotemyynnin kulut"]
[null,null,null,null,null,"9057 Buffa- ja myyjäiskulut"]
[null,null,null,null,null,"9058 Talkootyökulut"]
[null,null,null,null,null,"9059 Mainosmyyntikulut"]
[null,null,null,null,null,"9060 Jäsenmaksukulut"]
[null,null,null,null,null,"9086 Muut varainhankinnan kulut"]
[null,null,null,null,null,"9090 Osinkotuotot"]
[null,null,null,null,null,"9106 Korkotuotot"]
[null,null,null,null,null,"9110 Vuokratuotot"]
[null,null,null,null,null,"9160 Muut rahoitustuotot"]
[null,null,null,null,null,"9440 Korkokulut"]
[null,null,null,null,null,"9446 Muut rahoituskulut"]
[null,null,null,null,null,"9756 Perusavustus"]
[null,null,null,null,null,"9757 Vuokra-avustus"]
[null,null,null,null,null,"9758 Koulutusavustus"]

{"sheet":"Kenttätiedot","index":8,"n_rows":30,"n_cols":15,"rows_kept":30,"cut":false,"hidden":false,"merged":[]}
[]
[]
[null,"Myntinsyrjä","Laaksolahden halli","Ulkotekonurmi","Koulusali"]
["Täyden kentän hinta",190,200,40,10]
["älä kirjoita tälle riville","B","C","D","E","F","G","H","I","J","K","L","M","N","O"]
["Suljetut päivät","2022-12-06","2022-12-06","2022-12-06","2022-12-06"]
[null,"2022-12-23","2022-12-23","2022-12-23","2022-12-23"]
[null,"2022-12-24","2022-12-24","2022-12-24","2022-12-24"]
[null,"2022-12-25","2022-12-25","2022-12-25","2022-12-25"]
[null,"2022-12-26","2022-12-26","2022-12-26","2022-12-26"]
[null,"2022-12-31","2022-12-31","2022-12-31","2022-12-31"]
[null,"2023-01-01","2023-01-01","2023-01-01","2023-01-01"]
[null,"2023-02-20","2023-01-06","2023-04-07","2023-01-02"]
[null,"2023-02-21","2023-04-07","2023-04-08","2023-01-03"]
[null,"2023-02-22","2023-04-08","2023-04-09","2023-01-04"]
[null,"2023-02-23","2023-04-09","2023-04-10","2023-01-05"]
[null,"2023-02-24","2023-04-10","2023-06-23","2023-01-06"]
[null,"2023-02-25",null,"2023-06-24","2023-01-07"]
[null,"2023-02-26",null,"2023-06-25","2023-01-08"]
[null,"2023-04-07",null,null,"2023-02-20"]
[null,"2023-04-08",null,null,"2023-02-21"]
[null,"2023-04-09",null,null,"2023-02-22"]
[null,"2023-04-10",null,null,"2023-02-23"]
[null,null,null,null,"2023-02-24"]
[null,null,null,null,"2023-02-25"]
[null,null,null,null,"2023-02-26"]
[null,null,null,null,"2023-04-07"]
[null,null,null,null,"2023-04-08"]
[null,null,null,null,"2023-04-09"]
[null,null,null,null,"2023-04-10"]