Hi
I have a spreadsheet with two tables (and it needs to be in 2 separate tables). Both list subcontractors and employee hours. I have created a summary table where I want to list all the subcontractors from those two tables and sum the employee hours across both for each month. Subcontractors may appear in each table more than once. Here is an example of some data:
TABLE A
Subcontractor 1 5 hours
Subcontractor 12 5 hours
Subcontractor 1 2 hours
Subcontractor 1 3 hours
TABLE B
Subcontractor 12 5 hours
Subcontractor 3 11 hours
Subcontractor 1 10 hours
Subcontractor 12 20 hours
SUMMARY TABLE
Subcontractor 1 20 hours
Subcontractor 3 11 hours
Subcontractor 12 30 hours
Currently I have the full list of all subcontractors in the summary table and if the subcontractor is not used that particular month, their name still shows up in the summary table with 0 hours. However, I'd prefer to just show a list of the subcontractors that WERE used that month.
I know I could use the UNIQUE function on one of the tables (e.g. Table B) to bring back a list of the unique subcontractors from that table, but I can't figure out how to combine the subcontractors from both tables into the one range. I have tried naming the range and this doesn't work either.
Any suggestions would be gratefully appreciated!