I need to lookup up a value based on a range to determine length accrual rate based on length of employment. Example below.
1st table; Person reflects 27 months length of service using code 1.
2nd table; code 1 has 3 records. If 168 minimum months of service they get rate A, if 84 minimum months of service they get rate B, ect.
Now we need to determine which rate by comparing the 27 months for code 1 to get the correct rate, how in ad-hoc?
Hope I make sence, thanks for your help!
1st table; Person reflects 27 months length of service using code 1.
2nd table; code 1 has 3 records. If 168 minimum months of service they get rate A, if 84 minimum months of service they get rate B, ect.
Now we need to determine which rate by comparing the 27 months for code 1 to get the correct rate, how in ad-hoc?
Hope I make sence, thanks for your help!