i have data like:
X Y
1 32
1 25
1 28
1 34
2 12
2 23
2 12
2 35
3 22
3 20
3 21
4 11
4 30
Desired Output:
1 32 25 28 34
2 12 23 12 35
3 22 20 21
4 11 30
Any Help?
i have data like:
X Y
1 32
1 25
1 28
1 34
2 12
2 23
2 12
2 35
3 22
3 20
3 21
4 11
4 30
Desired Output:
1 32 25 28 34
2 12 23 12 35
3 22 20 21
4 11 30
Any Help?
Last edited by __LENITH__; 11-21-2010 at 09:12 AM.
Here's a macro for merging rows of data to one row matching for column A.
You could just drop your two column data set into the sample sheet provided on that page (sheet Part 2) and run the macro to get your output.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
Thanks JB, That worked like charm . Othjer macros over there were also very interesting. Rep Added.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks