<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: import '0' instead of '.' from excel in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611164#M178077</link>
    <description>Excel also gave you negative standard deviations at one point &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Wed, 11 Dec 2019 20:59:55 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-12-11T20:59:55Z</dc:date>
    <item>
      <title>import '0' instead of '.' from excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611100#M178050</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This may be a common task, but I cannot find a better way to solve it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When importing to SAS from Excel, in the numeric fields I get the '.' values&amp;nbsp; if in Excel cells I have blanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you please tell in case of fields having blanks if it is possible to get&amp;nbsp; '0'&amp;nbsp; values instead of '.' during import?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 18:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611100#M178050</guid>
      <dc:creator>Ivan555</dc:creator>
      <dc:date>2019-12-11T18:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: import '0' instead of '.' from excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611103#M178051</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options missing=0;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Dec 2019 18:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611103#M178051</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-11T18:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: import '0' instead of '.' from excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611105#M178052</link>
      <description>Yeah, this isn't a common task and replacing missing with 0 can be dangerous and not valid in many circumstances so it's handled by a one off solution. &lt;BR /&gt;&lt;BR /&gt;Is it many variables? PaigeMillers solution will change how it appears but not necessarily how it's handled. If you were doing an average calculation, would you want 0's included in the average and count or not?</description>
      <pubDate>Wed, 11 Dec 2019 18:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611105#M178052</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-12-11T18:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: import '0' instead of '.' from excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611134#M178068</link>
      <description>&lt;P&gt;I can't think of a situation where you would want missings to be considered a zero for data analysis purposes. I think it makes sense to handle them as missing, even if it shows as a zero, which is what &lt;FONT face="courier new,courier"&gt;OPTIONS MISSING=0;&lt;/FONT&gt; does.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The drawback to &lt;FONT face="courier new,courier"&gt;OPTIONS MISSING=0;&lt;/FONT&gt; is that every missing in the entire data set (and all other data sets) will appear as zero until you turn the option back to &lt;FONT face="courier new,courier"&gt;OPTIONS MISSING=.;&lt;FONT face="arial,helvetica,sans-serif"&gt; There is no way to limit this to just a single data set or to certain columns in a data set.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 20:24:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611134#M178068</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-11T20:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: import '0' instead of '.' from excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611136#M178070</link>
      <description>Neither can I, but I suspect the OP doesn't know the difference between a number appearing as 0 and still being missing as the underlying value.</description>
      <pubDate>Wed, 11 Dec 2019 20:29:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611136#M178070</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-12-11T20:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: import '0' instead of '.' from excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611137#M178071</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Neither can I, but I suspect the OP doesn't know the difference between a number appearing as 0 and still being missing as the underlying value.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I seem to recall that if you go back 20 years, Excel didn't know the difference between 0 and missing; and all missings were treated as zeros , giving you incorrect averages and so on. (But that has been fixed)&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 20:33:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611137#M178071</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-11T20:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: import '0' instead of '.' from excel</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611164#M178077</link>
      <description>Excel also gave you negative standard deviations at one point &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 11 Dec 2019 20:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-0-instead-of-from-excel/m-p/611164#M178077</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-12-11T20:59:55Z</dc:date>
    </item>
  </channel>
</rss>

