Set Minimum Output Value in Calculator Result

Hi there! I’m building a calorie calculator and I want to apply a minimum calorie floor in one of my formula fields. Specifically, I want the final result to round up to 1100 if the calculated value is less than 1100.

I’m currently using SUM(TDEE, Goal) to calculate the daily calorie target, but I’d like to apply logic like:
“If result < 1100, then show 1100. Otherwise, show the result as is.”

Is there a way to implement this kind of conditional logic in the formula field? Or do I need to split this into multiple steps? Would love guidance on how to structure this properly in Elfsight!

(Free Calorie Calculator for Weight Loss & Body Recomposition)

Thanks!

1 Like

Hey there and welcome to the Community, @Alix_Turoff :waving_hand:

I’ve checked your widget and it seems you’ve already found a solution:


Could you please let me know if it’s working the way you need?

Hi- I don’t want the results to show separately (the way it is now)- instead, I want there to be a way to not show the result at all if it’s under 1100 calories

1 Like

Got you! In this case, you can just hide this calculation from the results :slightly_smiling_face:


Thanks so much! I think I have it working now!

1 Like