J
Jeff Ray
Sir/Madam:
Let's say you have two data sets, each with two columns.
The first column in each data set is an ID#. In the
first data set the second column is "height" and in the
second data set the second column is "weight"
DATA Set 1 Data Set 2
ID# Height ID# Weight
1 57 1 167
2 60 2 190
3 50 4 122
5 160
I want to combine (merge, consolidate) these into one
data set:
ID# Height Weight
1 57 167
2 60 190
3 50
4 122
5 160
You can see from the above that some ID numbers occur in
both data sets (i.e. there is a height and weight for
that entry) or in some cases for an ID there is only a
weight OR a height.
Of course this is only a small sample to illustrate the
problem, acutally I have thousands of heights and weights
that I need to consolidate by ID number. The consolidate
function does not seem to do this.
Any ideas?
Thanks,
Jeff
Let's say you have two data sets, each with two columns.
The first column in each data set is an ID#. In the
first data set the second column is "height" and in the
second data set the second column is "weight"
DATA Set 1 Data Set 2
ID# Height ID# Weight
1 57 1 167
2 60 2 190
3 50 4 122
5 160
I want to combine (merge, consolidate) these into one
data set:
ID# Height Weight
1 57 167
2 60 190
3 50
4 122
5 160
You can see from the above that some ID numbers occur in
both data sets (i.e. there is a height and weight for
that entry) or in some cases for an ID there is only a
weight OR a height.
Of course this is only a small sample to illustrate the
problem, acutally I have thousands of heights and weights
that I need to consolidate by ID number. The consolidate
function does not seem to do this.
Any ideas?
Thanks,
Jeff