Hi,
I have two sheets that I need to map, I used xlookup based on employee ID, but what I need is to use employee ID and payment data:
not sure why I get error 91 when I tried to copy as mini table or sheet, but here's the table and formula I used, if anyone can help with adjusting the formula to get the payment amount based Employee ID and Scheduled Payment Date PPD End row:
Payment Date is 7/31/2023 =XLOOKUP(A13,H:H,K:K)
Payment Date is 8/15/2023 = =XLOOKUP(A14,H:H,L:L)
and so on
I have two sheets that I need to map, I used xlookup based on employee ID, but what I need is to use employee ID and payment data:
not sure why I get error 91 when I tried to copy as mini table or sheet, but here's the table and formula I used, if anyone can help with adjusting the formula to get the payment amount based Employee ID and Scheduled Payment Date PPD End row:
Payment Date is 7/31/2023 =XLOOKUP(A13,H:H,K:K)
Payment Date is 8/15/2023 = =XLOOKUP(A14,H:H,L:L)
and so on
Column H | Column J | Column K | Column L | Column M | Column N | Column O | Column P | Column Q | ||||||||
PPD Start | 7/15/2023 | 8/1/2023 | 8/16/2023 | 9/1/2023 | 9/16/2023 | 10/1/2023 | 10/16/2023 | |||||||||
Scheduled Payment Date | PPD end | 7/31/2023 | 8/15/2023 | 8/31/2023 | 9/15/2023 | 9/30/2023 | 10/15/2023 | 10/31/2023 | ||||||||
Days in PPD | 11 | 11 | 12 | 11 | 10 | 10 | 12 | |||||||||
Employee ID | Total days of severance | Payment amount | Payment amount | Payment amount | Payment amount | Payment amount | Payment amount | Payment amount | ||||||||
12345678 | 25 | 0 | 2,773 | 4,754 | 2,377 | 0 | 0 | 0 | ||||||||
23456789 | 36 | 0 | 3,531 | 7,062 | 6,473 | 4,119 | 0 | 0 | ||||||||
23456790 | 31 | 0 | 6,473 | 7,062 | 4,708 | 0 | 0 | 0 | ||||||||
Employee ID | Scheduled Payment Date | Amount | ||||||||||||||
12345678 | 7/31/2023 | 0 | ||||||||||||||
12345678 | 8/15/2023 | 2,773 | ||||||||||||||
12345678 | 8/31/2023 | 4,754 | ||||||||||||||
12345678 | 9/15/2023 | 2,377 | ||||||||||||||
12345678 | 9/30/2023 | 0 | ||||||||||||||
12345678 | 10/15/2023 | |||||||||||||||
12345678 | 10/31/2023 | |||||||||||||||
23456789 | 7/31/2023 | 0 | ||||||||||||||
23456789 | 8/15/2023 | 3,531 | ||||||||||||||
23456789 | 8/31/2023 | |||||||||||||||
23456789 | 9/15/2023 | |||||||||||||||
23456789 | 9/30/2023 | |||||||||||||||
23456789 | 10/15/2023 | |||||||||||||||
23456789 | 10/31/2023 |