Refactor error handling during excel file loading

Was originally deeply nested if statements which made making changes to
it a little hectic so I flattened it.
Remove an 'from x import *' usage