N
Norman Goldsmith
Can someone suggest a plan of attack for this problem?
Given this input data:
5 abc foobar1
7 abc foobar2
2 efg foobar3
5 efg foobar3
9 efg foobar3
7 xyz foobar3
I'd like to create output like this:
5 abc foobar1
7 abc foobar2
2,5,9 efg foobar3
7 xyz foobar3
The original input data was a list sorted alphabetically on the second
column. All of the data are in text format - no numbers. Excel 2000.
The ouput follows a rule like: if the text in rowN, column2 matches the
text in rowN+1,column2 AND the text in rowN, col3 matches the text in
rowN+1, col3, then add the text in row N+1, col1 to the text in rowN,
col1,
separated by a comma and delete row N+1.
I think I'll have to create an additional 'output' column to hold the
comma separated values. I know there are lots of examples of
how to delete duuplicate rows available. I need help with the logic
statement that will go through the data range.
Thanks for any help,
Norm Goldmsith
Given this input data:
5 abc foobar1
7 abc foobar2
2 efg foobar3
5 efg foobar3
9 efg foobar3
7 xyz foobar3
I'd like to create output like this:
5 abc foobar1
7 abc foobar2
2,5,9 efg foobar3
7 xyz foobar3
The original input data was a list sorted alphabetically on the second
column. All of the data are in text format - no numbers. Excel 2000.
The ouput follows a rule like: if the text in rowN, column2 matches the
text in rowN+1,column2 AND the text in rowN, col3 matches the text in
rowN+1, col3, then add the text in row N+1, col1 to the text in rowN,
col1,
separated by a comma and delete row N+1.
I think I'll have to create an additional 'output' column to hold the
comma separated values. I know there are lots of examples of
how to delete duuplicate rows available. I need help with the logic
statement that will go through the data range.
Thanks for any help,
Norm Goldmsith