Combine 5 datasets into single file
Show older comments
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.
Answers (1)
Star Strider
on 25 Apr 2020
0 votes
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.
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!