<?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: Summing values in a column dependent on dates and conditions in other columns in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525118#M32798</link>
    <description>Then it's a proc means and a transpose. &lt;BR /&gt;Untested, if you post data as a data step as previously indicated it's easier to work with. &lt;BR /&gt;&lt;BR /&gt;proc means data=have;&lt;BR /&gt;class reference date;&lt;BR /&gt;format date monyy7.;&lt;BR /&gt;var lifetimecostScore;&lt;BR /&gt;output out = totals sum=MonthlyScore;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc transpose data=totals out=want prefix=Date_;&lt;BR /&gt;by reference;&lt;BR /&gt;id date;&lt;BR /&gt;idlabel date;&lt;BR /&gt;var MonthlyScore;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;For a GUI it would be a summarize and transpose task or you could do it in a single step with a report builder, but I don't know if that would give you a report or table. &lt;BR /&gt;</description>
    <pubDate>Mon, 07 Jan 2019 17:13:07 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-01-07T17:13:07Z</dc:date>
    <item>
      <title>Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525091#M32792</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS EG, and think in Excel terms. I have three columns: (1) a reference; (2) a score; and (3) a date. The task I am trying to perform is equivalent to a sumifs function in excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to sum the total score of all entries in the score column for each reference, whose dates fall within defined ranges. I intend to create columns for each month so that I know what the total scores are for each reference for each month. Can I build a query and assign conditional variables, including specifying date periods?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ie I have list of thousands of scores with a reference and a date, and I want to know the total score of all entries for each reference that falls within each particular month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help needed!&lt;/P&gt;&lt;P&gt;Thanks in advance all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Barney&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 16:10:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525091#M32792</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T16:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525096#M32793</link>
      <description>&lt;P&gt;Can you post an example of what your data looks like and your desired result?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 16:18:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525096#M32793</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-01-07T16:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525109#M32794</link>
      <description />
      <pubDate>Mon, 07 Jan 2019 16:50:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525109#M32794</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T16:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525111#M32795</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See attached. I've included an 'as is' and a 'to be' in separate tabs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Barney&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 16:52:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525111#M32795</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T16:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525112#M32796</link>
      <description>That's a TRANSPOSE task as shown, you aren't summarizing information in any manner. Use the GUI and check the code and then you can use that in your program.</description>
      <pubDate>Mon, 07 Jan 2019 16:57:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525112#M32796</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-07T16:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525116#M32797</link>
      <description>&lt;P&gt;I'm summing the data as well - there are more than one instances of scores for each reference. It's not just s straight transpose&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525116#M32797</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T17:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525118#M32798</link>
      <description>Then it's a proc means and a transpose. &lt;BR /&gt;Untested, if you post data as a data step as previously indicated it's easier to work with. &lt;BR /&gt;&lt;BR /&gt;proc means data=have;&lt;BR /&gt;class reference date;&lt;BR /&gt;format date monyy7.;&lt;BR /&gt;var lifetimecostScore;&lt;BR /&gt;output out = totals sum=MonthlyScore;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc transpose data=totals out=want prefix=Date_;&lt;BR /&gt;by reference;&lt;BR /&gt;id date;&lt;BR /&gt;idlabel date;&lt;BR /&gt;var MonthlyScore;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;For a GUI it would be a summarize and transpose task or you could do it in a single step with a report builder, but I don't know if that would give you a report or table. &lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:13:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525118#M32798</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-07T17:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525121#M32799</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data have;
