Hi Guys,
What I want to do is this:
I have 1 sheet in excel that holds records(among others) TRANSACTION AMOUNTS,TRANSACTIONS DATES, DEAL DATE, NEXT DEAL DATE.
I have created the NEXT DEAL DATE because I want to be able to find transactions between those dates and sum them up so that each DEAL ID will hold the amount that was collected from it.
How does it work?
1.) The deal date holds the date of the deal, and the next deal date column holds the date of the next deal(if there is one) or today's date if there is no other deal after that - in that way I am able to sum all collections between that date and today.
2.) I want to give the last deal the credit of the transaction, so that it if I have a transaction between 2 deals, the last one will get the amount on its row.
Because the table is arranged by account number and then by deal dates, each transaction needs to be looping on every DEAL_date and find the latest DEAL and attribute the amount on that row to that deal.
Any ideas friends?
Thanks and have a good day
Bookmarks