For the second question:
I want to verify for a given transaction id in column 2 if the value put is similar to that of the pervious entry or not. If the value is not matching then throw an error and clear the cell.
For question 3:
I would try with more examples ( atleast 3)
first one:
Explanation 1:
for the transaction id 001 the payment made is twice. first time it is 500 and the second time it is 1000( which is excess) so in the first row the Minus column value would be 0 because 1000 - 500 = 500 which is greater than zero. and in the second transaction(row 5) a payment of 1000 is received for the same transaction id ( remember that we had already received a payment of 500 before). so the total payment received is 1500 and the transaction amount was 1000 only so, the amount received is extra, hence, in the result section, the value displayed in the 5th row(second time payment recieved) is 0 and value displayed in the minus section is 500( no minus sign).
it is something, to find over due or under due of a particular transaction.
Explanation 2:
Taking the transaction with transaction id 002
the total amount of transaction is worth 5000(ColumnXXX), and the first time the amount received is 1000 ( ColumnYYY) so in the result column for 002 transction 5000- 1000 =4000 is shown. and in the minus column, since 4000 is a positive number so 0 is displayed. in the second time payment of 3000(columnYYY) is made so we have received a total of 3000 + 1000 = 4000, hence, 5000 - 4000 =1000 is displayed in the result column. and again, since, 1000 is positive so, in the minus column 0 is displayed.
I have tried harder this time to explain my situation. Please let me know if still i am not very much clear.
Thanks for your Help.
Bookmarks