Extract information from an excel in a generic way