Refactored export to excel so that padding is adjusted just at the end
Changed where it checks that all row and column headers are the same length