Happy Tuesday party people. I need help comparing two data sets to identify what is causing the difference by date, employee ID#, and WO#. I don't know if I can do this in Excel or if I need to use Power BI or something else. The two tables below show how I am receiving the data. Not sure if I need to change any of the formatting or add a helper column or something. The info below is for one job only, but we have lots of jobs that I need to do this with. There can also be multiple WO#s under one job.
Table1 is the one I need to match to. The difference can go either way. Sometimes Table 1 totals are higher and something they're lower.
In the example below, Table1 shows a total of $48,067.78 and 369.75 hours.
Table2 shows $45,114.59 and 349.75 hours.
How the heck do I go about finding what is causing the difference? Some of these tables can be very long with lots of employees and lots of WO#s.
Table1:
Timesheet Date in column A is a custom mm-dd-yyyy format.
Column B "PID" is the employee ID#, but the employee ID# are the 5 digits between ES and NTR.
Table2:
The Per Diem row can be ignored. That's how I'm receiving the data.
Thank you!
Table1 is the one I need to match to. The difference can go either way. Sometimes Table 1 totals are higher and something they're lower.
In the example below, Table1 shows a total of $48,067.78 and 369.75 hours.
Table2 shows $45,114.59 and 349.75 hours.
How the heck do I go about finding what is causing the difference? Some of these tables can be very long with lots of employees and lots of WO#s.
Table1:
Timesheet Date in column A is a custom mm-dd-yyyy format.
Column B "PID" is the employee ID#, but the employee ID# are the 5 digits between ES and NTR.
Table2:
The Per Diem row can be ignored. That's how I'm receiving the data.
Thank you!
Table1.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Timesheet Date | PID | Net Hours | Total Cost | WO# | ||
2 | 02-Jul-2024 | ES40214NTR | 4 | 520.56 | 938161-045 | ||
3 | 03-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
4 | 08-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
5 | 08-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
6 | 08-Jul-2024 | ES38615NTR | 9.75 | 1,372.70 | 938161-045 | ||
7 | 09-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
8 | 09-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
9 | 09-Jul-2024 | ES38615NTR | 10 | 1,407.90 | 938161-045 | ||
10 | 10-Jul-2024 | ES38057NTR | 9.75 | 1,205.98 | 938161-045 | ||
11 | 10-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
12 | 11-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
13 | 11-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
14 | 12-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
15 | 12-Jul-2024 | ES40214NTR | 0 | - | 938161-045 | ||
16 | 13-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
17 | 13-Jul-2024 | ES40214NTR | 0 | - | 938161-045 | ||
18 | 14-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
19 | 14-Jul-2024 | ES40214NTR | 0 | - | 938161-045 | ||
20 | 15-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
21 | 15-Jul-2024 | ES40214NTR | 9 | 1,171.26 | 938161-045 | ||
22 | 15-Jul-2024 | ES38615NTR | 10 | 1,407.90 | 938161-045 | ||
23 | 16-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
24 | 16-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
25 | 16-Jul-2024 | ES38615NTR | 10 | 1,407.90 | 938161-045 | ||
26 | 17-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
27 | 17-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
28 | 17-Jul-2024 | ES38615NTR | 10 | 1,407.90 | 938161-045 | ||
29 | 18-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
30 | 18-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
31 | 18-Jul-2024 | ES38615NTR | 10 | 1,407.90 | 938161-045 | ||
32 | 19-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
33 | 19-Jul-2024 | ES40214NTR | 0 | - | 938161-045 | ||
34 | 20-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
35 | 20-Jul-2024 | ES40214NTR | 0 | - | 938161-045 | ||
36 | 21-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
37 | 21-Jul-2024 | ES40214NTR | 0 | - | 938161-045 | ||
38 | 22-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
39 | 22-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
40 | 22-Jul-2024 | ES38615NTR | 10 | 1,407.90 | 938161-045 | ||
41 | 23-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
42 | 23-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
43 | 24-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
44 | 24-Jul-2024 | ES40214NTR | 8 | 1,041.12 | 938161-045 | ||
45 | 25-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
46 | 26-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
47 | 27-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
48 | 28-Jul-2024 | ES38057NTR | 0 | - | 938161-045 | ||
49 | 29-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
50 | 29-Jul-2024 | ES38615NTR | 9.75 | 1,372.70 | 938161-045 | ||
51 | 30-Jul-2024 | ES38057NTR | 9.5 | 1,175.06 | 938161-045 | ||
52 | 30-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
53 | 31-Jul-2024 | ES38057NTR | 10 | 1,236.90 | 938161-045 | ||
54 | 31-Jul-2024 | ES40214NTR | 10 | 1,301.40 | 938161-045 | ||
55 | 369.75 | 48,067.78 | |||||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C55:D55 | C55 | =SUM(C2:C54) |
Table2.xlsx | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | |||
1 | Calculated Totals: | 349.75 | 0 | 0 | 349.75 | 45,114.59 | - | - | 45,114.59 | ||||||
2 | |||||||||||||||
3 | Employee | PostDate | Job | STHours | OTHours | DTHours | TTHours | OtherHours | PerDiem | STRate | OTRate | DTRate | WO# | ||
4 | 38057 | 7/8/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
5 | 38057 | 7/8/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
6 | 38057 | 7/9/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
7 | 38057 | 7/9/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
8 | 38057 | 7/10/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
9 | 38057 | 7/10/2024 | 240075 | 9.75 | 0 | 0 | 9.75 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
10 | 38057 | 7/11/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
11 | 38057 | 7/11/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
12 | 38057 | 7/12/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
13 | 38057 | 7/13/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
14 | 38057 | 7/14/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
15 | 38057 | 7/15/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
16 | 38057 | 7/15/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
17 | 38057 | 7/16/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
18 | 38057 | 7/16/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
19 | 38057 | 7/17/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
20 | 38057 | 7/17/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
21 | 38057 | 7/18/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
22 | 38057 | 7/18/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
23 | 38057 | 7/19/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
24 | 38057 | 7/20/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
25 | 38057 | 7/21/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
26 | 38057 | 7/22/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
27 | 38057 | 7/22/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
28 | 38057 | 7/23/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
29 | 38057 | 7/23/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
30 | 38057 | 7/24/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
31 | 38057 | 7/24/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
32 | 38057 | 7/25/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
33 | 38057 | 7/25/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
34 | 38057 | 7/26/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
35 | 38057 | 7/27/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
36 | 38057 | 7/28/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
37 | 38057 | 7/29/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
38 | 38057 | 7/30/2024 | 240075 | 0 | 0 | 0 | - | 0 | 150 | 120.48 | 152.37 | 191.27 | 1 | ||
39 | 38057 | 7/30/2024 | 240075 | 9.5 | 0 | 0 | 9.50 | 0 | 0 | 120.48 | 152.37 | 191.27 | 938161-045 | ||
40 | 38615 | 7/8/2024 | 240075 | 9.75 | 0 | 0 | 9.75 | 0 | 0 | 140.79 | 177.91 | 223.21 | 938161-045 | ||
41 | 38615 | 7/9/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 140.79 | 177.91 | 223.21 | 938161-045 | ||
42 | 38615 | 7/15/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 140.79 | 177.91 | 223.21 | 938161-045 | ||
43 | 38615 | 7/16/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 140.79 | 177.91 | 223.21 | 938161-045 | ||
44 | 38615 | 7/17/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 140.79 | 177.91 | 223.21 | 938161-045 | ||
45 | 38615 | 7/18/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 140.79 | 177.91 | 223.21 | 938161-045 | ||
46 | 38615 | 7/22/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 140.79 | 177.91 | 223.21 | 938161-045 | ||
47 | 38615 | 7/29/2024 | 240075 | 9.75 | 0 | 0 | 9.75 | 0 | 0 | 140.79 | 177.91 | 223.21 | 938161-045 | ||
48 | 40214 | 7/2/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
49 | 40214 | 7/2/2024 | 240075 | 4 | 0 | 0 | 4.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
50 | 40214 | 7/3/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
51 | 40214 | 7/3/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
52 | 40214 | 7/4/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
53 | 40214 | 7/8/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
54 | 40214 | 7/8/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
55 | 40214 | 7/9/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
56 | 40214 | 7/9/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
57 | 40214 | 7/10/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
58 | 40214 | 7/10/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
59 | 40214 | 7/11/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
60 | 40214 | 7/11/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
61 | 40214 | 7/12/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
62 | 40214 | 7/13/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
63 | 40214 | 7/14/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
64 | 40214 | 7/15/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
65 | 40214 | 7/15/2024 | 240075 | 9 | 0 | 0 | 9.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
66 | 40214 | 7/16/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
67 | 40214 | 7/16/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
68 | 40214 | 7/17/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
69 | 40214 | 7/17/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
70 | 40214 | 7/18/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
71 | 40214 | 7/18/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
72 | 40214 | 7/19/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
73 | 40214 | 7/20/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
74 | 40214 | 7/21/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
75 | 40214 | 7/22/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
76 | 40214 | 7/22/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
77 | 40214 | 7/23/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
78 | 40214 | 7/23/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
79 | 40214 | 7/24/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
80 | 40214 | 7/24/2024 | 240075 | 8 | 0 | 0 | 8.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
81 | 40214 | 7/25/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
82 | 40214 | 7/26/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
83 | 40214 | 7/27/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
84 | 40214 | 7/28/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
85 | 40214 | 7/29/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
86 | 40214 | 7/29/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
87 | 40214 | 7/30/2024 | 240075 | 0 | 0 | 0 | - | 0 | 165 | 130.14 | 164.52 | 206.46 | 1 | ||
88 | 40214 | 7/30/2024 | 240075 | 10 | 0 | 0 | 10.00 | 0 | 0 | 130.14 | 164.52 | 206.46 | 938161-045 | ||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D1:G1 | D1 | =SUM(D4:D88) |
J1:L1 | J1 | =SUMPRODUCT(D4:D88,J4:J88) |
M1 | M1 | =SUM(J1:L1) |