23 02 28.xlsm | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | |||
1 | Start | End | Total | 20/01/2023 | 21/01/2023 | 22/01/2023 | 23/01/2023 | 24/01/2023 | 25/01/2023 | 26/01/2023 | 27/01/2023 | ||||
2 | 20/01/2023 | 23/01/2023 | 40 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | 10 | ||||
3 | 21/01/2023 | 24/01/2023 | 80 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | 20 | ||||
4 | 24/01/2023 | 27/01/2023 | 120 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | 30 | ||||
SUMIFS |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D2:D4 | D2 | =SUMIFS(G2:N2,G$1:N$1,">="&B2,G$1:N$1,"<="&C2) |
Great, thanks for that.I have updated my details
Then I think that you need to give us a better representative set of sample data and expected results.but I need to match code (A:A) and (F:F) first, then the two dates to get the figures.
Try to carefully follow through the steps outlined in the link provided. Use the Test Here forum to try it out.I'm unsure how to do the XL2BB add-in