<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Help with Excel (advanced)?</title>
	<atom:link href="http://forexquestions.org/forex/help-with-excel-advanced/feed" rel="self" type="application/rss+xml" />
	<link>http://forexquestions.org/forex/help-with-excel-advanced</link>
	<description>Answers to all your Forex questions.</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:10:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gary E</title>
		<link>http://forexquestions.org/forex/help-with-excel-advanced/comment-page-1#comment-1426</link>
		<dc:creator>Gary E</dc:creator>
		<pubDate>Fri, 03 Jul 2009 07:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://forexquestions.org/forex/help-with-excel-advanced#comment-1426</guid>
		<description>It can be done with a macro, of course.

But if 
1.  There is a column to spare somewhere outside of the normal viewing and print areas.
2.  The difference you want to display in Column L is to be in every row where there is a positive value in Column K
3  The difference amount is to be the last previous positive value from Column J minus the value in Column K of the display row.
Then
You can do it with just two formulas (copied to the full columns).  

I have selected Column Z for the intermediate column and Row 85 to enter the formulas.

In Cell Z85 enter
=IF(J85&gt;0,J85,Z84)

In Cell L85 enter
=IF(K85&gt;0,Z85-K85,&quot;&quot;)

Copy each of theses formulas in their respective column for the full range of the data and you will see differences where they belong.

You may need to adjust the formula at the beginning of the data or anywhere there is a break in the data, but you don&#039;t show any of those so I can&#039;t tell you what would be required.  Hopefully you can figure it out.  Or you can add to your question to request further assistance.</description>
		<content:encoded><![CDATA[<p>It can be done with a macro, of course.</p>
<p>But if<br />
1.  There is a column to spare somewhere outside of the normal viewing and print areas.<br />
2.  The difference you want to display in Column L is to be in every row where there is a positive value in Column K<br />
3  The difference amount is to be the last previous positive value from Column J minus the value in Column K of the display row.<br />
Then<br />
You can do it with just two formulas (copied to the full columns).  </p>
<p>I have selected Column Z for the intermediate column and Row 85 to enter the formulas.</p>
<p>In Cell Z85 enter<br />
=IF(J85>0,J85,Z84)</p>
<p>In Cell L85 enter<br />
=IF(K85>0,Z85-K85,&#8221;")</p>
<p>Copy each of theses formulas in their respective column for the full range of the data and you will see differences where they belong.</p>
<p>You may need to adjust the formula at the beginning of the data or anywhere there is a break in the data, but you don&#8217;t show any of those so I can&#8217;t tell you what would be required.  Hopefully you can figure it out.  Or you can add to your question to request further assistance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
