I've attached some sample data. What I'm trying to do is figure out which combination of visa transactions make up the GL transaction amount. In the Result(Visa) tab you can see the expected output. I'm thinking I need to build some sort of macro to loop through combinations but was wondering if there's a different/easier way?