Forum Discussion
ds100
Dec 28, 2021Copper Contributor
How to Calculate LIFO with Dynamic Arrays
Hello All, I have a list of purchases and sales. In a new column, I would like to show the LIFO cost basis for each sales row. Using the "Let" function, I started down this path by loading (i) the...
PeterBartholomew1
Dec 29, 2021Silver Contributor
Good luck with that as a task!
I probably have used functions that you do not have and would still require a lot of work to boil the calculation down to a single formula!
Note: SUMIFS can provide an alternative to SCAN when a running total is required.
- myesilDec 19, 2023Copper ContributorThis is amazing. I've been looking for this kind of solution for months. How can I use this for multiple products. Regads,
- ds100Dec 29, 2021Copper Contributor
Thanks PeterBartholomew1
I hope Lambda and Scan hit 365 soon 🤞
- PeterBartholomew1Dec 29, 2021Silver ContributorIf you are working with a corporate license you would need IT to sign you up for Insider beta for a while. I don't think the 2D grid I laid out is strictly necessary but it helped me work through the problem; FIFO calcs are not my forte!
- ds100Dec 29, 2021Copper Contributorthat's good to know. thank you