Forum Discussion

frank1510's avatar
frank1510
Copper Contributor
Oct 04, 2023

attempting to build an adjusting running calculator

I want to have running total for a set number of days (lets say 20) where there is a total (lets say 3000) that is divided amongst the 20 days (so 150 a day) but if a certain day exceeds or fails to ...
  • Patrick2788's avatar
    Patrick2788
    Oct 04, 2023

    frank1510 

    Yes, then the formula can be simplified a bit:

    =LET(
        distributed, amount / target,
        exceptions, SUM(FILTER(actual, actual <> distributed, 0)),
        allocate, (amount - exceptions) / total_days,
        allocate
    )

Resources