willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 915
- Office Version
- 365
- Platform
- Windows
This is a bit hard to explain so I am including a link to the file in Dropbox as well as a XL2BB in hopes someone could help me with a few SUMIFS formulas or possibly an alternative.
This spreadsheet is a 12 month tracker that will work based on the Date you enter in B3. The Column Months and years will adjust based on the Date entered in B3. That being said the Months and years will change.
The first formula I need can apply to the Demand detail Qty OR the Web EDI Qty (as it will pretty much be the same formula)
It will basically Sum Column C in the "Details" sheet if the part #, Month and Year all Match. I cannot seem to get this formula to work.
The 2nd formula I am not sure how to even start. It is based on the 4 Quarters of the year
Whatever year you enter in B4 will be reflected on top of each Quarters Row.
I would like to Sum the Qty for Jobs for all Months in Q1 for the year listed above for that Row.
I am most likely making this too complicated so could use some help simplifying.
Thank you very much to anyone who can help!
Dropbox link:
This spreadsheet is a 12 month tracker that will work based on the Date you enter in B3. The Column Months and years will adjust based on the Date entered in B3. That being said the Months and years will change.
The first formula I need can apply to the Demand detail Qty OR the Web EDI Qty (as it will pretty much be the same formula)
It will basically Sum Column C in the "Details" sheet if the part #, Month and Year all Match. I cannot seem to get this formula to work.
The 2nd formula I am not sure how to even start. It is based on the 4 Quarters of the year
Whatever year you enter in B4 will be reflected on top of each Quarters Row.
I would like to Sum the Qty for Jobs for all Months in Q1 for the year listed above for that Row.
I am most likely making this too complicated so could use some help simplifying.
Thank you very much to anyone who can help!
Dropbox link:
Dropbox - File Deleted - Simplify your life
www.dropbox.com
TEST.xlsx | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | |||
1 | January | January | January | February | February | February | March | March | March | 2021 | 2021 | 2021 | 2021 | |||||||
2 | 2021 | 2021 | 2021 | 2021 | 2021 | 2021 | 2021 | 2021 | 2021 | |||||||||||
3 | Date of Sheet | 01-Jan | ||||||||||||||||||
4 | Quarter Year | 2021 | ||||||||||||||||||
5 | Part Number | Detail Flag | Web EDI flag | Notes | Demand Detail Qty | Web EDI Qty | Qty for JOBS | Demand Detail Qty | Web EDI Qty | Qty for JOBS | Demand Detail Qty | Web EDI Qty | Qty for JOBS | 2021 Q1 | 2021 Q2 | 2021 Q3 | 2021 Q4 | |||
6 | Column1 | Column16 | Column17 | Column2 | Column3 | Column4 | Column5 | Column6 | Column7 | Column8 | Column9 | Column10 | Column11 | Column12 | Column13 | Column14 | Column15 | |||
7 | AXE87725 | 12 | 22 | 22 | 0 | 0 | 0 | 0 | 0 | 0 | SUM all Qty for Jobs for Months in Q1, for year in B4,for this row | Same SUM for Q2 | Same SUM for Q3 | Same SUM for Q4 | ||||||
8 | HXE141349 | 0 | 0 | 0 | 0 | 31 | 31 | 0 | 36 | 36 | SUM all Qty for Jobs for Months in Q1 for this row | Same SUM for Q2 | Same SUM for Q3 | Same SUM for Q4 | ||||||
9 | QAXE83817C | 0 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | SUM all Qty for Jobs for Months in Q1 for this row | Same SUM for Q2 | Same SUM for Q3 | Same SUM for Q4 | ||||||
10 | QAXE87825A | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | SUM all Qty for Jobs for Months in Q1 for this row | Same SUM for Q2 | Same SUM for Q3 | Same SUM for Q4 | ||||||
11 | ZZ554 | flag | flag | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
12 | ||||||||||||||||||||
13 | ||||||||||||||||||||
14 | ||||||||||||||||||||
15 | Note: | |||||||||||||||||||
16 | Q1 | Q2 | Q3 | Q4 | ||||||||||||||||
17 | January | April | July | October | ||||||||||||||||
18 | February | May | August | November | ||||||||||||||||
19 | March | June | September | December | ||||||||||||||||
Buckets |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E1:G1 | E1 | =TEXT($B$3,"mmmm") |
H1:J1 | H1 | =EDATE($B$3,1) |
K1:M1 | K1 | =EDATE($B$3,2) |
N1:Q1 | N1 | =$B$4 |
E2:M2 | E2 | =TEXT($B$3,"yyyy") |
N5 | N5 | =$B$4&" Q1" |
O5 | O5 | =$B$4&" Q2" |
P5 | P5 | =$B$4&" Q3" |
Q5 | Q5 | =$B$4&" Q4" |
B7:B11 | B7 | =IF(ISERROR(VLOOKUP(A7,Details!B:B,1,FALSE)),"flag","") |
C7:C11 | C7 | =IF(ISERROR(VLOOKUP(A7,'WEB EDI'!B:B,1,FALSE)),"flag","") |
E7:E11 | E7 | =SUMIFS(Details!C:C,Details!B:B,[@Column1],Details!D:D,Buckets!$E$1,Details!E:E,Buckets!$E$2) |
F7:F11 | F7 | =SUMIFS('WEB EDI'!C:C,'WEB EDI'!B:B,[@Column1],'WEB EDI'!D:D,Buckets!$F$1,'WEB EDI'!E:E,Buckets!$F$2) |
G7:G11 | G7 | =IF([Column3]>[Column4],[Column3],[Column4]) |
H7:H11 | H7 | =SUMIFS(Details!C:C,Details!B:B,[@Column1],Details!D:D,Buckets!$H$1,Details!E:E,Buckets!$H$2) |
I7 | I7 | =SUMIFS(Details!C:C,Details!B:B,[@Column1],Details!D:D,Buckets!$I$1,Details!E:E,Buckets!$I$2) |
J7:J11 | J7 | =IF([Column6]>[Column7],[Column6],[Column7]) |
K7:K11 | K7 | =SUMIFS(Details!C:C,Details!B:B,[@Column1],Details!D:D,Buckets!$K$1,Details!E:E,Buckets!$K$2) |
L7 | L7 | =SUMIFS(Details!C:C,Details!B:B,[@Column1],Details!D:D,Buckets!$L1,Details!E:E,Buckets!$L$2) |
M7:M11 | M7 | =IF([Column9]>[Column10],[Column9],[Column10]) |
TEST.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Ship Date | Part Number | Order Qty | Month | Year | Not Present in Buckets | ||
2 | 10-Jan-21 | AXE87725 | 8 | January | 2021 | |||
3 | 11-Jan-21 | AXE87725 | 4 | January | 2021 | |||
4 | 22-Feb-21 | HXE141349 | 5 | February | 2021 | |||
5 | 17-Mar-21 | QAXE83817C | 20 | March | 2021 | |||
6 | 18-Mar-21 | QAXE87825A | 1 | March | 2021 | |||
7 | 05-Feb-21 | HXE141349 | 2 | February | 2021 | |||
8 | 02-Oct | AAAAAB | 9 | October | 2020 | flag | ||
Details |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D2:D8 | D2 | =TEXT(A2,"mmmm") |
E2:E8 | E2 | =TEXT(A2,"yyyy") |
F2:F8 | F2 | =IF(ISERROR(VLOOKUP(B2,Buckets!A:A,1,FALSE)),"flag","") |
TEST.xlsx | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Ship Date | Part Number | Order Qty | Month | Year | Not Present in Buckets | ||
2 | 10-Jan-21 | AXE87725 | 20 | January | 2021 | |||
3 | 11-Jan-21 | AXE87725 | 2 | January | 2021 | |||
4 | 22-Feb-21 | HXE141349 | 1 | February | 2021 | |||
5 | 17-Mar-21 | QAXE83817C | 5 | March | 2021 | |||
6 | 18-Mar-21 | QAXE87825A | 7 | March | 2021 | |||
7 | 05-Feb-21 | HXE141349 | 3 | February | 2021 | |||
8 | 30-Sep | CCCAT | 9 | September | 2020 | flag | ||
WEB EDI |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D2:D8 | D2 | =TEXT(A2,"mmmm") |
E2:E8 | E2 | =TEXT(A2,"yyyy") |
F2:F8 | F2 | =IF(ISERROR(VLOOKUP(B2,Buckets!A:A,1,FALSE)),"flag","") |