I recently started running tables with significance (see syntax).
DEFINE singresp (!POS !CHAREND('/')).
!DO !i !IN ( !1).
CTABLES
/VLABELS VARIABLES=ALL DISPLAY=DEFAULT
/TABLE !i [C] BY totaal2 [C][COUNT 'Abs' F40.0, COLPCT.COUNT '%' PCT40.1]
+ totaal [C][COUNT 'Abs' F40.0, COLPCT.COUNT '%' PCT40.1]
+ segment [C][COUNT 'Abs' F40.0, COLPCT.COUNT '%' PCT40.1]
/SLABELS POSITION=ROW
/CATEGORIES VARIABLES=!i ORDER=A KEY=VALUE EMPTY=EXCLUDE TOTAL=YES POSITION=AFTER MISSING=EXCLUDE
/CATEGORIES VARIABLES=totaal2 totaal segment
ORDER=A KEY=VALUE EMPTY=INCLUDE
/CRITERIA CILEVEL=95
/COMPARETEST TYPE=PROP ALPHA=0.05 ADJUST=BONFERRONI ORIGIN=COLUMN INCLUDEMRSETS=YES
CATEGORIES=ALLVISIBLE MERGE=YES STYLE=SIMPLE SHOWSIG=NO
/TITLES
TITLE="4775 "
CAPTION='2022'.
!DOEND.
!ENDDEFINE.
But when I export the table output to excel, the numerical values are written as a text field.
So I can't make any calculations with it in Excel now.
Now I have already converted the textfileds in excel to numeric, but then (in the green marked cell for example) it turns 90
1 to 901.
Anyone have a solution for this?
------------------------------
Michel de Graaf
------------------------------
#SPSSStatistics