Hi everyone,
i have function that counts based on week, year and another criteria.
=SUMPRODUCT(--(WEEKNUM(Table1[Date]+0,21)=[@Week]),--(YEAR(Table1[Date]+0)=[@Year]),--ISNUMBER(SEARCH("BBB",Table1[Items]))).
Is it possible to have this formula ignore rows that has text in column A, between the dates?
The formula currently returns #VALUE!.
i have function that counts based on week, year and another criteria.
=SUMPRODUCT(--(WEEKNUM(Table1[Date]+0,21)=[@Week]),--(YEAR(Table1[Date]+0)=[@Year]),--ISNUMBER(SEARCH("BBB",Table1[Items]))).
Is it possible to have this formula ignore rows that has text in column A, between the dates?
The formula currently returns #VALUE!.
Book1.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Item | Date | |||
2 | BBB | 25.01.2021 | |||
3 | BBB | 28.01.2021 | |||
4 | BBB | 07.02.2021 | |||
5 | AAA | 08.02.2021 | |||
6 | BBB | NA | |||
7 | BBB | 10.02.2021 | |||
8 | |||||
9 | |||||
10 | |||||
11 | |||||
12 | Year | Week | Meas. Supports | ||
13 | 2021 | 01 | #VALUE! | ||
14 | 2021 | 02 | #VALUE! | ||
15 | 2021 | 03 | #VALUE! | ||
16 | 2021 | 04 | #VALUE! | ||
17 | 2021 | 05 | #VALUE! | ||
18 | 2021 | 06 | #VALUE! | ||
19 | 2021 | 07 | #VALUE! | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C13 | C13 | =SUMPRODUCT(--(WEEKNUM(Table2[Date]+0,21)=[@Week]),--(YEAR(Table2[Date]+0)=[@Year]),--ISNUMBER(SEARCH("BBB",Table2[Item]))) |
C14:C19 | C14 | =SUMPRODUCT(--(WEEKNUM($B$2:$B$7+0,21)=[@Week]),--(YEAR($B$2:$B$7+0)=[@Year]),--ISNUMBER(SEARCH("BBB",A2:A7))) |