I can picture what I want in my head and on paper, but I can't get my mind around it using the FMP functions - thanks in advance for the help.
I am working on a accounts statements page. I have summary fields that add up my Over 90, Over 60, Over 30, and current due. My situation is - if there is a credit balance in the Over 90 column, I first want it to apply to the Over 60, and if 0, then Over 30, and if O then Current. And the same is true for the Over 60 with credits, Over 30. And the same is true for the other direction. If there is a credit in the current, Over 30, Over 60, and a balance in the Over 90 - I want it applied to the Over 90 first.
Basically - I need some calculation that will apply any credit to the most outstanding amount due.
Sounds simply enough - but I am just not wrapping my head around it.
Thank you for you help.