Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Registered User
    Join Date
    11-14-2007
    Posts
    2

    Macro Nightmare (for me anyway!!!)

    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. #2
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,427
    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 Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    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. #3
    Non English Excel Moderator arthurbr's Avatar
    Join Date
    12-23-2006
    Location
    Belgium
    MS-Off Ver
    XL2003
    Posts
    6,055
    xld
    Please do not answer questions until the OP has dealt with the reason that they have received the Infraction warning
    Quoting entire posts clutters the forum and makes threads hard to read !

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

    Click here to see forum rules

  4. #4
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    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. #5
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,427
    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 Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    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. #6
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    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. #7
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,427
    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 Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    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. #8
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,129
    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.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  9. #9
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    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. #10
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,427
    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 Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    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. #11
    Forum Contributor
    Join Date
    05-21-2004
    Location
    UK
    Posts
    136
    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. #12
    Forum Guru VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    12,009
    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. #13
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,427
    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 Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    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. #14
    Forum Contributor
    Join Date
    11-09-2007
    Location
    USA
    MS-Off Ver
    2003
    Posts
    141
    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. #15
    Forums Administrator royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    24,427
    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 Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. macro to create a macro?
    By jojotherider in forum Excel Programming
    Replies: 2
    Last Post: 02-21-2008, 08:34 PM
  2. Macro for copy/insert into expanding table
    By Soslowgt in forum Excel Programming
    Replies: 15
    Last Post: 02-06-2008, 07:24 PM
  3. Replies: 53
    Last Post: 02-03-2008, 04:06 AM
  4. Conditional formatting macro (highlight macro)
    By c991257 in forum Excel Programming
    Replies: 2
    Last Post: 05-09-2007, 03:46 PM
  5. Need macro to move down & select next visible row
    By Fartnuckles in forum Excel Programming
    Replies: 3
    Last Post: 09-25-2006, 11:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0