S
Steve
Can someone point me in the right direction here?
I have a table with 5 columns in it
COL A is Social Security Number
COL B is Value1
COL C is Value2
COL D is Value3
COL E is Value4
There are varying numbers of rows for any given social security nmber
- 5 rows for SSN1, 2 rows for SSN2, 7 rows for SSN3, etc.
Each row has Value1, Value2, Value3, and Value4
Also, the values of Value1, Value2, Value3, and Value4 are all
different.
My task is to convert this table to a horizontal table - the number of
rows to equal the number of unique Social Security Numbers.
The number of columns will be the number of unique social security
numbers multiplied by 4 plus one.
So the First rows' columns will be SSN, Value1, Value2, Value3,
Value4, Value1(from the second row in the Vertical Table), Value2(from
the second row in the Vertical Table), Value3(from the second row in
the Vertical Table), Value4(from the second row in the Vertical
Table), Value1(from the third row in the vertical table), Value2(from
the third row in the vertical table),etc.
Has anyone out there done this or know where I can find an example of
it being done?
I've looked at all of the manuals I can get my hands on and I have had
no luck.
If I only have 5 Social Security Numbers to work with, I can type each
cell reference.
I unfortunately have several thousand to deal with.
Many thanks!
steve
I have a table with 5 columns in it
COL A is Social Security Number
COL B is Value1
COL C is Value2
COL D is Value3
COL E is Value4
There are varying numbers of rows for any given social security nmber
- 5 rows for SSN1, 2 rows for SSN2, 7 rows for SSN3, etc.
Each row has Value1, Value2, Value3, and Value4
Also, the values of Value1, Value2, Value3, and Value4 are all
different.
My task is to convert this table to a horizontal table - the number of
rows to equal the number of unique Social Security Numbers.
The number of columns will be the number of unique social security
numbers multiplied by 4 plus one.
So the First rows' columns will be SSN, Value1, Value2, Value3,
Value4, Value1(from the second row in the Vertical Table), Value2(from
the second row in the Vertical Table), Value3(from the second row in
the Vertical Table), Value4(from the second row in the Vertical
Table), Value1(from the third row in the vertical table), Value2(from
the third row in the vertical table),etc.
Has anyone out there done this or know where I can find an example of
it being done?
I've looked at all of the manuals I can get my hands on and I have had
no luck.
If I only have 5 Social Security Numbers to work with, I can type each
cell reference.
I unfortunately have several thousand to deal with.
Many thanks!
steve