Example spreadsheet:
Details Stock Comment
Purchase AAA Need this row
Sold AAA Need this row
Purchase BBB Do not need this row
Purchase CCC Need this row
Sold CCC Need this row
Sold DDD Need this row
Dividend AAA Do not need this row
My source data is an Excel database and I have a particular column, called Details, which holds various details, ie Purchase, Sold, Dividend. I need to select all rows where Details = Sold, and then if there is a Purchase related to a Sold stock then I also need to display that row too.
Using the Group selection and Record selection I can get all rows that have Details = Sold and all rows that have Details = Purchase, but I cannot seem to be able to get Purchase only if there is a related Sold.
I would be most grateful if you could point me in the right direction.
Details Stock Comment
Purchase AAA Need this row
Sold AAA Need this row
Purchase BBB Do not need this row
Purchase CCC Need this row
Sold CCC Need this row
Sold DDD Need this row
Dividend AAA Do not need this row
My source data is an Excel database and I have a particular column, called Details, which holds various details, ie Purchase, Sold, Dividend. I need to select all rows where Details = Sold, and then if there is a Purchase related to a Sold stock then I also need to display that row too.
Using the Group selection and Record selection I can get all rows that have Details = Sold and all rows that have Details = Purchase, but I cannot seem to be able to get Purchase only if there is a related Sold.
I would be most grateful if you could point me in the right direction.