K
Krishna
Hi,
I have a worksheet that updates positions for the stocks traded
everyday and calculates the profit.For every stock traded I have two
rows of data.I need help in summing up enter and exit positions.Here
is the format of the data.
Date stock name entryqty entry price exit qty exit price
qty_close
01/7/2004 buy Microsoft 10 5 o
02/7/2004 sell Microsoft 0 0 10 6
0
the idea is to check if the stock has been sold from a different sheet
,then check the qty at entry in the active sheet,check the qty at exit
and sum up.
If the qty at entry and exit do not match ,the absolute value of the
difference should be posted.
thanks in advance for all the help.
krishna
I have a worksheet that updates positions for the stocks traded
everyday and calculates the profit.For every stock traded I have two
rows of data.I need help in summing up enter and exit positions.Here
is the format of the data.
Date stock name entryqty entry price exit qty exit price
qty_close
01/7/2004 buy Microsoft 10 5 o
02/7/2004 sell Microsoft 0 0 10 6
0
the idea is to check if the stock has been sold from a different sheet
,then check the qty at entry in the active sheet,check the qty at exit
and sum up.
If the qty at entry and exit do not match ,the absolute value of the
difference should be posted.
thanks in advance for all the help.
krishna