I have a data in excel with 6 columns as attached in image. [![Excel data][1]][1] I have applied formula in Output column-
`=IF(([673]-249)<0,[673]-178,[67