williams_ryan_1
New Member
- Joined
- Aug 15, 2016
- Messages
- 9
Hello. I need help creating a formula to compare and look for items between sheet1 and sheet2 below. Sheet1 is a report I can run to see what lines currently exist in our system. Sheet2 is an example of what the monthly invoice looks like. I need to determine what the line numbers are (from Sheet1) for each line item on Sheet2. What formula can I use to compare the description, charge number and work location to populate the line # from sheet1 next to each line item on sheet2? Sheet2 is a pivot table if that makes a difference. If you could help that would be great!
SHEET1
Line # Description Charge number Funded Expended Remaining
1 WORKER 1 C12345 $126,426.45 $2,463.00 $123,963.45
2 WORKER 2 C23456 $4,783.52 $4,783.52 $-
3 WORKER 3 C34567 $921.96 $921.96 $-
4 WORKER 4 C45678 $866.40 $866.40 $-
5 WORKER 5 C56789 $35,208.40 $35,208.40 $-
160 WORKER 8 C78901 $1,397.60 $1,397.60 $-
8 WORKER 1 C89012 $5,915.91 $5,915.91 $-
9 WORKER 9 C90123 $980.10 $980.10 $-
162 WORKER 4 CA2345 $1,732.80 $1,732.80 $-
163 WORKER 8 CA2345 $7,056.72 $7,056.72 $-
164 WORKER 10 CA2345 $1,842.88 $1,842.88 $-
SHEET2 (Pivot Table)
ChargeNumber WorkLocation Description Code BillRate Hours Sum of Cost
C12345 On-Site WORKER 8 1000 $153.66 114 $17,517.24
C23456 Off Site WORKER 4 2000 $60.17 39 $2,346.63
C34567 On-Site WORKER 8 1000 $153.66 4 $614.64
C56789 On-Site WORKER 1 3000 $118.83 25 $2,970.75
C67890 On-Site WORKER 2 4000 $87.35 32.5 $2,838.88
C67890 On-Site WORKER 3 3000 $111.23 44 $4,894.12
C45678 On-Site WORKER 5 3000 $102.35 159.5 $16,324.83
C78901 On-Site WORKER 8 1000 $153.66 8 $1,229.28
C89012 Off Site WORKER 10 5000 $98.01 4 $392.04
C90123 Off Site WORKER 10 5000 $98.01 24 $2,352.24
C90123 On-Site WORKER 3 3000 $111.23 129 $14,348.67
C01234 On-Site WORKER 1 3000 $118.83 4 $475.32
CA2345 On-Site WORKER 2 4000 $87.35 23.5 $2,052.73
CA1234 On-Site WORKER 2 4000 $87.35 64 $5,590.40
SHEET1
Line # Description Charge number Funded Expended Remaining
1 WORKER 1 C12345 $126,426.45 $2,463.00 $123,963.45
2 WORKER 2 C23456 $4,783.52 $4,783.52 $-
3 WORKER 3 C34567 $921.96 $921.96 $-
4 WORKER 4 C45678 $866.40 $866.40 $-
5 WORKER 5 C56789 $35,208.40 $35,208.40 $-
160 WORKER 8 C78901 $1,397.60 $1,397.60 $-
8 WORKER 1 C89012 $5,915.91 $5,915.91 $-
9 WORKER 9 C90123 $980.10 $980.10 $-
162 WORKER 4 CA2345 $1,732.80 $1,732.80 $-
163 WORKER 8 CA2345 $7,056.72 $7,056.72 $-
164 WORKER 10 CA2345 $1,842.88 $1,842.88 $-
SHEET2 (Pivot Table)
ChargeNumber WorkLocation Description Code BillRate Hours Sum of Cost
C12345 On-Site WORKER 8 1000 $153.66 114 $17,517.24
C23456 Off Site WORKER 4 2000 $60.17 39 $2,346.63
C34567 On-Site WORKER 8 1000 $153.66 4 $614.64
C56789 On-Site WORKER 1 3000 $118.83 25 $2,970.75
C67890 On-Site WORKER 2 4000 $87.35 32.5 $2,838.88
C67890 On-Site WORKER 3 3000 $111.23 44 $4,894.12
C45678 On-Site WORKER 5 3000 $102.35 159.5 $16,324.83
C78901 On-Site WORKER 8 1000 $153.66 8 $1,229.28
C89012 Off Site WORKER 10 5000 $98.01 4 $392.04
C90123 Off Site WORKER 10 5000 $98.01 24 $2,352.24
C90123 On-Site WORKER 3 3000 $111.23 129 $14,348.67
C01234 On-Site WORKER 1 3000 $118.83 4 $475.32
CA2345 On-Site WORKER 2 4000 $87.35 23.5 $2,052.73
CA1234 On-Site WORKER 2 4000 $87.35 64 $5,590.40