Combine 5 datasets into single file
显示 更早的评论
Hi All,
I want to combine 6 different excel datasheets into a single worksheet.. each datasheet is a different part of an experiment that has collected different data/new information e.g. some of the files have new/different data fields (columns). Each file has a common identifier collumn called subject id - identifies each individual participant.
What I want is to create one sheet combining all participant data.
Thank you in advance.
回答(1 个)
Star Strider
2020-4-25
0 个投票
Create the worksheets in different tables, then use the outerjoin function to combine them. Use the subject ID for the ‘Key’. Experiment with the various options (for example ‘MergeKeys’) to get the result you want.
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!