I would like to write VB code for the following table. Where ever ticker is blank, replace it wth the Company from above. For example;
I would like to Put Company 1 in the MoneyManager field below it for the 3 Stocks
Then when the program finds a blank Ticker it would take the Company Field where that blank Ticker is and Replace it with the corresponding Company.
Can this be done?
ID Company MoneyManager Ticker Value (USD, mm) Shares Change %S/O %Portfolio Position Date Position Source Remove 10573 Company 1
False 10574 Stock 1
STX1 0.15 22,200 22,200 0.06 0.04 9/30/2016 13 F False 10575 Stock 2
STX2 0.58 129,725 63,500 0.1 0.14 9/30/2016 13 F False 10576 Stock 3
STX3 0 0 -14,906 0 0 9/30/2016 13 F False 10577 Company 2
False 10578 Stock 1
STX1 1.7 246,440 246,440 0.62 0.05 9/30/2016 13 F False 10579 Stock 2
STX2 1.76 53,740 53,740 0.18 0.05 9/30/2016 13 F False 10580 Company 3
False 10581 Stock 1
STX2 0.22 11,618 -3,939 0.03 0.02 9/30/2016 13 F False 10582 Comapany 4
False 10583 Stock 1
STX1 1.2 221,046 -7,000 0.66 0.43 9/30/2016 13 F False