How to get an excel column name to set a case value

梦想的初衷 提交于 2019-12-13 03:00:40

问题


It is possible to get an excel column name to set a case value?

Not a best way to show you my expectation than with an example.

Example

Input excel file

LastName,FirstName,Maths,IT
John,Polo,10,15
Mike,Dupond,6,9

Result excepted

LastName,FirstName,Course,Grade
John,Polo,Maths,10
John,Polo,IT,15
Mike,Dupond,Maths,6
Mike,Dupond,IT,9

Here my actual Talend structure

Currently, this structure allow me to obtain this result:

LastName,FirstName,Course,Grade
John,Polo,"",10
John,Polo,"",15
Mike,Dupond,"",6
Mike,Dupond,"",9

Thank's for help!

来源:https://stackoverflow.com/questions/49752841/how-to-get-an-excel-column-name-to-set-a-case-value

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!