Unlucky
Board Regular
- Joined
- Dec 3, 2014
- Messages
- 58
- Office Version
- 2016
- Platform
- Windows
I cannot get the formula to count the number of occurrences with three criteria. I've tried COUNTIFS, SUMIFS, SUMPRODUCT, and INDEX & MATCH, but without satisfactory results. The object is to count the number of occurrences each month for DD250 on each program.
This is only a portion of the actual table, but the concept is discernable.
This is only a portion of the actual table, but the concept is discernable.
Cell Formulas | ||
---|---|---|
Range | Formula | |
N2:N52 | N2 | =TEXT($M2,"MMM-YY") |
C1 | C1 | =DATE(YEAR($C$2),MONTH($C$2)-1,1) |
C2 | C2 | =TODAY() |
C3 | C3 | =DATE(YEAR($C$2),MONTH($C$2)+1,1) |
J1 | J1 | =TEXT($C$1,"MMMM") |
J2 | J2 | =TEXT($C$2,"MMMM") |
J3 | J3 | =TEXT($C$3,"MMMM") |
M3:M12 | M3 | ='[Quality Workload tracker 2022 v2.xlsx]WLT'!$A3 |
O3:O52 | O3 | ='[Quality Workload tracker 2022 v2.xlsx]WLT'!$X3 |
P52,P49,P47,P44,P32:P42,P30,P28,P21:P25,P14:P17,P9:P12,P3:P5 | P3 | ='[Quality Workload tracker 2022 v2.xlsx]WLT'!$AB3 |
A6:A17 | A6 | =$H6&"-"&$I$6 |
B6:F29 | B6 | =COUNTIFS($N$2:$N$52,$A6,$O$2:$O$52,B$5,$P$2:$P$52,$K$5) |
A18:A29 | A18 | =$H6&"-"&$I$7 |
K6 | K6 | =COUNTIF($P$2:$P$52,$K$5) |