27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GET TRANSLATE 637<br />

• The first row of a spreadsheet or specified range may contain field labels immediately<br />

followed by rows of data. These names can be transferred as SPSS variable names (see<br />

the FIELDNAMES subcommand on p. 640).<br />

• The current value of a formula is translated to the working data file.<br />

• Blank, ERR, and NA values in 1-2-3 and Symphony and error values such as #N/A in<br />

Excel are translated as system-missing values in the working data file.<br />

• Hidden columns and cells in 1-2-3 Release 2 and Symphony files are translated and copied<br />

into the working data file.<br />

• Column width and format type are transferred to the dictionary of the working data file.<br />

• The format type is assigned from values in the first data row. By default, the first data row is<br />

row 1. If RANGE is specified, the first data row is the first row in the range. If FIELDNAMES<br />

is specified, the first data row follows immediately after the single row containing field<br />

names.<br />

• If a cell in the first data row is empty, the variable is assigned the global default format<br />

from the spreadsheet.<br />

The formats from 1-2-3, Symphony, Excel, and Multiplan are translated as follows:<br />

1-2-3/Symphony Excel SYLK SPSS<br />

Fixed 0.00; #,##0.00 Fixed F<br />

0; #,##0 Integer F<br />

Scientific 0.00E+00 Exponent E<br />

Currency $#,##0_);... $ (dollar) DOLLAR<br />

, (comma) COMMA<br />

General General General F<br />

+/ - * (bargraph) F<br />

Percent 0%; 0.00% Percent PCT<br />

Date m/d/yy;d-mmm-yy... DATE<br />

Time h:mm; h:mm:ss... TIME<br />

Text/Literal F<br />

Label Alpha String<br />

• If a string is encountered in a column with numeric format, it is converted to the systemmissing<br />

value in the working data file.<br />

• If a numeric value is encountered in a column with string format, it is converted to a blank<br />

in the working data file.<br />

• Blank lines are translated as cases containing the system-missing value for numeric variables<br />

and blanks for string variables.<br />

• 1-2-3 and Symphony date and time indicators (shown at the bottom of the screen) are not<br />

transferred from WKS, WK1, or SYM files.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!