You can set SellingPrice = Null and in the query have something like:
FC: Iif(IsNull(SellingPrice),Null,Pcntfoodcost = [ingredientcost]/[SellingPrice]*100)
If there is no SellingPrice then leave blank, otherwise (the formula).
Notice how I've removed all blank spaces and the % - good...