How to export the distribution to Excel?