Explanation of Section 104 'pooled' cost basis for calculating cost of shares

Can someone explain how this is calculated? I understand how it works if th ere are multiple purchases of the same stock over a period of several years
. What if there are also multiple sales of the same stock - how do I calcul ate the cost price of remaining shares? I've looked for a simple formula th at includes sales. Thank you.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
On 19/04/2016 17:13, Greg Williams wrote:

I can't say a formula is impossible but I don't see that it helps because you need in any event to work out the gain (if any) on each successive sale. See example 3 in HMRC's Help Sheet
https://www.gov.uk/government/publications/shares-and-capital-gains-tax-hs284-self-assessment-helpsheet/hs-shares-and-capital-gains-tax-2015 .
--
Robin
reply-to address is (intended to be) valid
  Click to see the full signature.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

BeanSmart.com is a site by and for consumers of financial services and advice. We are not affiliated with any of the banks, financial services or software manufacturers discussed here. All logos and trade names are the property of their respective owners.

Tax and financial advice you come across on this site is freely given by your peers and professionals on their own time and out of the kindness of their hearts. We can guarantee neither accuracy of such advice nor its applicability for your situation. Simply put, you are fully responsible for the results of using information from this site in real life situations.