input Reference :$20.	LifetimeCostScore :comma10.	Date :mmddyy10.;
format date mmddyy10. 	LifetimeCostScore comma10.;
cards;
Reference1	17,235	12/2/2018
Reference2	17,435	12/2/2018
Reference3	17,635	12/2/2018
Reference4	17,835	12/2/2018
Reference5	18,035	12/2/2018
Reference6	18,235	12/2/2018
Reference7	18,435	12/2/2018
Reference8	18,635	12/2/2018
Reference9	18,835	12/2/2018
Reference10	19,035	12/2/2018
Reference11	19,235	12/2/2018
Reference12	19,435	12/2/2018
Reference13	19,635	12/2/2018
Reference14	19,835	12/2/2018
Reference15	20,035	12/2/2018
Reference16	20,235	12/2/2018
Reference17	20,435	12/2/2018
Reference1	20,635	1/3/2019
Reference2	20,835	1/3/2019
Reference3	21,035	1/3/2019
Reference4	21,235	1/3/2019
Reference5	21,435	1/3/2019
Reference6	21,635	1/3/2019
Reference7	21,835	1/3/2019
Reference8	22,035	1/3/2019
Reference9	22,235	1/3/2019
Reference10	22,435	1/3/2019
Reference11	22,635	1/3/2019
Reference12	22,835	1/3/2019
Reference13	23,035	1/3/2019
Reference14	23,235	1/3/2019
Reference15	23,435	1/3/2019
Reference16	23,635	1/3/2019
Reference17	23,835	1/3/2019
Reference1	12,657	2/4/2019
Reference2	12,857	2/4/2019
Reference3	13,057	2/4/2019
Reference4	13,257	2/4/2019
Reference5	13,457	2/4/2019
Reference6	13,657	2/4/2019
Reference7	13,857	2/4/2019
Reference8	14,057	2/4/2019
Reference9	14,257	2/4/2019
Reference10	14,457	2/4/2019
Reference11	14,657	2/4/2019
Reference12	14,857	2/4/2019
Reference13	15,057	2/4/2019
Reference14	15,257	2/4/2019
Reference15	15,457	2/4/2019
Reference16	15,657	2/4/2019
Reference17	15,857	2/4/2019
Reference1	16,057	3/5/2019
Reference2	13,456	3/5/2019
Reference3	13,656	3/5/2019
Reference4	13,856	3/5/2019
Reference5	14,056	3/5/2019
Reference6	14,256	3/5/2019
Reference7	14,456	3/5/2019
Reference8	14,656	3/5/2019
Reference9	14,856	3/5/2019
Reference10	15,056	3/5/2019
Reference11	15,256	3/5/2019
Reference12	15,456	3/5/2019
Reference13	15,656	3/5/2019
Reference14	15,856	3/5/2019
Reference15	16,056	3/5/2019
Reference16	16,256	3/5/2019
Reference17	16,456	3/5/2019
Reference1	16,656	4/6/2019
Reference2	13,456	4/6/2019
Reference3	13,656	4/6/2019
Reference4	13,856	4/6/2019
Reference5	14,056	4/6/2019
Reference6	14,256	4/6/2019
Reference7	14,456	4/6/2019
Reference8	14,656	4/6/2019
Reference9	14,856	4/6/2019
Reference10	15,056	4/6/2019
Reference11	15,256	4/6/2019
Reference12	15,456	4/6/2019
Reference13	15,656	4/6/2019
Reference14	15,856	4/6/2019
Reference15	16,056	4/6/2019
Reference16	16,256	4/6/2019
Reference17	16,456	4/6/2019
;


data _have;
set have;
char_date=put(date,monyy7.);
t=input(compress(reference,,'kd'),best.);
drop date;
run;
proc sort data=_have out=temp(drop=t);
by t  ;
run;
proc transpose data=temp out=want;
by reference notsorted;
id char_date;
var LifetimeCostScore;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:33:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525121#M32799</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-01-07T17:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525129#M32800</link>
      <description>&lt;P&gt;Thanks Reeza. I'm getting a syntax error after the transpose step&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc transpose Completion_Date=totals out=want prefix=Date_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _______________&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 22&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 76&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, DATA, DELIM, DELIMITER, LABEL, LET, NAME, OUT, PREFIX, SUFFIX.&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 17:49:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525129#M32800</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T17:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525134#M32801</link>
      <description>You're not using the correct syntax. Note that the syntax is DATA = which denotes the input data set. Run the code exactly as posted and then start making changes.</description>
      <pubDate>Mon, 07 Jan 2019 18:09:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525134#M32801</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-07T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525146#M32802</link>
      <description>&lt;P&gt;Thanks&amp;nbsp; - nearly there I think - there's another error message copied below. Do I need to sort it between steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Data set WORK.TOTALS is not sorted in ascending sequence. The current BY group has&amp;nbsp;Reference = CS-YES-ECO215-SWP and the next BY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; group has Reference= CS-ACWhyte-ECO210-SWP.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 18:47:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525146#M32802</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T18:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525171#M32803</link>
      <description>You shouldn't have to, because PROC MEANS should export a sorted data set. But otherwise, I suppose adding it in, should not cause any issues. If the data is sorted SAS will not 're-sort' it.</description>
      <pubDate>Mon, 07 Jan 2019 19:02:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525171#M32803</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-07T19:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525172#M32804</link>
      <description>&lt;P&gt;Add the NWAY option to PROC MEANS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input Reference :$20.	LifetimeCostScore :comma10.	Date :mmddyy10.;
