this is my first question ever. I'm trying to check the ins and outs of money on an account, and where the money came and went. For this, I made something like this:
Sample of the diary book in green, the account list in yellow and cash book in red.
I'm looking for a function that reads the account, in the diary book, and if the accounts is one in an interval(leaving in this case assets outside), it prints in the cash book the date, account, and money in or out.