XLS structured variable extractor and cleaner