The following code: export (hhs5Tohhs6[hhs6+,hhs5+]; format=coord, allCoord=off, delimiter=",", \ file=$importDir/hhs5Tohhs6.csv) Produces the file with content: 1,1,,,, 2,,1,,, 3,,,1,, 4,,,,1, 5,,,,,0.7 6Plus,,,,,0.3