Excel to various JSON objects

后端 未结 2 926
有刺的猬
有刺的猬 2021-01-16 15:38

I have this Excel table:

country     year    1       2       3       4

Netherlands 1970    3603    4330    5080    5820
Netherlands 1971    3436    4165    4929          


        
2条回答
  •  再見小時候
    2021-01-16 16:17

    I sometimes just use simple string concatanation to generate SQL Statements, guess you could do something like:

    =A2 + ": { " + A3 + ", " + A4 + ", " + A5 + ", " + A... +"}"

    Than wrap it inside data = [], or use a fancy formula.. For the second part you should lock the row with $A1

提交回复
热议问题