Something like:case when ISNULL(CONVERT(int,[QtyOnHand]),0)>ISNULL(CONVERT(int,[AnticipatedQty]),0) then ISNULL(CONVERT(int,[QtyOnHand]),0) else ISNULL(CONVERT(int,[AnticipatedQty]),0)end*[CubicInches]/case when case when ISNULL(CONVERT(int,[QtyOnHand]),0)>ISNULL(CONVERT(int,[AnticipatedQty]),0) then ISNULL(CONVERT(int,[QtyOnHand]),0) else ISNULL(CONVERT(int,[AnticipatedQty]),0) end*[CubicInches]/33600>.55 then 55400 else 33600 end