I have a dataset which contains monthly share transactions data for about 470 companies. Each company trades about 50 - 60 shares a month and a sample of dataset looks likes this.
I want to merge this data set with another dataset which contains codes for each stock and it looks like this
It doesn't allow me to merge using m:1 as it gave me an error message once. When I tried to merge them again, now it constantly says the code file can't be found even if it's in the same folder. Please help.
Thank you
Company Name | Share Name | Date | Qty |
ABC | delta | 01/01/2003 | 500 |
ABC | delta | 01/02/2003 | 200 |
ABC | delta | 01/03/2003 | 100 |
ABC | gamma | 01/01/2003 | 20 |
ABC | gamma | 01/02/2003 | 15 |
AAA | gamma | 01/01/2004 | 1000 |
AAA | gamma | 01/05/2004 | 120 |
AAA | zigma | 01/01/2006 | 500 |
AAA | zigma | 01/02/2006 | 65 |
Share Name | Code |
delta | dt |
gamma | gm |
zigma | zg |
Thank you
Comment