format date mmddyy10. 	LifetimeCostScore comma10.;
cards;
Reference1	17,235	12/2/2018
Reference2	17,435	12/2/2018
Reference3	17,635	12/2/2018
Reference4	17,835	12/2/2018
Reference5	18,035	12/2/2018
Reference6	18,235	12/2/2018
Reference7	18,435	12/2/2018
Reference8	18,635	12/2/2018
Reference9	18,835	12/2/2018
Reference10	19,035	12/2/2018
Reference11	19,235	12/2/2018
Reference12	19,435	12/2/2018
Reference13	19,635	12/2/2018
Reference14	19,835	12/2/2018
Reference15	20,035	12/2/2018
Reference16	20,235	12/2/2018
Reference17	20,435	12/2/2018
Reference1	20,635	1/3/2019
Reference2	20,835	1/3/2019
Reference3	21,035	1/3/2019
Reference4	21,235	1/3/2019
Reference5	21,435	1/3/2019
Reference6	21,635	1/3/2019
Reference7	21,835	1/3/2019
Reference8	22,035	1/3/2019
Reference9	22,235	1/3/2019
Reference10	22,435	1/3/2019
Reference11	22,635	1/3/2019
Reference12	22,835	1/3/2019
Reference13	23,035	1/3/2019
Reference14	23,235	1/3/2019
Reference15	23,435	1/3/2019
Reference16	23,635	1/3/2019
Reference17	23,835	1/3/2019
Reference1	12,657	2/4/2019
Reference2	12,857	2/4/2019
Reference3	13,057	2/4/2019
Reference4	13,257	2/4/2019
Reference5	13,457	2/4/2019
Reference6	13,657	2/4/2019
Reference7	13,857	2/4/2019
Reference8	14,057	2/4/2019
Reference9	14,257	2/4/2019
Reference10	14,457	2/4/2019
Reference11	14,657	2/4/2019
Reference12	14,857	2/4/2019
Reference13	15,057	2/4/2019
Reference14	15,257	2/4/2019
Reference15	15,457	2/4/2019
Reference16	15,657	2/4/2019
Reference17	15,857	2/4/2019
Reference1	16,057	3/5/2019
Reference2	13,456	3/5/2019
Reference3	13,656	3/5/2019
Reference4	13,856	3/5/2019
Reference5	14,056	3/5/2019
Reference6	14,256	3/5/2019
Reference7	14,456	3/5/2019
Reference8	14,656	3/5/2019
Reference9	14,856	3/5/2019
Reference10	15,056	3/5/2019
Reference11	15,256	3/5/2019
Reference12	15,456	3/5/2019
Reference13	15,656	3/5/2019
Reference14	15,856	3/5/2019
Reference15	16,056	3/5/2019
Reference16	16,256	3/5/2019
Reference17	16,456	3/5/2019
Reference1	16,656	4/6/2019
Reference2	13,456	4/6/2019
Reference3	13,656	4/6/2019
Reference4	13,856	4/6/2019
Reference5	14,056	4/6/2019
Reference6	14,256	4/6/2019
Reference7	14,456	4/6/2019
Reference8	14,656	4/6/2019
Reference9	14,856	4/6/2019
Reference10	15,056	4/6/2019
Reference11	15,256	4/6/2019
Reference12	15,456	4/6/2019
Reference13	15,656	4/6/2019
Reference14	15,856	4/6/2019
Reference15	16,056	4/6/2019
Reference16	16,256	4/6/2019
Reference17	16,456	4/6/2019
;


proc means data=have nway;
class reference date;
format date monyy7.;
var lifetimecostScore;
output out = totals sum=MonthlyScore;
run;

