IIF([Carpet or Not] = -1, FORMULA, "0")
IIF(Condition, IF TRUE, IF FALSE).
The condition will have to use the field name or the control name, just incase it's different than the "Caption" you have shown.
It seems you want the IIF inside the Discount column,
IIF([Carpet or Not] = -1, "10"...