Question

I have an Excel file containing 120,000 lines of employee data in the following format:

SO21169646 question first example

and for JSON input would like the results laid out so:

SO21169646 question second example

The language doesn’t matter (PHP, JavaScript, VBA, Python…) but how might I achieve such conversion?

Was it helpful?

Solution

=IF(NOT(ISBLANK(A5)),C6&", "&C7&", "&C8&", "&C9)  

in D4 copied down (120,000 rows), replaced with values and deletion of ColumnC and any row containing - (or blank) in Column A might do it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top