<?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: Fill in blank values from another column in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Fill-in-blank-values-from-another-column/m-p/861433#M340286</link>
    <description>&lt;P&gt;In a data step&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if missing(productb) then productb=producta;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 28 Feb 2023 15:26:22 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-02-28T15:26:22Z</dc:date>
    <item>
      <title>Fill in blank values from another column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fill-in-blank-values-from-another-column/m-p/861432#M340285</link>
      <description>&lt;P&gt;Hello, hope everyone is doing ok. I just wanted to ask help with a job that i'm doing.&amp;nbsp; I wanted to replace blank values with values from another column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data have&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" class="xl63" style="height: 15.0pt; width: 48pt;"&gt;Product A&lt;/TD&gt;
&lt;TD width="64" class="xl63" style="border-left: none; width: 48pt;"&gt;Product B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;S&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;S&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;M&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;S&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;S&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;M&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;M&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;M&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;M&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl63" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;wanted to have the below result:&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 96pt;" border="0" width="128" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="64" height="20" class="xl65" style="height: 15.0pt; width: 48pt;"&gt;Product A&lt;/TD&gt;
&lt;TD width="64" class="xl65" style="border-left: none; width: 48pt;"&gt;Product B&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;S&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;S&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;S&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;S&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;M&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;M&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;S&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;S&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;M&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;M&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;M&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;M&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;M&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;M&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" class="xl65" style="height: 15.0pt; border-top: none;"&gt;L&lt;/TD&gt;
&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;L&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 15:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fill-in-blank-values-from-another-column/m-p/861432#M340285</guid>
      <dc:creator>Eugenio211</dc:creator>
      <dc:date>2023-02-28T15:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in blank values from another column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fill-in-blank-values-from-another-column/m-p/861433#M340286</link>
      <description>&lt;P&gt;In a data step&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if missing(productb) then productb=producta;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Feb 2023 15:26:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fill-in-blank-values-from-another-column/m-p/861433#M340286</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-02-28T15:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fill in blank values from another column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fill-in-blank-values-from-another-column/m-p/861443#M340290</link>
      <description>Thank you for the quick response.</description>
      <pubDate>Tue, 28 Feb 2023 15:36:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fill-in-blank-values-from-another-column/m-p/861443#M340290</guid>
      <dc:creator>Eugenio211</dc:creator>
      <dc:date>2023-02-28T15:36:46Z</dc:date>
    </item>
  </channel>
</rss>

