Remove cell containing reference command