I have my data in the following format in 1 excel sheet, and my idea was to put the data in different excel sheets read them in separately and then use a multi join, but the problem is that the dates appear in different columns. Let me explain:
I have 25 of these tables (for this example I will just show 2):
| date | value |
| 01/01/2016 | 50 |
| 01/05/2016 | 100 |
| 01/10/2016 | 200 |
| 01/12/2016 | 400 |
| date2 | value2 |
| 01/05/2016 | 5 |
| 01/08/2016 | 10 |
| 05/09/2016 | 20 |
| 01/10/2016 | 40 |
after the multi join the data looks like this (in reality the columns go until date25 and value25)
| date | value | date2 | value2 |
| 01/01/2016 | 50 | NULL | NULL |
| 01/05/2016 | 100 | 01/05/2016 | 5 |
| NULL | NULL | 01/08/2016 | 10 |
| NULL | NULL | 05/09/2016 | 20 |
| 01/10/2016 | 200 | 01/10/2016 | 40 |
| 01/12/2016 | 400 | NULL | NULL |
how do I join all the date columns while leaving the value columns as they are? The final result should be the following (until column value25):
| Date | value | value2 |
| 01/01/2016 | 50 | NULL |
| 01/05/2016 | 100 | 5 |
| 01/08/2016 | NULL | 10 |
| 05/09/2016 | NULL | 20 |
| 01/10/2016 | 200 | 40 |
| 01/12/2016 | 400 | NULL |
Thank you for your help!