PaulyK
Board Regular
- Joined
- Aug 27, 2015
- Messages
- 50
- Office Version
- 365
- Platform
- Windows
- MacOS
- Mobile
- Web
Hi,
Trying to Produce a summary to show if data has been entered each month for each project.
I have tried several ways to count all blank cells (even containing formula) as blank. However I can't seem to crack it.
The end point is to summarise if data has been entered in a particular month in my 'Non-Compliance' table and then be able to pull that result (yes or No) into a separate Summary for the month.
Data Source
Monthly Allocation Summary
Non-Compliance (Displays YES for all currently - but shouldn't!)
Monthly Summary (this ideally would also be able to select the month column relevant to the current month today - not sure how to achieve)
Trying to Produce a summary to show if data has been entered each month for each project.
I have tried several ways to count all blank cells (even containing formula) as blank. However I can't seem to crack it.
The end point is to summarise if data has been entered in a particular month in my 'Non-Compliance' table and then be able to pull that result (yes or No) into a separate Summary for the month.
Data Source
Count Blanks Example.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | PROJECT NUMBER | PROJECT NAME | Apr-22 | May-22 | Jun-22 | Jul-22 | Aug-22 | ||
2 | 1001 | Project 1 | 6 | 1 | |||||
3 | 1001 | Project 1 | 1 | ||||||
4 | 1001 | Project 1 | 8 | 10 | 10 | 10 | 6 | ||
5 | 1002 | Project 2 | 10 | 5 | |||||
6 | 1002 | Project 2 | 15 | 5 | |||||
7 | 1002 | Project 2 | 5 | 5 | 5 | 1 | |||
8 | 1003 | Project 3 | |||||||
9 | 1003 | Project 3 | |||||||
10 | 1003 | Project 3 | |||||||
11 | 1003 | Project 3 | 5 | ||||||
12 | 1003 | Project 3 | 20 | 20 | 20 | 20 | 20 | ||
13 | 1004 | Project 4 | |||||||
14 | 1004 | Project 4 | 10 | 5 | |||||
15 | 1005 | Project 5 | |||||||
16 | 1006 | Project 6 | |||||||
17 | 1006 | Project 6 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | ||
18 | 1007 | Project 7 | 1 | ||||||
19 | 1008 | Project 8 | 5 | 5 | |||||
20 | 1008 | Project 8 | 3 | 4 | 5 | ||||
21 | 1008 | Project 8 | |||||||
22 | 1008 | Project 8 | 5 | ||||||
23 | 1008 | Project 8 | 5 | 0 | 5 | ||||
24 | 1008 | Project 8 | |||||||
25 | 1008 | Project 8 | |||||||
26 | 1009 | Project 9 | 2 | ||||||
27 | 1009 | Project 9 | 1 | ||||||
28 | 1009 | Project 9 | 0.5 | 0 | 0 | ||||
29 | 1009 | Project 9 | |||||||
30 | 1009 | Project 9 | 20 | 20 | 20 | 20 | 20 | ||
31 | 1010 | Project 10 | 8 | ||||||
32 | 1010 | Project 10 | 0 | ||||||
33 | 1010 | Project 10 | 10 | 20 | 20 | 20 | 20 | ||
34 | 1010 | Project 10 | 10 | 20 | 20 | 20 | 20 | ||
35 | 1010 | Project 10 | 10 | 20 | 20 | 20 | 20 | ||
36 | 1011 | Project 11 | 8 | 8 | 8 | 8 | 8 | ||
37 | 1011 | Project 11 | 14 | 14 | |||||
38 | 1012 | Project 12 | 0 | 0 | |||||
39 | 1012 | Project 12 | |||||||
40 | 1013 | Project 13 | 3 | 3 | 2 | 1 | |||
41 | 1013 | Project 13 | 1 | ||||||
42 | 1013 | Project 13 | 5 | 4 | 2 | 1 | |||
43 | 1013 | Project 13 | 3 | 6 | 2 | ||||
44 | 1013 | Project 13 | 1 | ||||||
45 | 1014 | Project 14 | 10 | 8 | 0 | ||||
46 | 1014 | Project 14 | 4 | 1 | |||||
47 | 1014 | Project 14 | 6 | ||||||
48 | 1014 | Project 14 | 8 | 8 | |||||
49 | 1014 | Project 14 | 4 | 3 | |||||
50 | 1014 | Project 14 | |||||||
51 | 1014 | Project 14 | |||||||
52 | 1014 | Project 14 | 15 | 5 | |||||
53 | 1014 | Project 14 | |||||||
54 | 1014 | Project 14 | |||||||
55 | 1014 | Project 14 | |||||||
56 | 1014 | Project 14 | 2 | 2 | |||||
57 | 1014 | Project 14 | |||||||
58 | 1015 | Project 15 | 1 | ||||||
59 | 1015 | Project 15 | 4 | 5 | |||||
60 | 1015 | Project 15 | |||||||
61 | 1015 | Project 15 | 0 | 0 | |||||
62 | 1015 | Project 15 | 5 | 4 | 2 | 2 | 2 | ||
63 | 1016 | Project 16 | 8 | 10 | 10 | 8 | 4 | ||
64 | 1017 | Project 17 | |||||||
65 | 1017 | Project 17 | 4 | 4 | |||||
66 | 1017 | Project 17 | 4 | 4 | 4 | ||||
67 | 1017 | Project 17 | 8 | 7 | 7 | 12 | 4 | ||
68 | 1017 | Project 17 | 9 | 9 | 6 | 6 | 2 | ||
69 | 1017 | Project 17 | 12 | 10 | 6 | 6 | 2 | ||
70 | 1017 | Project 17 | 2 | 1 | |||||
71 | 1018 | Project 18 | |||||||
Project allocation |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
C2:G71 | Expression | =COUNTBLANK(C2) | text | NO |
Monthly Allocation Summary
Count Blanks Example.xlsm | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | PROJECT NAME | Apr-22 | May-22 | Jun-22 | Jul-22 | Aug-22 | ||
2 | Project 1 | 15.0 | 11.0 | 10.0 | 10.0 | 6.0 | ||
3 | Project 2 | 30.0 | 15.0 | 5.0 | 1.0 | |||
4 | Project 3 | 25.0 | 20.0 | 20.0 | 20.0 | 20.0 | ||
5 | Project 4 | 10.0 | 5.0 | |||||
6 | Project 5 | |||||||
7 | Project 6 | 0.5 | 0.5 | 0.5 | 0.5 | 0.5 | ||
8 | Project 7 | 1.0 | ||||||
9 | Project 8 | 18.0 | 4.0 | 15.0 | ||||
10 | Project 9 | 23.5 | 20.0 | 20.0 | 20.0 | 20.0 | ||
11 | Project 10 | 38.0 | 60.0 | 60.0 | 60.0 | 60.0 | ||
12 | Project 11 | 22.0 | 22.0 | 8.0 | 8.0 | 8.0 | ||
13 | Project 12 | |||||||
14 | Project 13 | 12.0 | 14.0 | 6.0 | 2.0 | |||
15 | Project 14 | 49.0 | 27.0 | |||||
16 | Project 15 | 10.0 | 9.0 | 2.0 | 2.0 | 2.0 | ||
17 | Project 16 | 8.0 | 10.0 | 10.0 | 8.0 | 4.0 | ||
18 | Project 17 | 39.0 | 35.0 | 23.0 | 24.0 | 8.0 | ||
19 | Project 18 | |||||||
Monthly Project Allocation |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B19 | B2 | =IF(SUMIFS(TblProjAlloc[Apr-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2)=0," ",(SUMIFS(TblProjAlloc[Apr-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2))) |
C2:C19 | C2 | =IF(SUMIFS(TblProjAlloc[May-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2)=0," ",(SUMIFS(TblProjAlloc[May-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2))) |
D2:D19 | D2 | =IF(SUMIFS(TblProjAlloc[Jun-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2)=0," ",(SUMIFS(TblProjAlloc[Jun-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2))) |
E2:E19 | E2 | =IF(SUMIFS(TblProjAlloc[Jul-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2)=0," ",(SUMIFS(TblProjAlloc[Jul-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2))) |
F2:F19 | F2 | =IF(SUMIFS(TblProjAlloc[Aug-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2)=0," ",(SUMIFS(TblProjAlloc[Aug-22],TblProjAlloc[PROJECT NAME],"="&'Monthly Project Allocation'!$A2))) |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
B2:F19 | Expression | =ISBLANK(B2)=TRUE | text | NO |
B2:F19 | Cell | does not contain a blank value | text | NO |
Non-Compliance (Displays YES for all currently - but shouldn't!)
Count Blanks Example.xlsm | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
3 | Project ID | Name | Apr-22 | May-22 | Jun-22 | Jul-22 | Aug-22 | ||
4 | 1001 | Project 1 | Yes | Yes | Yes | Yes | Yes | ||
5 | 1002 | Project 2 | Yes | Yes | Yes | Yes | Yes | ||
6 | 1003 | Project 3 | Yes | Yes | Yes | Yes | Yes | ||
7 | 1004 | Project 4 | Yes | Yes | Yes | Yes | Yes | ||
8 | 1005 | Project 5 | Yes | Yes | Yes | Yes | Yes | ||
9 | 1006 | Project 6 | Yes | Yes | Yes | Yes | Yes | ||
10 | 1007 | Project 7 | Yes | Yes | Yes | Yes | Yes | ||
11 | 1008 | Project 8 | Yes | Yes | Yes | Yes | Yes | ||
12 | 1009 | Project 9 | Yes | Yes | Yes | Yes | Yes | ||
13 | 1010 | Project 10 | Yes | Yes | Yes | Yes | Yes | ||
14 | 1011 | Project 11 | Yes | Yes | Yes | Yes | Yes | ||
15 | 1012 | Project 12 | Yes | Yes | Yes | Yes | Yes | ||
16 | 1013 | Project 13 | Yes | Yes | Yes | Yes | Yes | ||
17 | 1014 | Project 14 | Yes | Yes | Yes | Yes | Yes | ||
18 | 1015 | Project 15 | Yes | Yes | Yes | Yes | Yes | ||
19 | 1016 | Project 16 | Yes | Yes | Yes | Yes | Yes | ||
20 | 1017 | Project 17 | Yes | Yes | Yes | Yes | Yes | ||
21 | 1018 | Project 18 | Yes | Yes | Yes | Yes | Yes | ||
Non-Compliance |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C4:C21 | C4 | =IF(COUNTIFS(TblTime[[PROJECT NAME]:[PROJECT NAME]],$B4,TblTime[Apr-22],"<>"),"Yes","No") |
D4:D21 | D4 | =IF(COUNTIFS(TblTime[[PROJECT NAME]:[PROJECT NAME]],$B4,TblTime[May-22],"<>"),"Yes","No") |
E4:E21 | E4 | =IF(COUNTIFS(TblTime[[PROJECT NAME]:[PROJECT NAME]],$B4,TblTime[Jun-22],"<>"),"Yes","No") |
F4:F21 | F4 | =IF(COUNTIFS(TblTime[[PROJECT NAME]:[PROJECT NAME]],$B4,TblTime[Jul-22],"<>"),"Yes","No") |
G4:G21 | G4 | =IF(COUNTIFS(TblTime[[PROJECT NAME]:[PROJECT NAME]],$B4,TblTime[Aug-22],"<>"),"Yes","No") |
A4:A21 | A4 | =IFERROR(INDEX(TblProjAlloc[PROJECT NUMBER],MATCH([@Name],TblProjAlloc[PROJECT NAME],0))," ") |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
'Project allocation'!_FilterDatabase | ='Project allocation'!$A$11:$B$50 | A4:A21 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
C4:G21 | Cell Value | ="No" | text | NO |
C4:G21 | Cell Value | ="Yes" | text | NO |
Monthly Summary (this ideally would also be able to select the month column relevant to the current month today - not sure how to achieve)
Cell Formulas | ||
---|---|---|
Range | Formula | |
K4:K5 | K4 | =IF(COUNTIFS(tblNonCom16[Name],[@Project],TblTime[Apr-22],"<>"),"Yes","No") |