Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Closed Thread
  #1  
Old 10-14-2008, 07:16 AM
jsb1976 jsb1976 is offline
Registered User
 
Join Date: 14 Nov 2007
Posts: 2
jsb1976 is becoming part of the community
Macro Nightmare (for me anyway!!!)

Please Register to Remove these Ads

I have a worksheet that I've been struggling with the past couple of days...

As an example, I've detailed the following:
Forename, Pet Type, Pet1, Pet2, Pet3, etc
John, Dog, , , ,
John, Cat, , , ,
Karen, Rabbit, , , ,
Bob, Horse, , , ,
Bob, Pony, , , ,
Mark, Dog, , , ,
Mark, Dog, , , ,
Mark, Bird, , , ,

What I want to be able to do is run down column A to find the forename and then populate the "Pet1", "Pet2", "Pet3" (etc - max of 10) with the relevant values from Column B and then delete the duplicate row (after the "original") to show a single row for each forename.

Example Wanted Result:
Forename, Pet Type, Pet1, Pet2, Pet3, etc
John, Dog, Cat, , ,
Karen, Rabbit, , , ,
Bob, Horse, Pony, , ,
Mark, Dog, Dog, Bird, ,

Please, can anyone help?
  #2  
Old 10-14-2008, 11:23 AM
royUK's Avatar
royUK royUK is offline
Forums Administrator
 
Join Date: 18 Nov 2003
Location: Derbyshire,UK
MS Office Version:Xp; 2007
Posts: 13,802
royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding
antoka05

Please do not answer questions until the OP has dealt with the reason that they have received the Infraction warning
__________________
Hope that helps.

RoyUK
--------
If you are pleased with a member's answer then use the Scales icon to rate it

For Excel consulting, free examples and tutorials visit my site
Check out the free Excel Toolbar

New members please read & follow the Forum Rules

Remember to mark your questions Solved and rate the answer(s)


Code Tags: Make your code easier for us to read
  #3  
Old 10-14-2008, 12:01 PM
arthurbr's Avatar
arthurbr arthurbr is offline
Non English Excel Moderator
 
Join Date: 23 Dec 2006
Location: Belgium
MS Office Version:XL2003
Posts: 2,890
arthurbr has an addiction to Excel
xld
Please do not answer questions until the OP has dealt with the reason that they have received the Infraction warning
__________________

If you are pleased with a member's answer then use the Scales icon to rate it
  #4  
Old 10-14-2008, 12:03 PM
xld xld is offline
Forum Contributor
 
Join Date: 21 May 2004
Location: UK
Posts: 136
xld is becoming part of the community
Time to give me an infraction mate, this is as silly as OzGrid got, not allowing people to help when a guy asks a question.
  #5  
Old 10-14-2008, 12:08 PM
royUK's Avatar
royUK royUK is offline
Forums Administrator
 
Join Date: 18 Nov 2003
Location: Derbyshire,UK
MS Office Version:Xp; 2007
Posts: 13,802
royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding
Quote:
Originally Posted by xld View Post
Time to give me an infraction mate, this is as silly as OzGrid got, not allowing people to help when a guy asks a question.
We are trying to keep the Forum orderly, you are welcome to stick to ozgrid but I suspect you would have been banned there. We have no intention of getting as heavy handed as DH but we do expect members to follow our rules.
__________________
Hope that helps.

RoyUK
--------
If you are pleased with a member's answer then use the Scales icon to rate it

For Excel consulting, free examples and tutorials visit my site
Check out the free Excel Toolbar

New members please read & follow the Forum Rules

Remember to mark your questions Solved and rate the answer(s)


Code Tags: Make your code easier for us to read
  #6  
Old 10-14-2008, 12:12 PM
xld xld is offline
Forum Contributor
 
Join Date: 21 May 2004
Location: UK
Posts: 136
xld is becoming part of the community
No Roy I haven't been banned there, unlike you. But I do think the propensity to smack our bottoms and ban us is petty and childish. I understand you have to have rules, but it can be taken too far. You experienced that at Ozgrid, and this forum seems overly heavy-handed.
  #7  
Old 10-14-2008, 12:17 PM
royUK's Avatar
royUK royUK is offline
Forums Administrator
 
Join Date: 18 Nov 2003
Location: Derbyshire,UK
MS Office Version:Xp; 2007
Posts: 13,802
royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding
I was banned for disagreeing with Dave about his heavy handed treatment of members. I didn't say you were banned, I said I think DH would have banned you for your actions here if it was Oz. The rules are there and have been put together after much discussion between the Moderators.
__________________
Hope that helps.

RoyUK
--------
If you are pleased with a member's answer then use the Scales icon to rate it

For Excel consulting, free examples and tutorials visit my site
Check out the free Excel Toolbar

New members please read & follow the Forum Rules

Remember to mark your questions Solved and rate the answer(s)


Code Tags: Make your code easier for us to read
  #8  
Old 10-14-2008, 12:21 PM
shg's Avatar
shg shg is offline
Forum Guru
 
Join Date: 20 Jun 2007
Location: The Great State of Texas
MS Office Version:2003, 2007
Posts: 18,550
shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay shg makes giving solutions look like childsplay
Quote:
I understand you have to have rules, but it can be taken too far.
We actively discuss among ourselves what consititutes reasonable enforcement, and think we have it about right. The wonderful thing is that you are free to choose a forum that suits your own interpretation, from monarchy to anarchy.
__________________
Entia non sunt multiplicanda sine necessitate.
  #9  
