Combining two data tables in Sumifs Project Summary Report

PaulyK

Board Regular
Joined
Aug 27, 2015
Messages
50
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
Hello,

I have created a Summary sheet (thanks to the excellent solutions / guidance from @Fluff ) which counts the number of Days worked, Per Approved Project and per Month. The data is pulled from a specific separate Data table. There is an additional Data set (similar in format) that I also need to reference / sum from; which is for unapproved Projects. Is there a way of combining the two sets of data to give a total of days? Presently the two data sets have to remain separate (so I can't put them all in one table)

Also, Is there a way of the table only showing Columns with Data in (not 0)

If anyone feels there is an easier way to achieve the end goal, I am all ears!!

Paul

Summary
Resource Allocation Tool - RAT - Example.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
3PeriodApr-22
4
5Project IDProjectPerson 1Person 2Person 3Person 20Person 13Person 14Person 8Person 6Person 15Person 10Person 26Person 4Person 7Person 11Person 9Person 23Person 18Person 5Person 27Person 25Person 12Person 17Person 1600
6Project 16100000000000000000000000
7Project 20000100000000000000000000
8Project 30000001000000000000000000
9Project 80000000000000000000000000
10Project 90000000000.5020000000000000
11Project 100008000000000000000000000
12Project 1180000000140000000000000000
13Project 130000000000000000000000000
14Project 14100000000008000004401520000
15Project 150000000100000000000051000
16Project 160800000000000000000000000
17Project 170000000000000000000000000
18Project 180000000000000000000000000
19Project 190000000000000000000000000
20Project 200000000000000000000000000
21Project 210000000000000000000000000
22Project 220000000000000000000000000
23Project 230010000000000000000001000
24Project 240000000000000000000000000
25Project 2500001000001000000100010000000
Summary
Cell Formulas
RangeFormula
C5:AB5C5=TRANSPOSE(rngPeople)
B6:B25B6=UNIQUE(TblProjAlloc[PROJECT NAME])
C6:AA25C6=SUMIFS(INDEX(TblProjAlloc[[Mar-22]:[Sep-22]],,MATCH(TEXT($B$3,"mmm-yy"),TblProjAlloc[[#Headers],[Mar-22]:[Sep-22]],0)),TblProjAlloc[[PROJECT NAME]:[PROJECT NAME]],$B6#,TblProjAlloc[[WHO]:[WHO]],C5)
Dynamic array formulas.
Named Ranges
NameRefers ToCells
rngPeople=Lists!$H$2:$H$27C5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C6:AB29Cell Value>0textNO
Cells with Data Validation
CellAllowCriteria
B3List=rngMonths
C5:AA5List=IT_Team


Data - Project Allocation

Resource Allocation Tool - RAT - Example.xlsx
ABCDEFGHIJ
1PROJECT NUMBERPROJECT NAMEWHOMar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22
2190105Project 1Person 15610000
3190105Project 1Person 21100000
4190165Project 2Person 30.50001
5190165Project 2Person 20002
6190165Project 2Person 13013
7190165Project 2Person 14004
8200066Project 3Person 8111.5
9200067Project 8Person 600001
10200067Project 8Person 150000
11200067Project 8Person 32000
12200067Project 8Person 1000002.5
13200067Project 8Person 2600002.51
14200067Project 8Person 100002.5
15200078Project 9Person 40.522.5
16200078Project 9Person 100.50.52.52.51
17200087Project 10Person 2048
18210001Project 11Person 18888881
19210001Project 11Person 151414141
20210004Project 13Person 7010011
21210004Project 13Person 1154211
22210004Project 13Person 936201
23210004Project 13Person 2311
24210007Project 14Person 1101081
25210007Project 14Person 18841
26210007Project 14Person 2688
27210007Project 14Person 5443
28210007Project 14Person 270001.551
29210007Project 14Person 90.5001.51
30210007Project 14Person 251515225
31210007Project 14Person 4000
32210007Project 14Person 8200
33210007Project 14Person 23000341
34210007Project 14Person 12022
35210008Project 15Person 310001
36210008Project 15Person 171111
37210008Project 15Person 6111111
38210008Project 15Person 12655
39210010Project 16Person 288101084
40210015Project 17Person 1831
41210022Project 18Person 15
42210024Project 19Person 15
43210028Project 20Person 60
44210028Project 20Person 152
45210036Project 21Person 184
46210037Project 22Person 16
47210044Project 23Person 31100
48210044Project 23Person 17111
49210055Project 24Person 1877
50210062Project 25Person 133102020202020
51210062Project 25Person 23102011411
52210062Project 25Person 10102020202020
53210062Project 25Person 2711020*020*20*20
54
55
56
57Demand / Pipeline Projects (Not yet approved)
58StagePROJECT NAMEWHOMar-22Apr-22May-22Jun-22Jul-22Aug-22Sep-22
59DemandNewDemandProject1Person 112444
60DemandNewDemandProject1Person 2131222
61DemandNewDemandProject1Person 432121212
62DemandNewDemandProject2Person 132444
63DemandNewDemandProject2Person 215005
64DemandNewDemandProject2Person 320550
65DemandNewDemandProject3Person 21200.50.50
66DemandNewDemandProject3Person 400.50.50
67DemandNewDemandProject3Person 612444
68DemandNewDemandProject4Person 1141414141
69DemandNewDemandProject4Person 1011010102
70DemandNewDemandProject4Person 111141010
71PipeLineNewProject1Person 148882
72PipeLineNewProject1Person 41141010102
73PipeLineNew Project2Person 21.54202020
74PipeLineNew Project3Person 7011.51
75PipeLineNew Project4Person 41221
76PipeLineNew Project4Person 100.51.51.51.5
77PipeLineNew Project5Person 650032
78PipeLineNew Project5Person 75544
79PipeLineNew Project6Person 20140412477
Project allocation
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D59:J79Expression=COUNTBLANK(D59)textNO
A78:B79Expression=$A78="Pipeline"textNO
A78:B79Expression=$A78="Demand"textNO
B78:B79Expression=COUNTBLANK(B78)textNO
A76:B77Expression=$A76="Pipeline"textNO
A76:B77Expression=$A76="Demand"textNO
B76:B77Expression=COUNTBLANK(B76)textNO
A59:C75,C76:C79Expression=$A59="Pipeline"textNO
A59:C75,C76:C79Expression=$A59="Demand"textNO
A57:H57Expression=$B57="Awaiting PPM Upload"textNO
C2:C53,B59:C75,C76:C79Expression=COUNTBLANK(B2)textNO
A2:C55Expression=$B2="Awaiting PPM Upload"textNO
D2:J53Expression=COUNTBLANK(D2)textNO
Cells with Data Validation
CellAllowCriteria
C2:C53List=IT_Team
C59:C79List=IT_Team
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
The 2nd range of Data is Summarised in the below Table (which Matches the Summary) but I would like to be able to combine them

Pipeline Project Summary
Resource Allocation Tool - RAT - Example.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZ
3PeriodAug-22
4
5Project IDProjectPerson 1Person 2Person 3Person 20Person 13Person 14Person 8Person 6Person 15Person 10Person 26Person 4Person 7Person 11Person 9Person 23Person 18Person 5Person 27Person 25Person 12Person 17Person 160
6NewDemandProject14200000000012000000000000
7NewDemandProject2405000000000000000000000
8NewDemandProject300.50000040000.5000000000000
9NewDemandProject4140000000010000100000000000
10NewProject18000000000010000000000000
11New Project20200000000000000000000000
12New Project3000000000000100000000000
13New Project40000000001.500000000000000
14New Project5000000000000000000000000
15New Project6000700000000000000000000
16
Summary (Pipeline)
Cell Formulas
RangeFormula
C5:AB5C5=TRANSPOSE(rngPeople)
B6:B15B6=UNIQUE(Table4[PROJECT NAME])
C6:Z15C6=SUMIFS(INDEX(Table4[[Mar-22]:[Sep-22]],,MATCH(TEXT($B$3,"mmm-yy"),Table4[[#Headers],[Mar-22]:[Sep-22]],0)),Table4[[PROJECT NAME]:[PROJECT NAME]],$B6#,Table4[[WHO]:[WHO]],C5)
Dynamic array formulas.
Named Ranges
NameRefers ToCells
rngPeople=Lists!$H$2:$H$27C5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C6:AB16Cell Value>0textNO
Cells with Data Validation
CellAllowCriteria
C5:Z5List=IT_Team
B3List=rngMonths
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top