So i made an example sheet below. I need the total gross from Columns E from the ID's from Column A ,Total Gross by different class codes.
You can see if i am thinking right maybe the formula goes in Column H. If i pull the formula down in Column H to fill in Columns F ,G, H. You can see F has id number 5 3x, While G has 3 different class codes. Sometimes it can be 4 or 5. and H with the totals of ID 5 by class code in H. The reason why I'm looking for something like this is because my sheet goes down to line 3000 lines of data. So i am going through each ID number for totals and different class codes. Taking me forever. Any help would be great as this Formula is very complicated for me. Employee ID Starts at Column A.
Excel 2016 (Windows) 32 bit
[Table="width:, class:head"][tr=bgcolor:#888888][th] [/th][th]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
[/table][Table="width:, class:grid"][tr][td]Sheet: Sheet1[/td][/tr][/table]
You can see if i am thinking right maybe the formula goes in Column H. If i pull the formula down in Column H to fill in Columns F ,G, H. You can see F has id number 5 3x, While G has 3 different class codes. Sometimes it can be 4 or 5. and H with the totals of ID 5 by class code in H. The reason why I'm looking for something like this is because my sheet goes down to line 3000 lines of data. So i am going through each ID number for totals and different class codes. Taking me forever. Any help would be great as this Formula is very complicated for me. Employee ID Starts at Column A.
Excel 2016 (Windows) 32 bit
[Table="width:, class:head"][tr=bgcolor:#888888][th] [/th][th]
A
[/th][th]B
[/th][th]C
[/th][th]D
[/th][th]E
[/th][th]F
[/th][th]G
[/th][th]H
[/th][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
1
[/td][td]employee_ID
[/td][td]first_name
[/td][td]last_name
[/td][td]class_code
[/td][td] gross_employee_pay
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
2
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td]Results[/td][td]Results[/td][td] Formula [/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
3
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Yard[/td][td]4280.00
[/td][td]5
[/td][td]Yard[/td][td]$ 25,780.00
[/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
4
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Supervisor[/td][td]4280.00
[/td][td]5
[/td][td]Supervisor[/td][td]$ 31,840.50
[/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
5
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Supervisor[/td][td]4761.50
[/td][td]5
[/td][td]Concrete[/td][td]$ 15,876.00
[/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
6
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Supervisor[/td][td]5243.00
[/td][td]9
[/td][td]Yard[/td][td]$ 8,050.00
[/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
7
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Yard[/td][td]4280.00
[/td][td]9
[/td][td]Supervisor[/td][td]$ 9,822.00
[/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
8
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Yard[/td][td]6244.00
[/td][td]9
[/td][td]Concrete[/td][td]$ 3,560.00
[/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
9
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Supervisor[/td][td]6328.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
10
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Yard[/td][td]5992.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
11
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Supervisor[/td][td]5656.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
12
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Yard[/td][td]4984.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
13
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Concrete[/td][td]4816.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
14
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Concrete[/td][td]5656.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
15
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Concrete[/td][td]5404.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
16
[/td][td]5
[/td][td]Joe[/td][td]S[/td][td]Supervisor[/td][td]5572.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
17
[/td][td]9
[/td][td]Alex[/td][td]S[/td][td]Yard[/td][td]2350.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
18
[/td][td]9
[/td][td]Alex[/td][td]S[/td][td]Concrete[/td][td]3560.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
19
[/td][td]9
[/td][td]Alex[/td][td]S[/td][td]Supervisor[/td][td]4250.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
20
[/td][td]9
[/td][td]Alex[/td][td]S[/td][td]Yard[/td][td]2350.00
[/td][td][/td][td][/td][td][/td][/tr][tr=bgcolor:#FFFFFF][td=bgcolor:#888888]
21
[/td][td]9
[/td][td]Alex[/td][td]S[/td][td]Yard[/td][td]3350.00
[/td][td][/td][td][/td][td][/td][/tr][/table][Table="width:, class:grid"][tr][td]Sheet: Sheet1[/td][/tr][/table]