Vary formula in different file formats