This is a common spreadsheet format for storing share trades. It consists of the 6 fields shown below;
Date | Buy/Sell | Company | Shares | Price | Total
The "Total" field stores either the net proceeds on a sell or the total cost on a buy. This value is negative for a buy and almost always positive for a sell. Valid values for the Buy/Sell field are B, S , Buy and Sell and case is not important.