cook excel data to the type we need