jbrown021286
Board Regular
- Joined
- Mar 13, 2023
- Messages
- 85
- Office Version
- 365
- Platform
- Windows
i have a sumifs function that i need to to also add cells that match the same criteria from other worksheets
this is the output of the formula that i am using
this is the original range that i am adding together but i also need to be able to add from multiple sheets that hold similar data that are just going to be previous months of the data seen here. basically at the end of each month i will be coping the worksheet and pasting it into a new tab for what ever month it was for titling them Jan, Feb, Mar and so on then clearing the data out of this worksheet to start the new month
for the purposes of the example i have just copied the data from my "aggregated Data" sheet and made copies if it to mock up months of jan, feb, and mar. any help would be appreciated.
TECH HOURS WORKSHEET 2.0 tester.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | 11-Feb | 17-Feb | |||||
2 | |||||||
3 | |||||||
4 | |||||||
5 | |||||||
6 | 101502 | 101549 | 103642 | ||||
7 | Jeff | Justin | Ramy | ||||
8 | hours | 24.8 | 0 | 37.8 | |||
9 | |||||||
10 | |||||||
11 | |||||||
12 | |||||||
13 | |||||||
Hours |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A1 | A1 | =WORKDAY.INTL(B1+1,-1,"1111110") |
C8 | C8 | =SUMIFS('Aggregated Data'!C4:AG4,'Aggregated Data'!C3:AG3,">="&A1,'Aggregated Data'!C3:AG3,"<="&B1) |
D8 | D8 | =SUMIFS('Aggregated Data'!C5:AG5,'Aggregated Data'!C3:AG3,">="&A1,'Aggregated Data'!C3:AG3,"<="&B1) |
E8 | E8 | =SUMIFS('Aggregated Data'!C6:AG6,'Aggregated Data'!C3:AG3,">="&A1,'Aggregated Data'!C3:AG3,"<="&B1) |
this is the output of the formula that i am using
TECH HOURS WORKSHEET 2.0 tester.xlsx | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | |||
1 | Tech Hours | ||||||||||||||||||||||||||||||||||
2 | 01FEB24 | 02FEB24 | 03FEB24 | 04FEB24 | 05FEB24 | 06FEB24 | 07FEB24 | 08FEB24 | 09FEB24 | 10FEB24 | 11FEB24 | 12FEB24 | 13FEB24 | 14FEB24 | 15FEB24 | 16FEB24 | 17FEB24 | 18FEB24 | 19FEB24 | 20FEB24 | 21FEB24 | 22FEB24 | 23FEB24 | 24FEB24 | 25FEB24 | 26FEB24 | 27FEB24 | 28FEB24 | 29FEB24 | ||||||
3 | 1-Feb | 2-Feb | 3-Feb | 4-Feb | 5-Feb | 6-Feb | 7-Feb | 8-Feb | 9-Feb | 10-Feb | 11-Feb | 12-Feb | 13-Feb | 14-Feb | 15-Feb | 16-Feb | 17-Feb | 18-Feb | 19-Feb | 20-Feb | 21-Feb | 22-Feb | 23-Feb | 24-Feb | 25-Feb | 26-Feb | 27-Feb | 28-Feb | 29-Feb | ||||||
4 | Jeff | 101502 | 1.1 | 9.9 | 22.5 | 8.4 | 22.0 | 14.2 | 0.3 | 17.5 | 13.9 | 7.4 | 8.0 | 4.6 | 4.8 | ||||||||||||||||||||
5 | Justin | 101549 | 2.0 | 20.0 | 4.0 | 6.5 | 10.4 | 5.2 | 5.2 | 3.0 | 13.8 | ||||||||||||||||||||||||
6 | Ramy | 103642 | 11.2 | 6.2 | 3.5 | 15.1 | 5.0 | 9.4 | 11.6 | 9.5 | 1.4 | 15.8 | 11.0 | 9.6 | |||||||||||||||||||||
7 | Tuzzo | 107132 | 7.1 | 7.4 | 8.9 | 10.5 | 3.5 | 3.9 | 11.2 | 3.9 | 5.0 | 2.3 | 2.8 | 8.8 | 8.0 | ||||||||||||||||||||
Aggregated Data |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C4:C7 | C4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,'Aggregated Data'!B4,RTH!$B:$B,$C$2) |
D4:D7 | D4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B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$N:$N,RTH!$E:$E,B4,RTH!$B:$B,V$2) |
W4:W7 | W4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,W$2) |
X4:X7 | X4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,X$2) |
Y4:Y7 | Y4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,Y$2) |
Z4:Z7 | Z4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,Z$2) |
AA4:AA7 | AA4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,AA$2) |
AB4:AB7 | AB4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,AB$2) |
AC4:AC7 | AC4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,AC$2) |
AD4:AD7 | AD4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,AD$2) |
AE4:AE7 | AE4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,AE$2) |
AF4:AF7 | AF4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,AF$2) |
AG4:AG7 | AG4 | =SUMIFS(RTH!$N:$N,RTH!$E:$E,B4,RTH!$B:$B,AG$2) |
this is the original range that i am adding together but i also need to be able to add from multiple sheets that hold similar data that are just going to be previous months of the data seen here. basically at the end of each month i will be coping the worksheet and pasting it into a new tab for what ever month it was for titling them Jan, Feb, Mar and so on then clearing the data out of this worksheet to start the new month
TECH HOURS WORKSHEET 2.0 tester.xlsx | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | |||
1 | Tech Hours | ||||||||||||||||||||||||||||||||||
2 | 01FEB24 | 02FEB24 | 03FEB24 | 04FEB24 | 05FEB24 | 06FEB24 | 07FEB24 | 08FEB24 | 09FEB24 | 10FEB24 | 11FEB24 | 12FEB24 | 13FEB24 | 14FEB24 | 15FEB24 | 16FEB24 | 17FEB24 | 18FEB24 | 19FEB24 | 20FEB24 | 21FEB24 | 22FEB24 | 23FEB24 | 24FEB24 | 25FEB24 | 26FEB24 | 27FEB24 | 28FEB24 | 29FEB24 | ||||||
3 | 1-Feb | 2-Feb | 3-Feb | 4-Feb | 5-Feb | 6-Feb | 7-Feb | 8-Feb | 9-Feb | 10-Feb | 11-Feb | 12-Feb | 13-Feb | 14-Feb | 15-Feb | 16-Feb | 17-Feb | 18-Feb | 19-Feb | 20-Feb | 21-Feb | 22-Feb | 23-Feb | 24-Feb | 25-Feb | 26-Feb | 27-Feb | 28-Feb | 29-Feb | ||||||
4 | Jeff | 101502 | 1.1 | 9.9 | 22.5 | 0 | 8.4 | 22 | 14.2 | 0.3 | 17.5 | 13.9 | 0 | 7.4 | 8 | 4.6 | 4.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
5 | Justin | 101549 | 2 | 20 | 4 | 0 | 6.5 | 10.4 | 5.2 | 5.2 | 3 | 13.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
6 | Ramy | 103642 | 11.2 | 6.2 | 3.5 | 0 | 0 | 15.1 | 5 | 9.4 | 11.6 | 9.5 | 0 | 1.4 | 15.8 | 11 | 9.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
Jan |
TECH HOURS WORKSHEET 2.0 tester.xlsx | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | |||
1 | Tech Hours | ||||||||||||||||||||||||||||||||||
2 | 01FEB24 | 02FEB24 | 03FEB24 | 04FEB24 | 05FEB24 | 06FEB24 | 07FEB24 | 08FEB24 | 09FEB24 | 10FEB24 | 11FEB24 | 12FEB24 | 13FEB24 | 14FEB24 | 15FEB24 | 16FEB24 | 17FEB24 | 18FEB24 | 19FEB24 | 20FEB24 | 21FEB24 | 22FEB24 | 23FEB24 | 24FEB24 | 25FEB24 | 26FEB24 | 27FEB24 | 28FEB24 | 29FEB24 | ||||||
3 | 1-Feb | 2-Feb | 3-Feb | 4-Feb | 5-Feb | 6-Feb | 7-Feb | 8-Feb | 9-Feb | 10-Feb | 11-Feb | 12-Feb | 13-Feb | 14-Feb | 15-Feb | 16-Feb | 17-Feb | 18-Feb | 19-Feb | 20-Feb | 21-Feb | 22-Feb | 23-Feb | 24-Feb | 25-Feb | 26-Feb | 27-Feb | 28-Feb | 29-Feb | ||||||
4 | Jeff | 101502 | 1.1 | 9.9 | 22.5 | 0 | 8.4 | 22 | 14.2 | 0.3 | 17.5 | 13.9 | 0 | 7.4 | 8 | 4.6 | 4.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
5 | Justin | 101549 | 2 | 20 | 4 | 0 | 6.5 | 10.4 | 5.2 | 5.2 | 3 | 13.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
6 | Ramy | 103642 | 11.2 | 6.2 | 3.5 | 0 | 0 | 15.1 | 5 | 9.4 | 11.6 | 9.5 | 0 | 1.4 | 15.8 | 11 | 9.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
Feb |
TECH HOURS WORKSHEET 2.0 tester.xlsx | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | |||
1 | Tech Hours | ||||||||||||||||||||||||||||||||||
2 | 01FEB24 | 02FEB24 | 03FEB24 | 04FEB24 | 05FEB24 | 06FEB24 | 07FEB24 | 08FEB24 | 09FEB24 | 10FEB24 | 11FEB24 | 12FEB24 | 13FEB24 | 14FEB24 | 15FEB24 | 16FEB24 | 17FEB24 | 18FEB24 | 19FEB24 | 20FEB24 | 21FEB24 | 22FEB24 | 23FEB24 | 24FEB24 | 25FEB24 | 26FEB24 | 27FEB24 | 28FEB24 | 29FEB24 | ||||||
3 | 1-Feb | 2-Feb | 3-Feb | 4-Feb | 5-Feb | 6-Feb | 7-Feb | 8-Feb | 9-Feb | 10-Feb | 11-Feb | 12-Feb | 13-Feb | 14-Feb | 15-Feb | 16-Feb | 17-Feb | 18-Feb | 19-Feb | 20-Feb | 21-Feb | 22-Feb | 23-Feb | 24-Feb | 25-Feb | 26-Feb | 27-Feb | 28-Feb | 29-Feb | ||||||
4 | Jeff | 101502 | 1.1 | 9.9 | 22.5 | 0 | 8.4 | 22 | 14.2 | 0.3 | 17.5 | 13.9 | 0 | 7.4 | 8 | 4.6 | 4.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
5 | Justin | 101549 | 2 | 20 | 4 | 0 | 6.5 | 10.4 | 5.2 | 5.2 | 3 | 13.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
6 | Ramy | 103642 | 11.2 | 6.2 | 3.5 | 0 | 0 | 15.1 | 5 | 9.4 | 11.6 | 9.5 | 0 | 1.4 | 15.8 | 11 | 9.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
Mar |
for the purposes of the example i have just copied the data from my "aggregated Data" sheet and made copies if it to mock up months of jan, feb, and mar. any help would be appreciated.