I'm trying to figure out a way to allocate a sell transaction to tax lots where the order might change over time.
For example:
Say you have a table with four columns and the number of units of stock stored in a row across the four columns.
So
A1 has the number 10
A2 has the number 4
A3 has the...