export (A[]; format=tab, expForm=off, decimals=0, file=A.txt)
produces
! entity: dwellUnit
! tenureType=rent
! 1 2 3 4 5 6 7 8 9Plus
Single 0 0 0 0 0 0 0 0 0
Semi 0 0 0 0 0 0 0 0 0
Townhouse 0 0 0 0 0 0 0 0 0
Apt_high 0 0 0 0 0 0 0 0 0
Apt_low 0 0 0 0 0 0 0 0 0
! tenureType=own
! 1 2 3 4 5 6 7 8 9Plus
Single 0 0 0 0 0 0 0 0 0
Semi 0 0 0 0 0 0 0 0 0
Townhouse 0 0 0 0 0 0 0 0 0
Apt_high 0 0 0 0 0 0 0 0 0
Apt_low 0 0 0 0 0 0 0 0 0
This file is easily opened and edited in Excel. It can be read back in to TOOL with:
A[] = import (; rowTitles=on, dataFile=$importDir/A.txt)