parses and writes back to excel