Not sure how to go about doing this (or if it can be done). I have a spreadsheet in Excel with three sheets. The third one is currently empty. The first two sheets have stock trades from the past 10 years. One with about 50 entries and the second with about 70. Each entry has columns like this: Stock Symbol, Company, Quantity, Purchase date, Purchase price, Total Buy $, Sell date, Sell price, total Sale $, Loss/Gain.
What I am looking to do is dynamically build the third sheet (just for reporting/viewing) with only entries in the first two sheets that have a purchase date but no sell date. IE: just show current stock holdings. So as a stock is sold and a sell date is entered into one of the first tw sheets, then it will disappear from the third sheet.
And the holdings aren't all at the bottom of the list. For instance, of the 50 entries in sheet 1, rows 5, 21, 23, 43, 46, 47, and 48 have a purchase date but no sell date.
In my searching, I am seeing that maybe VLOOKUP function would be of service, but I just learned of it today and not very familiar with it.