<?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: Limiting allowed values in Excel using proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/939245#M26729</link>
    <description>&lt;P&gt;Hi, were you able to get any solution for this questions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on same requirement and unable to find if i generate Drop down list in excel automatically using SAS EG (proc report &amp;amp; ODS).&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 14:00:03 GMT</pubDate>
    <dc:creator>jdveerapaneni</dc:creator>
    <dc:date>2024-08-14T14:00:03Z</dc:date>
    <item>
      <title>Limiting allowed values in Excel using proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/574497#M23037</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I wonder if a possibility exists to limit possible values in desired column after producing Excel file using proc report.&lt;/P&gt;&lt;P&gt;I would like to code this option in SAS instead of setting this option in Excel by Data&amp;gt;Data Tools&amp;gt;Data Validation&amp;gt;Allow&amp;gt;List of values.&lt;/P&gt;&lt;P&gt;I just want to have one column with possible values limited to Y/N. Input data has this column empty but when it comes to editing this worksheet I want only Y/N values to be there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 08:54:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/574497#M23037</guid>
      <dc:creator>klmd189</dc:creator>
      <dc:date>2019-07-18T08:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting allowed values in Excel using proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/574619#M23039</link>
      <description>&lt;P&gt;An appropriate format used for the values in Proc Report should work. But without data and report code it is hard to tell exactly what might be needed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am a bit unclear on how you expect "Input data has this column empty&amp;nbsp;" to assign Y and N to specific cells though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can provide an example of the data used for proc report in the form of a data step so that we can recreate data and test code, indicate which values need to appear as Y/N, plus your proc report code we can provide a more targeted response. Post the data step code and the report code into a code box on the forum using the {I} or "running man" icon.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2019 15:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/574619#M23039</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-18T15:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting allowed values in Excel using proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/575286#M23044</link>
      <description>&lt;P&gt;Thank your for your response. The text you quoted indicates that input file will have the column with missing value for all observations and the task is to make excel file from the input data so it is editable in MS Office tools. When someone wants to put a value into this column with empty values then I want him to have the possibility only to put "Y" or "N" value.&lt;/P&gt;&lt;P&gt;In code below I name this variable as yn.&lt;/P&gt;&lt;P&gt;This is an example of input data.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
attrib subject label="Enrolment Code" length = $5
       yn label="Yes or no" length = $1
       ;
subject = "E1234";
yn = "";
output;
subject = "E1235";
yn = "";
output;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Below I attach the desired output with data validation function.&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="forawhile.jpg" style="width: 258px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31183iF28D77D0C58D4505/image-size/large?v=v2&amp;amp;px=999" role="button" title="forawhile.jpg" alt="forawhile.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 07:38:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/575286#M23044</guid>
      <dc:creator>klmd189</dc:creator>
      <dc:date>2019-07-22T07:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting allowed values in Excel using proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/939245#M26729</link>
      <description>&lt;P&gt;Hi, were you able to get any solution for this questions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on same requirement and unable to find if i generate Drop down list in excel automatically using SAS EG (proc report &amp;amp; ODS).&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 14:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Limiting-allowed-values-in-Excel-using-proc-report/m-p/939245#M26729</guid>
      <dc:creator>jdveerapaneni</dc:creator>
      <dc:date>2024-08-14T14:00:03Z</dc:date>
    </item>
  </channel>
</rss>

