This seems so simple yet I cannot figure out a formula that works.
I need to collect a $ amount from a column based on multiple criteria, including a latest submission date. I played around with index, match, max, collect and I feel like I'm almost there but just can't figure it out. Here's what I have:
=INDEX(COLLECT(Budget:Budget,Status:Status,"Approved"),MATCH(MAX([Submission Date]:[Submission Date]),[Submission Date]:[Submission Date],0))
I keep getting "invalid value". The formula works fine at first but as soon as I add a new row of data on the bottom, the "invalid value" appears". I have tried so many variations but to no avail.
Basically, I want to collect the amount in "Budget" column where status column displays "Approved" but since I have multiple budget entries that are approved, I want only the number with the latest submission date. How can I do that and still be able to add data to my database without breaking that formula??
TIA!