Forum Discussion

Drezna's avatar
Drezna
Copper Contributor
Mar 29, 2022
Solved

IF SUM > 40, subtract the difference of total - 40 from specific cell

Regular: 34 Prevailing: 2.50 Shop: 6.00 ---------- Total: 42.50   That's example of data. Now, since the total is over 40, subtract 2.50 from SHOP and give new balance.   Anyone have ideas on...
  • Drezna's avatar
    Mar 29, 2022
    Ok, so I did this formula ... and got the results I want. However, I have a secondary question. If there is not enough SHOP to delete to get to 40, can I make it automatically shift to take from REGULAR (after emptying SHOP?)

    =IF(SUM(F20:F24)>40,F23-SUM(F25-40),"")

Resources