proc transpose data=totals out=want prefix=Date_;
by reference;
id date;
idlabel date;
var MonthlyScore;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 07 Jan 2019 19:05:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525172#M32804</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-07T19:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525175#M32806</link>
      <description>&lt;P&gt;Thanks so much for your help, I really appreciate it. There are no more errors and it runs. However the output hasn;t transposed correctly - ie the Dates are still coming p as row labels rather than column headers. Also, I only need the one result (ie not N Obs, N, Std Dev, Minimum, Maximum). See attached pdf for output&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 19:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525175#M32806</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T19:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525179#M32807</link>
      <description>That means you're not running the code provided but doing something else. Unless you show me what you've done I can't really tell you how to fix it.&lt;BR /&gt;&lt;BR /&gt;The code above works as shown and solves your issue. Compare it to your code and make the necessary fixes.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2019 19:18:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525179#M32807</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-07T19:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525183#M32808</link>
      <description>&lt;P&gt;I've just been replacing want with the data reference. The full code I've been using is below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;means&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=WORK.SASExample &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;nway&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; reference date;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;monyy7.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; lifetimecostScore;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;output&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = totals &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sum&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=MonthlyScore;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;transpose&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=totals &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=want &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;prefix&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Date_;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; reference;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;id&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;idlabel&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; MonthlyScore;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 19:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525183#M32808</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T19:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525184#M32809</link>
      <description>&lt;P&gt;I wanted it to refer to the data that I've extracted as the source data may well change, and I would like the programme to run over the dynamic data&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 19:24:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525184#M32809</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-07T19:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525189#M32810</link>
      <description>&lt;P&gt;I think you're checking the wrong output. The output is in the WANT data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can add the NOPRINT option to the PROC MEANS statement to avoid having it displayed if you don't want it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/253726"&gt;@BarneyC77&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I wanted it to refer to the data that I've extracted as the source data may well change, and I would like the programme to run over the dynamic data&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 19:38:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525189#M32810</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-07T19:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525351#M32817</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You're probably right, I'm obviously doing something wrong. I am very&amp;nbsp;new to this. I'm gutted as it's nearly there, but not quite, so my incompetence is clearly causing problems, even given your patience. The entirety of the code I'm using is below and it's generating the attached pdf without any errors, but the months are still appearing as row headers and not column headers, and I'm not sure where/how to insert the noprint to remove the extraneous columns. I've only amended the 'Have' reference to refer to the data source 'WORK.SASExample'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;means&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;= WORK.SASExample &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;nway&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; reference date;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;monyy7.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; lifetimecostScore;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;output&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = totals &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;sum&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=MonthlyScore;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;transpose&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=totals &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=want &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;prefix&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Date_;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; reference;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;id&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;idlabel&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; MonthlyScore;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;I'm posting&amp;nbsp;again the probably vain hope&amp;nbsp;that you&amp;nbsp;haven't totally lost patience with my incompetence and might still be willing to help, as I'm doing some analysis for work.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Barney&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 08:37:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525351#M32817</guid>
      <dc:creator>BarneyC77</dc:creator>
      <dc:date>2019-01-08T08:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Summing values in a column dependent on dates and conditions in other columns</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525446#M32822</link>
      <description>&lt;P&gt;Same answer as before, your output is in the data set &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;want&lt;/FONT&gt;&lt;/STRONG&gt;, not in&amp;nbsp;the PDF. You're seeing the output from PROC MEANS in the PDF.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try opening the WANT data set or printing it at the end. I've made the changes I suggested before to your code below and added the PROC&amp;nbsp; PRINT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc means data= WORK.SASExample nway &lt;FONT size="5"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;NOPRINT&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;;

class reference date;

format date monyy7.;

var lifetimecostScore;

output out = totals sum=MonthlyScore;

run;

proc transpose data=totals out=want prefix=Date_;

by reference;

id date;

idlabel date;

var MonthlyScore;

run;

&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;proc print data=want;run;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/253726"&gt;@BarneyC77&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're probably right, I'm obviously doing something wrong. I am very&amp;nbsp;new to this. I'm gutted as it's nearly there, but not quite, so my incompetence is clearly causing problems, even given your patience. The entirety of the code I'm using is below and it's generating the attached pdf without any errors, but the months are still appearing as row headers and not column headers, and I'm not sure where/how to insert the noprint to remove the extraneous columns. I've only amended the 'Have' reference to refer to the data source 'WORK.SASExample'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;means&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;= WORK.SASExample &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;nway&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; reference date;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;format&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;monyy7.&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; lifetimecostScore;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;output&lt;/FONT&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; = totals &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;sum&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=MonthlyScore;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;transpose&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=totals &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;out&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=want &lt;/FONT&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;prefix&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=Date_;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; reference;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;id&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;idlabel&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; date;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;var&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; MonthlyScore;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;I'm posting&amp;nbsp;again the probably vain hope&amp;nbsp;that you&amp;nbsp;haven't totally lost patience with my incompetence and might still be willing to help, as I'm doing some analysis for work.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Barney&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 15:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Summing-values-in-a-column-dependent-on-dates-and-conditions-in/m-p/525446#M32822</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-08T15:49:46Z</dc:date>
    </item>
  </channel>
</rss>

