I have created an iterative macro to run a FIFO on one bank account but I now want to extend it to multiple bank accounts. Currently, I've done a shortcut in this workflow to manually filter each bank account and union the results, but i'm sure there is a better solution, especially if i was looking at a large number of bank accounts. Is batch macro on top of the iterative macro the only solution?
Solved! Go to Solution.
@jy12352
I am thinking to have a Batch Macro on top of the iterative macro.
If possible can you share the input file and macro?
An Exported Workflow (go to Options -> Export Workflow) is much more helpful to share and will package all the elements, including datasets and macros, of your workflow (so make sure data is sample data).
I agree with @Qiu , a batch macro on top of the iterative may be the simplest way to go although you may be able to reconfigure your iterative macro to group by bank account and process all at once using only a single macro (no nesting).
Happy Solving!
Thanks for the reminder about how to properly export the workflow! First timer.
You both inspired me to try again and I figured out the batch + iterative macro. I did a few more tests through each of the bank accounts and realised it was because one of the bank accounts had an overdraft account i.e. withdrawals > deposits which was causing my iterative FIFO macro to go a bit crazy. Once i corrected that data/ put a formula to stop that issue, it worked like a gem. Thanks for the inspiration!
User | Count |
---|---|
19 | |
14 | |
13 | |
9 | |
8 |