Cut off formula in different file formats