Hi, I have a complex problem.
There are range of values
Range Min Max A 0 5000 B 5000 10,000 C 10,000 10,000,000
There are loan number sorted in certain way with their AMOUNT
L1 = 1000
L2 = 5000
L3 = 6000
Problem:
Find the Range value for each loan. and its overflow..
In case of loan 2...I need to find out how much of L2 can fit in range A before it remaining moves to Range B.
So in above case, I should get
L1 is Range A
L2 is Range A for 4000
L2 is Range B for 1000
L3 is Range B for 4000
L3 is Range C for 2000
Based on Range value, there are other columns which are suppose to be used in calculation appropriately.
Bookmarks