Cannot Run 'if condition'

  1. if take_away_item ==‘1’ then 1*total_items end

here is the formula, but the generated data always show:
error: Field ‘take_away_item’ not found (I have created that field alrdy)

  1. if __bread ==‘11.9||6||15.9’, then food_amount*0.2 else NULL end

I dunno what is the mistake happen in this formula…
Syntax error in formula ‘if __bread ==‘11.9||6||15.9’, then food_amount*0.2 else NULL end’

Can you provide your schema by posting the Public URL: (at the bottom of your schema).