I have sheet1 that looks like this:
and sheet2 looks like this:
ColA: =UNIQUE(ARRAY_CONSTRAIN({"Week/Year";arrayformula(IF(ISBLANK(Sheet1!A$2:A);"";CONCAT(CONCAT(WEEKNUM(Sheet1!A$2:A;2);"/");TEXT(Sheet1!A$2:A;"YY"))))};COUNTA(Sheet1!A$2:A);1))
ColB: =SUM(FILTER(Sheet1!B$2:B; ARRAYFORMULA(WEEKNUM(Sheet1!A$2:A;2)=index(SPLIT(A2;"/");0;1)))) <--I need help here
A chart is built on the basis of sheet2:
I need to get the sum of values from column B if the week number and year are the same as column A (Column A is date format dd.mm.yyyy). I managed to filter the amount by week number, but I can't add a second check for the year. Please help me, I've already tried everything.
Sheet example: https://docs.google.com/spreadsheets/d/1XjJLOC5NHZwKirxbxZQzPAzpU8nCvhNs2_M323rZf3U/edit?usp=sharing
https://docs.google.com/spreadsheets/d/1XjJLOC5NHZwKirxbxZQzPAzpU8nCvhNs2_M323rZf3U/edit#gid=1634886610&range=F1
- Aresvik