I don't see how this is accounting for the A row.
I think the below will explain what I'm trying to do better.
I have 7 different employee identifiers. I also have 7 different Job
location identifiers. The master numbers identifying those identifiers will
be in columns X & Y.
X                            Y
1     Emp. Identifier List   Job Identifier List
2    90		    10
3    110		    11
4    120		    12
5    320		    13
6    420		    14
7    610		    17
8    620		    18
All the employees can do various jobs. They also have various different work
locations. The work locations may be very many, but in this scenario, I'm
only showing 11 total, 8 different.
So what I'm trying to show results in the E column as follows. Basically
total hours based on all/each of  the other 3 different criterea.  I can drag
the formula down as far as necessary, because I could envision potentially
quite a few results based on the various locations, employees, and locations.
Here's a few samples.
At location 158, emp 110 worked 2  hrs at job 14
At location 181, emp 110 worked 3 hrs at job 14
At location 210, emp 120 worked a total of 5 hrs at job 17
At location 210, emp 420 worked  of 7 hrs at job 17
At location 391, emp 90 worked a total of 13 hrs at job 10, etc.
I also don't need the above wording, if I could just get the numbers like
391    90     10    13   that would be great.
row A	B	 C	D
1  Location	Emp. Iden	Hours	Job identifier
2  158	110	2	14
3  181	110	3	14
4   210	120	4	17
5   210	120	1	17
6   210	420	7	17
7   296	610	 6	11
8   310	620	 3	17
9   311	90	 2	10
10  333	110	 2	11
11  391	90	 8	10
12  391	90	 5	10
Again, thank you very much for your patience, and if you want to bail out
afterall my poor explaining, I wouldn't blame you.
Thanks again,
Steve