<?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: Excel is reading blank columns as a b c d etc. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-is-reading-blank-columns-as-a-b-c-d-etc/m-p/310353#M20950</link>
    <description>&lt;P&gt;You will find that it is Excel which is telling SAS these columns contain data not SAS. &amp;nbsp;What it is - per most Excel "features" - is things that are hidden behind the scenes, formats on cells, coloring and other formatting can indicate to Excel that there is "contents" in those cells - SAS just checks that information and reads in what Excel tells it contains data. &amp;nbsp;You can see this by highlighting all the columns to the right of your data which you can see don't contain data, highlight them and delete them. &amp;nbsp;The data will then import correctly. &amp;nbsp;It will be something small like formats on a cell or borders or something, Excel considers anything within a cell "data" not just a value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to add an example. &amp;nbsp;If you create a new workbook, and in sheet 1 cell B2 you put:&lt;/P&gt;
&lt;P&gt;=concatenate(A1,"")&lt;/P&gt;
&lt;P&gt;What have we done here, well A1.value and B1.value both contain nothing. &amp;nbsp;However B1.formula does contain something, so Excel's datarange is set as A1:B1. &amp;nbsp;Now when SAS reads that in, it looks for that data range and reads it in, even though there is no variable. &amp;nbsp;Anything you put into a cell will cause Excel to presume that cell is part of the datarange.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2016 14:24:58 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2016-11-09T14:24:58Z</dc:date>
    <item>
      <title>Excel is reading blank columns as a b c d etc.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-is-reading-blank-columns-as-a-b-c-d-etc/m-p/310351#M20949</link>
      <description>&lt;P&gt;I am using SAS EG 5.1.&amp;nbsp;&amp;nbsp; when i am importing data from excel, along with data columns it is reading other columns and naming as A, B,C D... ETC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any option to restrict to read only the valid data colums from SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Durga.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 12:58:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-is-reading-blank-columns-as-a-b-c-d-etc/m-p/310351#M20949</guid>
      <dc:creator>Durga_SAS</dc:creator>
      <dc:date>2016-11-09T12:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Excel is reading blank columns as a b c d etc.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-is-reading-blank-columns-as-a-b-c-d-etc/m-p/310353#M20950</link>
      <description>&lt;P&gt;You will find that it is Excel which is telling SAS these columns contain data not SAS. &amp;nbsp;What it is - per most Excel "features" - is things that are hidden behind the scenes, formats on cells, coloring and other formatting can indicate to Excel that there is "contents" in those cells - SAS just checks that information and reads in what Excel tells it contains data. &amp;nbsp;You can see this by highlighting all the columns to the right of your data which you can see don't contain data, highlight them and delete them. &amp;nbsp;The data will then import correctly. &amp;nbsp;It will be something small like formats on a cell or borders or something, Excel considers anything within a cell "data" not just a value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to add an example. &amp;nbsp;If you create a new workbook, and in sheet 1 cell B2 you put:&lt;/P&gt;
&lt;P&gt;=concatenate(A1,"")&lt;/P&gt;
&lt;P&gt;What have we done here, well A1.value and B1.value both contain nothing. &amp;nbsp;However B1.formula does contain something, so Excel's datarange is set as A1:B1. &amp;nbsp;Now when SAS reads that in, it looks for that data range and reads it in, even though there is no variable. &amp;nbsp;Anything you put into a cell will cause Excel to presume that cell is part of the datarange.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 14:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Excel-is-reading-blank-columns-as-a-b-c-d-etc/m-p/310353#M20950</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-11-09T14:24:58Z</dc:date>
    </item>
  </channel>
</rss>

