<?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: Read excel files and add a column from one to the other in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-excel-files-and-add-a-column-from-one-to-the-other/m-p/868226#M342950</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/441528"&gt;@KyleOB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Have a look at this blog&amp;nbsp;&lt;A title="Using LIBNAME XLSX to read and write Excel files" href="https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_blank" rel="noopener"&gt;Using LIBNAME XLSX to read and write Excel files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It should give a starting point&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 13:12:38 GMT</pubDate>
    <dc:creator>AhmedAl_Attar</dc:creator>
    <dc:date>2023-04-05T13:12:38Z</dc:date>
    <item>
      <title>Read excel files and add a column from one to the other</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-excel-files-and-add-a-column-from-one-to-the-other/m-p/868116#M342899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Excuse me for what might seem like a simple question, but as a beginner, I am not sure how to proceed with a task I have.&lt;/P&gt;&lt;P&gt;I have two Excel files, file X, which contains customer IDs, names, and birthdays, and file Y, which has customer IDs, addresses, and phone numbers.&lt;/P&gt;&lt;P&gt;Would you kindly guide me on how to add the phone number column and its corresponding values from file Y to file X, and output the new X as an Excel file in SAS DIS environment?&lt;/P&gt;&lt;P&gt;The files X and Y will be updated(replaced) every week. I need to run the job every week to get new Xs with IDs, names, birthdays, and phone numbers.&lt;/P&gt;&lt;P&gt;I would greatly appreciate your help. Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 01:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-excel-files-and-add-a-column-from-one-to-the-other/m-p/868116#M342899</guid>
      <dc:creator>KyleOB</dc:creator>
      <dc:date>2023-04-05T01:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Read excel files and add a column from one to the other</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-excel-files-and-add-a-column-from-one-to-the-other/m-p/868226#M342950</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/441528"&gt;@KyleOB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Have a look at this blog&amp;nbsp;&lt;A title="Using LIBNAME XLSX to read and write Excel files" href="https://blogs.sas.com/content/sasdummy/2015/05/20/using-libname-xlsx-to-read-and-write-excel-files/" target="_blank" rel="noopener"&gt;Using LIBNAME XLSX to read and write Excel files&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It should give a starting point&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 13:12:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-excel-files-and-add-a-column-from-one-to-the-other/m-p/868226#M342950</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2023-04-05T13:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Read excel files and add a column from one to the other</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-excel-files-and-add-a-column-from-one-to-the-other/m-p/868242#M342961</link>
      <description>&lt;P&gt;I have no idea how to do it in DIS, but the concept is simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Convert each Excel file into actual SAS datasets so they are useful as data.&lt;/P&gt;
&lt;P&gt;2) Merge the two datasets using the common variable CUSTOMER_ID to create a new third dataset.&lt;/P&gt;
&lt;P&gt;3) If want to share the data for someone to look at then you can make a report.&amp;nbsp; It could be PDF file.&amp;nbsp; Or you could write the data back into an Excel file.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 13:39:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-excel-files-and-add-a-column-from-one-to-the-other/m-p/868242#M342961</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-04-05T13:39:54Z</dc:date>
    </item>
  </channel>
</rss>

