Hi community,
I'm trying to find the right formula to calculate :
1- the Sum of my collection Shopping cart (as a Subtotal)
2- If a RoundUp CheckBox is ticked, then to Roundup the SubTotal, if not to keep the originalo SubTotal
3- to Add a Value from a TextInput for additional donation (for charity)
Here is what I was doing but It doesn't work and I don't know what to change:
With( {ST: If(Checkbox_RoundUp,RoundUp(Sum(ColshoppingCart,SousTotal)),Sum(ColshoppingCart, SousTotal)) + DonInput} , "Total de la commande: " & Text( ST, "##0.00 #€"))
Thanks for your help.