Hi,
I have 2 data tables. but the row orders are not matching. i need to arrange the rows as per another data table rows order.
DT1:
DateOfService | Proc | Charge | AllowedAmount |
---|---|---|---|
04/20/2020 | 99284 | 5164.00 | 796.11 |
04/20/2020 | 96372 | 247.00 | .00 |
04/20/2020 | 96372 | 247.00 | .00 |
04/20/2020 | J0696 | 60.00 | .00 |
04/20/2020 | J1885 | 130.00 | .00 |
04/20/2020 | J8499 | 25.00 | .00 |
04/20/2020 | A4550 | 19.00 | .00 |
04/20/2020 | A4649 | 12.00 | .00 |
DT2:
DateOfService | Proc | Charge | Remainder |
---|---|---|---|
4/20/2020 | 99284 | 5164 | 4592.23 |
4/20/2020 | 96372 | 247 | 224.44 |
4/20/2020 | J0696 | 60 | 60 |
4/20/2020 | 96372 | 247 | 224.44 |
4/20/2020 | J1885 | 130 | 130 |
4/20/2020 | J8499 | 25 | 25 |
4/20/2020 | A4550 | 19 | 19 |
4/20/2020 | A4649 | 12 | 12 |
i have above 2 data tables. i need to reorder the DT2 as per DT1. we can consider DataOfService, Proc and Charge columns for matching conditions.
pls help easy possible way!