Here is my method of adding up columns of a comma separated file (CSV)
The .csv file consists of four columns;
While the goal is to sum the Interest and Deposit columns, I also do other calculations to create a Total, which I can use from TCC.
Read more
The .csv file consists of four columns;
Code:
Account,Trans_Date,Interest,Deposit
While the goal is to sum the Interest and Deposit columns, I also do other calculations to create a Total, which I can use from TCC.
Code:
# tfsa.csv = Account,Trans_Date,Interest,Deposit
#
$TFSA = Import-Csv E:\Documents\vfp\tfsa\tfsa.csv
$Total = 0
$TotalInterest = 0
$TotalDeposit = 0
$TheSum = $TFSA | Measure-Object "Interest"...
Read more