K
Krishna
Hi,
Could someone help on the following problem.
I have a sheet where all stock transactions are entered,each with a
unique reference id in say sheet1.I need to transfer this data to
another sheet and update the positions of the stock.Presently I have a
macro where in I enter the unique reference id and run to update the
information in the different sheet(say sheet2).The problem is that I
need to display this information in such a way that all transactions
are grouped together.For example the data on sheet1 may look like this
ref stock name transaction type qty position
260704/01 microsoft buy 50 open
after several other entries we may have the transaction for close
position
150804/01 micrsooft sell 50 close
now when I use the ref id to transfer data to sheet2 I will have this
close position after several entries.Is there a way I can push it up
to the row just after the open entry in sheet2.Also the qty 50 need
not be sold in one lot of 50 ,it could be sold in multiple
transactions (each with unique id) of differing qty(ex transaction1
-sell 25 ,transaction2-sell 25).Is there a way to count all the
occurences of the stock in a sheet1 and transfer the data together to
sheet 2.
Appreciate all the help I can get on this
regards
Krishna
Could someone help on the following problem.
I have a sheet where all stock transactions are entered,each with a
unique reference id in say sheet1.I need to transfer this data to
another sheet and update the positions of the stock.Presently I have a
macro where in I enter the unique reference id and run to update the
information in the different sheet(say sheet2).The problem is that I
need to display this information in such a way that all transactions
are grouped together.For example the data on sheet1 may look like this
ref stock name transaction type qty position
260704/01 microsoft buy 50 open
after several other entries we may have the transaction for close
position
150804/01 micrsooft sell 50 close
now when I use the ref id to transfer data to sheet2 I will have this
close position after several entries.Is there a way I can push it up
to the row just after the open entry in sheet2.Also the qty 50 need
not be sold in one lot of 50 ,it could be sold in multiple
transactions (each with unique id) of differing qty(ex transaction1
-sell 25 ,transaction2-sell 25).Is there a way to count all the
occurences of the stock in a sheet1 and transfer the data together to
sheet 2.
Appreciate all the help I can get on this
regards
Krishna