Iam trying to calculate the sum of QTY mentioned as per week start and week end dates , but for some reason it is not reading the qty if the dates are outside of the range. Please see the highlighted cells as an example. Can you please tell how to fix this. Thank you so much in advance
05. CPB QMR (Remeasure) 09-Nov-23.xlsb | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
X | Y | Z | AA | AB | AC | AD | AE | |||
3 | Start | FINISH | Qty | Unit | Wire&Cabl - Terminations | |||||
43 | 25/10/2023 | 5/01/2024 | 2 | EA | Week Start | Week Finish | Raceway | |||
44 | 25/10/2023 | 5/01/2024 | 2 | EA | 6/10/2023 | 13-Oct-23 | 344 | |||
45 | 25/10/2023 | 5/01/2024 | 1 | EA | 13/10/2023 | 20-Oct-23 | 585 | |||
46 | 25/10/2023 | 5/01/2024 | 1 | EA | 20/10/2023 | 27-Oct-23 | 0 | |||
47 | 25/10/2023 | 5/01/2024 | 2 | EA | 27/10/2023 | 3-Nov-23 | 0 | |||
48 | 25/10/2023 | 5/01/2024 | 1 | EA | 3/11/2023 | 10-Nov-23 | 0 | |||
49 | 25/10/2023 | 5/01/2024 | 6 | EA | 10/11/2023 | 17-Nov-23 | 105 | |||
50 | 25/10/2023 | 5/01/2024 | 1 | EA | 17/11/2023 | 24-Nov-23 | 223 | |||
51 | 25/10/2023 | 5/01/2024 | 8 | EA | 24/11/2023 | 1-Dec-23 | 148 | |||
52 | 25/10/2023 | 5/01/2024 | 1 | EA | 1/12/2023 | 8-Dec-23 | 227 | |||
53 | 25/10/2023 | 5/01/2024 | 62 | EA | 8/12/2023 | 15-Dec-23 | 264 | |||
54 | 25/10/2023 | 5/01/2024 | 1 | EA | 15/12/2023 | 22-Dec-23 | 0 | |||
55 | 25/10/2023 | 5/01/2024 | 3 | EA | 22/12/2023 | 29-Dec-23 | 0 | |||
56 | 25/10/2023 | 5/01/2024 | 0 | EA | 29/12/2023 | 5-Jan-24 | 642 | |||
57 | 25/10/2023 | 5/01/2024 | 0 | EA | 5/01/2024 | 12-Jan-24 | 0 | |||
58 | 25/10/2023 | 5/01/2024 | 0 | EA | 12/01/2024 | 19-Jan-24 | 638 | |||
59 | 25/10/2023 | 5/01/2024 | 0 | EA | 19/01/2024 | 26-Jan-24 | 50 | |||
60 | 25/10/2023 | 13/11/2023 | 2 | EA | 26/01/2024 | 2-Feb-24 | 187 | |||
61 | 25/10/2023 | 13/11/2023 | 2/02/2024 | 9-Feb-24 | 0 | |||||
62 | 25/10/2023 | 13/11/2023 | 2 | LM | 9/02/2024 | 16-Feb-24 | 75 | |||
63 | 25/10/2023 | 13/11/2023 | 1 | EA | 16/02/2024 | 23-Feb-24 | 2195 | |||
64 | 25/10/2023 | 13/11/2023 | 36 | LM | 23/02/2024 | 1-Mar-24 | 188 | |||
65 | 25/10/2023 | 13/11/2023 | 12 | EA | 1/03/2024 | 8-Mar-24 | 90 | |||
66 | 25/10/2023 | 13/11/2023 | 2 | EA | 8/03/2024 | 15-Mar-24 | 130 | |||
67 | 25/10/2023 | 13/11/2023 | 3 | EA | 15/03/2024 | 22-Mar-24 | 668 | |||
68 | 25/10/2023 | 13/11/2023 | 25 | LM | 22/03/2024 | 29-Mar-24 | 144 | |||
69 | 25/10/2023 | 13/11/2023 | 1 | EA | 29/03/2024 | 5-Apr-24 | 23 | |||
70 | 25/10/2023 | 13/11/2023 | 27 | LM | 5/04/2024 | 12-Apr-24 | 0 | |||
71 | 25/10/2023 | 13/11/2023 | 0 | EA | 12/04/2024 | 19-Apr-24 | 0 | |||
72 | 26/10/2023 | 21/11/2023 | 255 | LM | 19/04/2024 | 26-Apr-24 | 282 | |||
73 | 26/10/2023 | 21/11/2023 | 31 | LM | 26/04/2024 | 3-May-24 | 0 | |||
74 | 26/10/2023 | 21/11/2023 | 0 | LM | 3/05/2024 | 10-May-24 | 0 | |||
75 | 26/10/2023 | 21/11/2023 | 0 | LM | 10/05/2024 | 17-May-24 | 0 | |||
76 | 26/10/2023 | 21/11/2023 | 0 | EA | 17/05/2024 | 24-May-24 | 0 | |||
77 | 26/10/2023 | 21/11/2023 | 0 | EA | 24/05/2024 | 31-May-24 | 0 | |||
78 | 26/10/2023 | 21/11/2023 | 0 | EA | 31/05/2024 | 7-Jun-24 | 0 | |||
QMR (2) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
AE44:AE78 | AE44 | =SUMIFS(Z:Z, X:X, ">="&AC44, Y:Y, "<="&AD44, U:U, "Raceway", AA:AA, "LM") |