I require a bit of vba to do a match or lookup of 2 values to a matrix of delegated authority by region and return the Position ID.
See sample data file attached.
Lookup value 1 is the Region
Lookup value 2 is the Amount
The lookup Amount must not exceed the matching matrix amount, but must be the lowest matching Position ID.
Assume that the matrix is sorted by Region, by Amount by Position ID.
Eg.
Region = A, Amount = 85,000 will return Position ID = Supervisor 1
Region = C, Amount = 1,185,000 will return Position ID = General Manager 3
Region = B, Amount = 500 will return Position ID = Admin 2
Any help would be much appreciated. Thanks
Bookmarks