<?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: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly in Microsoft Integration with SAS</title>
    <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166193#M1467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I would drop the Excel calculation columns completely and focusing on the data itself.&amp;nbsp; I.e. once it is read in do some error checking in your code.&amp;nbsp; Alternatively save the Excel file as CSV and then read that in so you have control over it.&amp;nbsp; Would be worth seeing if the ISERROR function resolves to 5 in a csv, or if that is something on the SAS read mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2014 14:26:00 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-05-20T14:26:00Z</dc:date>
    <item>
      <title>SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166192#M1466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A colleague of mine was using EG and importing a spreadsheet (with the SAS EG Import task) that contained data in hardcoded numbers and binary 1/0 columns that were produced by nested IFERROR(IF()) functions. The cells with IFERROR were (correctly) detected as having numeric data, but the data set created had 5 for every value in those columns. He found a workaround by removing IFERROR and only using IF(), but that could result in errors in the workbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other possibly important information:&lt;/P&gt;&lt;P&gt;SAS EG 4.3, SAS 9.2, Excel file was stored on Microsoft Sharepoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on this? Can SAS not handle IFERROR or is there something else? Anyone ever had a formula column get pulled in as all 5's or any number?_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 14:11:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166192#M1466</guid>
      <dc:creator>cau83</dc:creator>
      <dc:date>2014-05-20T14:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166193#M1467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I would drop the Excel calculation columns completely and focusing on the data itself.&amp;nbsp; I.e. once it is read in do some error checking in your code.&amp;nbsp; Alternatively save the Excel file as CSV and then read that in so you have control over it.&amp;nbsp; Would be worth seeing if the ISERROR function resolves to 5 in a csv, or if that is something on the SAS read mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 14:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166193#M1467</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-05-20T14:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166194#M1468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post an example of the full formula used in Excel, or a sample of the workbook?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 14:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166194#M1468</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-20T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166195#M1469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IFERROR(IF(A2&amp;gt;0,1,0),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where A2 could have an error because it was a lookup to somewhere else on another sheet. Let's assume IFERROR is necessary in the spreadsheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 14:59:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166195#M1469</guid>
      <dc:creator>cau83</dc:creator>
      <dc:date>2014-05-20T14:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166196#M1470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried it in base SAS - created an XLSX with three rows of numerb data and had this formula on four rows, i.e. the final row is an error.&amp;nbsp; Then ran:&lt;/P&gt;&lt;P&gt;proc import datafile="s:\temp\rob\tmp.xlsx" out=tmp replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp; getnames=no;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it imported successfully, with the right value.&amp;nbsp; Are you using XLSX, if so all I can impute is its something to do with EG (which I don't use).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 15:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166196#M1470</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-05-20T15:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166197#M1471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No issues when I do it with my sample workbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How are you importing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using SAS 9.3 and Excel 2010.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally I agree with &lt;A __default_attr="814511" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; though, read in your raw data and do the processing in SAS. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 15:13:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166197#M1471</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-05-20T15:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166198#M1472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, it's not an option to "do the processing" in SAS. this is a shared workbook (hence why it was on sharepoint), used in part by non-SAS users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using Excel 2007, SAS 9.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is an .xlsx file. We are importing using an EG import task (proc import wouldn't be an option because the file is not stored on the SAS server).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I delayed in responding while we did some more testing here. 3 users all have the problem as described above. I, on the other hand, import it as missing data-- the import task reads that column as a Character variable with a length of 1, and all the values are missing (and if i change it to numeric in the import it's also still missing). So now I'm wondering why it works differently for me and why it reads in as missing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 20:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166198#M1472</guid>
      <dc:creator>cau83</dc:creator>
      <dc:date>2014-05-22T20:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166199#M1473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably you have an option setup locally to your machine which may affect it.&amp;nbsp; I am afraid I can't really help further in that respect.&amp;nbsp; However I can suggest that if your really have to use Excel, then you could pop an On Close VBA macro into the spreadsheet which automatically saves a .CSV as well as the file being saved.&amp;nbsp; That way you would only need to look at the CSV and avoid the horrors of Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 07:50:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166199#M1473</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-05-23T07:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166200#M1474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found through dire experience that the only half-way reliable process for importing/exporting Excel data is through csv. Everything else is dependent on Windows version, Office version, EG version, local setup of the PC, and time of day/season of year/gold price.&lt;/P&gt;&lt;P&gt;If you are a SAS administrator/developer, don't get into the business of fixing Ballmer&amp;amp;Co's stupidities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 09:03:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166200#M1474</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-05-23T09:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166201#M1475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let us see: XLSX file that is a zip-file containing a structure with XML-files. &lt;/P&gt;&lt;P&gt;MS&amp;nbsp; (ex Ballmer&amp;amp;CO) is letting you having read that with their ACE driver. The old SAS interface with SAS/bases is using that one (2003 Excel compatible).&lt;/P&gt;&lt;P&gt;The excel-file is coming from SharePoint. I do not know the ACE driver is used with that. I think it is needed to do a download.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Having your xlsx file uploaded to the server your file can be read at the serverside even with UNIX. &lt;A href="http://support.sas.com/documentation/cdl/en/acpcref/63181/HTML/default/viewer.htm#p0jf3o1i67m044n1j0kz51ifhpvs.htm" title="http://support.sas.com/documentation/cdl/en/acpcref/63181/HTML/default/viewer.htm#p0jf3o1i67m044n1j0kz51ifhpvs.htm"&gt;SAS/ACCESS(R) 9.3 Interface to PC Files: Reference&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The recalculation of cells is an Excel function possible solved with ACE, but should that when reading the xml in that zip file direct? &lt;BR /&gt;Must SAS solve the spread issues.. that makes no sense. By the way Excel is no database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 11:05:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166201#M1475</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-05-23T11:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG import of spreadsheet with Excel IFERROR() function does not work properly</title>
      <link>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166202#M1476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We (my company) does not have &lt;SPAN style="color: #0e66ba; background-color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SAS/ACCESS(R) 9.3 Interface to PC Files. (Just this morning I was having a discussion with a colleague about how they can't do something because we do not have it, so hopefully we'll add it).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that the general consensus is that Microsoft is likely the culprit (either directly or indirectly) and that we should avoid using it when working with SAS. I don't disagree with the latter sentiment. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 18:06:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Microsoft-Integration-with-SAS/SAS-EG-import-of-spreadsheet-with-Excel-IFERROR-function-does/m-p/166202#M1476</guid>
      <dc:creator>cau83</dc:creator>
      <dc:date>2014-05-27T18:06:10Z</dc:date>
    </item>
  </channel>
</rss>

