<?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: UNABLE TO RESOLVE BACKEND VALUE IN  EXCEL INTO SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640283#M190670</link>
    <description>&lt;P&gt;Did you start with an Excel file and saved it from Excel to CSV, or did you start with a CSV file and opened it in Excel for viewing?&lt;/P&gt;</description>
    <pubDate>Thu, 16 Apr 2020 06:37:17 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-16T06:37:17Z</dc:date>
    <item>
      <title>UNABLE TO RESOLVE BACKEND VALUE IN  EXCEL INTO SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640163#M190599</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I had a value in csv file where the backend data within that value contain two parts.How can i resolve those internal values and read into sas .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the screen shot below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rohithverma_0-1586973679262.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38338iFC38AE6E220834E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rohithverma_0-1586973679262.png" alt="rohithverma_0-1586973679262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:01:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640163#M190599</guid>
      <dc:creator>rohithverma</dc:creator>
      <dc:date>2020-04-15T18:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: UNABLE TO RESOLVE BACKEND VALUE IN  EXCEL INTO SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640194#M190616</link>
      <description>&lt;P&gt;How did you read the csv file? If using a data step then read that column as character and parse the value if you need the two numbers. You don't really show us what you expect for the output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unless you are careful you may no longer have the same values after opening the file in Excel if you saved it afterwards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:59:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640194#M190616</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-04-15T18:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: UNABLE TO RESOLVE BACKEND VALUE IN  EXCEL INTO SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640252#M190651</link>
      <description>&lt;P&gt;The dynamic resolution of an expression at DATA step run-time can be accomplishing by RESOLVEing the expression in the macro environment with the %SYSEVALF macro function.&amp;nbsp; Note the leading equals sign (=) will need to be ignored for proper evaluation.&amp;nbsp; RESOLVE returns the character string representing the formula result, so that return also needs to be INPUT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;data x;
  remarks = '=1/7';

  if remarks =: '=' 
    then remarks_eval = input(resolve ('%sysevalf(' || substr(remarks,2) || ')' ), best12.);

  x = 1 / 7;
  delta = x - remarks_eval;

  put x= remarks_eval= delta=;
run;&lt;/PRE&gt;
&lt;P&gt;Note:&amp;nbsp;Some very small differences may be noticed between the actual ratio and the macro resolution of the ratio.&lt;/P&gt;
&lt;PRE&gt;           x=0.1428571429&lt;BR /&gt;remarks_eval=0.1428571428&lt;BR /&gt;       delta=5.714285E-11
&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Apr 2020 00:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640252#M190651</guid>
      <dc:creator>RichardDeVen</dc:creator>
      <dc:date>2020-04-16T00:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: UNABLE TO RESOLVE BACKEND VALUE IN  EXCEL INTO SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640260#M190656</link>
      <description>&lt;P&gt;It can't be done as far as I can see. The screenshot is from excel . But if you save as .&lt;STRONG&gt;csv&lt;/STRONG&gt; then you can no longer get the formula used to create the value in the cell . Try opening the csv up again in excel and you will see there is no longer a formula . This is all before it has even touched SAS .&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 02:47:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640260#M190656</guid>
      <dc:creator>fdsaaaa</dc:creator>
      <dc:date>2020-04-16T02:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: UNABLE TO RESOLVE BACKEND VALUE IN  EXCEL INTO SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640283#M190670</link>
      <description>&lt;P&gt;Did you start with an Excel file and saved it from Excel to CSV, or did you start with a CSV file and opened it in Excel for viewing?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 06:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/UNABLE-TO-RESOLVE-BACKEND-VALUE-IN-EXCEL-INTO-SAS/m-p/640283#M190670</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-16T06:37:17Z</dc:date>
    </item>
  </channel>
</rss>