Old 10-14-2008, 12:22 PM
xld xld is offline
Forum Contributor
 
Join Date: 21 May 2004
Location: UK
Posts: 136
xld is becoming part of the community
I know exactly why you were banned Roy, and it was ridiculous (what sort of forum bans their own administrators?). And you are probably right, Dave would ban me if OzGrid was actually active enough for me to spend any time there, he has threatened it a couple of times but never actually done it, but therein lies the rub. OzGrid is dying because of that attitude. I understand people should not be rude, be offensive, and might even concede that there are some things off-topic (MIGHT!), but what did this guy get one for, a poor subject? Who cares about the subject in reality, very few people search the archive, they repeat the question - that's a fact of life. That is how Dave started.
  #10  
Old 10-14-2008, 12:30 PM
royUK's Avatar
royUK royUK is offline
Forums Administrator
 
Join Date: 18 Nov 2003
Location: Derbyshire,UK
MS Office Version:Xp; 2007
Posts: 13,802
royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding
It boils down to the fact that the admin here want to keep a tidy but friendly approach. As a result we need rules & we expect everyone to follow them. As shg says it's your choice.
__________________
Hope that helps.

RoyUK
--------
If you are pleased with a member's answer then use the Scales icon to rate it

For Excel consulting, free examples and tutorials visit my site
Check out the free Excel Toolbar

New members please read & follow the Forum Rules

Remember to mark your questions Solved and rate the answer(s)


Code Tags: Make your code easier for us to read
  #11  
Old 10-14-2008, 12:33 PM
xld xld is offline
Forum Contributor
 
Join Date: 21 May 2004
Location: UK
Posts: 136
xld is becoming part of the community
But you should all remember that you are supposed to be doing it for the benefit of the community, not so that you can all feel good and powerful. I hope you guys all treat your kids a bit more like grown-ups.

I think I have made my views clear so I will sign off, pity the poor OP lost his answer for what was a reasonable request.
  #12  
Old 10-14-2008, 01:13 PM
VBA Noob's Avatar
VBA Noob VBA Noob is offline
Forum Guru
 
Join Date: 25 Apr 2006
Location: London, England
MS Office Version:xl03 & xl 07(Jan 09)
Posts: 12,315
VBA Noob has an addiction to Excel
Quote:
Originally Posted by xld View Post
I think I have made my views clear so I will sign off, pity the poor OP lost his answer for what was a reasonable request.
xld,

FYI

The answer has being soft deleted and will be restored once jsb1976 contacts a mod.

VBA Noob
__________________
_________________________________________


Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters

Please remember to wrap code.

Forum Rules

Please add to your signature if you found this link helpful. Excel links !!!
  #13  
Old 10-15-2008, 10:02 AM
royUK's Avatar
royUK royUK is offline
Forums Administrator
 
Join Date: 18 Nov 2003
Location: Derbyshire,UK
MS Office Version:Xp; 2007
Posts: 13,802
royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding
Quote:
Originally Posted by VBA Noob View Post
xld,

FYI

The answer has being soft deleted and will be restored once jsb1976 contacts a mod.

VBA Noob
Which he obviously cannot be bothered to do.
__________________
Hope that helps.

RoyUK
--------
If you are pleased with a member's answer then use the Scales icon to rate it

For Excel consulting, free examples and tutorials visit my site
Check out the free Excel Toolbar

New members please read & follow the Forum Rules

Remember to mark your questions Solved and rate the answer(s)


Code Tags: Make your code easier for us to read
  #14  
Old 10-16-2008, 09:03 AM
ge0rge ge0rge is offline
Forum Contributor
 
Join Date: 09 Nov 2007
Location: USA
MS Office Version:2003
Posts: 141
ge0rge is becoming part of the community
I would like to suggest something. Here we have a poor thread title, an abandoned thread (sort of), meaning if they really wanted the help they would keep a constant eye on it, and a bit of opinions on the handling of it. Why don't the forum have an area where they move such posts and that only the mods and op can access it. Once the infraction has been dealt with, the mods could restore it back with changes included. Just a suggestion...

I am glad this forum did not follow the ozgrid road. I would have to believe his forum is going to slowly decline and this one pick up, thus the need for fair but stern rules.
  #15  
Old 10-16-2008, 09:07 AM
royUK's Avatar
royUK royUK is offline
Forums Administrator
 
Join Date: 18 Nov 2003
Location: Derbyshire,UK
MS Office Version:Xp; 2007
Posts: 13,802
royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding royUK Has a higher level of understanding
Hi George

I don't think we can set up such a Forum, it would not be possible to limit access to the OP & mods only.

The Infractions system is just a way to help us maintain the Forum and make it an easy and useful Excel resource. We do not want to get heavy handed
__________________
Hope that helps.

RoyUK
--------
If you are pleased with a member's answer then use the Scales icon to rate it

For Excel consulting, free examples and tutorials visit my site
Check out the free Excel Toolbar

New members please read & follow the Forum Rules

Remember to mark your questions Solved and rate the answer(s)


Code Tags: Make your code easier for us to read


Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
macro to create a macro? jojotherider Excel Programming 2 02-21-2008 07:34 PM
Macro for copy/insert into expanding table Soslowgt Excel Programming 15 02-06-2008 06:24 PM
How to splitt texts into words? (collecting word and compounds) wali Excel Programming 53 02-03-2008 03:06 AM
Conditional formatting macro (highlight macro) c991257 Excel Programming 2 05-09-2007 02:46 PM
Need macro to move down & select next visible row Fartnuckles Excel Programming 3 09-25-2006 10:02 PM