I am trying to create a merged dataset using Excel or Access and am not having much luck. I have two Excel tables, both contain ID's that I can link them with. However, TABLE1 has only one row for each ID, TABLE2 can contain multiple rows for each ID. I want to keep all entries in TABLE1 and add in the values from TABLE2, separating multiples by a comma. Example:
**TABLE1**
CNid start stop
0001 1 50
0002 60 100
0003 1 20
**TABLE2**
CNid gene
0001 abc
0001 ijk
0001 qrs
0003 abc
**TABLE3(Created)**
CNid start stop gene
0001 1 50 abc,ijk,qrs
0002 60 100
0003 1 20 abc
I am familiar with merge query in Access, but cannot figure out how to make the resulting table only have one row for each CNid.