<?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 Excel and Make a Column with Dates a Character Column in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119253#M32877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It somewhat depends on how you're importing it (which DBMS you're using), but most of the time the MIXED=YES option is helpful for what you're asking.&amp;nbsp; If not, post your full import code (with filename anonymized if needed) so you can get the best help possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2013 20:03:53 GMT</pubDate>
    <dc:creator>snoopy369</dc:creator>
    <dc:date>2013-10-21T20:03:53Z</dc:date>
    <item>
      <title>Import Excel and Make a Column with Dates a Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119252#M32876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am bringing in a table from excel to SAS. I am having trouble with converting one of the columns into a character column. I have a column in excel with some of the cells as dates and some of the cells as text. I would like to import this column as text though. How can I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 19:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119252#M32876</guid>
      <dc:creator>AAWTomHanks</dc:creator>
      <dc:date>2013-10-21T19:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel and Make a Column with Dates a Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119253#M32877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It somewhat depends on how you're importing it (which DBMS you're using), but most of the time the MIXED=YES option is helpful for what you're asking.&amp;nbsp; If not, post your full import code (with filename anonymized if needed) so you can get the best help possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119253#M32877</guid>
      <dc:creator>snoopy369</dc:creator>
      <dc:date>2013-10-21T20:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel and Make a Column with Dates a Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119254#M32878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC IMPORT OUT= WORK.IMPRT_EXCEL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATAFILE= 'C:/new.xls'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=EXCELCS REPLACE; PORT=0000; SERVER='01.01.001.01';&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SHEET="grp";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCANTEXT=YES;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USEDATE=YES;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCANTIME=YES; RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119254#M32878</guid>
      <dc:creator>AAWTomHanks</dc:creator>
      <dc:date>2013-10-21T20:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel and Make a Column with Dates a Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119255#M32879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You said some date, some text. &lt;BR /&gt;What does that look like in Excel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:26:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119255#M32879</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-10-21T20:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel and Make a Column with Dates a Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119256#M32880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The column has dates like this 8/12/2012 and text like this "not signed". Some of the cells are blank too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:39:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119256#M32880</guid>
      <dc:creator>AAWTomHanks</dc:creator>
      <dc:date>2013-10-21T20:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel and Make a Column with Dates a Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119257#M32881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could add three rows with text value at the top of your excel file to force sas treating your date column as text&amp;nbsp; and delete the added row after importing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 20:48:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119257#M32881</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2013-10-21T20:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Import Excel and Make a Column with Dates a Character Column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119258#M32882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;You could also specify the value "guessingrows=32000". That will make SAS look at the first 32,000 rows of data to guess the type instead of the first 8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can't be guaranteed that the text occurs in the first 32000 rows, then I would suggest not using proc import from an excel file (frankly I suggest this anyways. Excel is just an awful data storage program).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2013 22:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Import-Excel-and-Make-a-Column-with-Dates-a-Character-Column/m-p/119258#M32882</guid>
      <dc:creator>Anotherdream</dc:creator>
      <dc:date>2013-10-21T22:38:39Z</dc:date>
    </item>
  </channel>
</rss>

