+ Reply to Thread
Results 1 to 6 of 6

e.g column c - h replace with j-o on specific rows

  1. #1
    Registered User
    Join Date
    03-05-2015
    Location
    England
    MS-Off Ver
    2007/2010
    Posts
    3

    Question e.g column c - h replace with j-o on specific rows

    Just wondered if anyone could help me.

    Basically I have a spreadsheet of individual people and groups of people.

    A person is on each row.


    demo1.jpg

    The brown represents a group

    The green is what needs to replace the blue.

    This is because the person that signs up the group has their name and address on C to H instead of the member being on the row after their name.

    Where I - J are blank they need to stay blank.

    Only when there is a name in J - O then these need to replace the duplicate name and address in C - H.

    I hope this makes sense as its hard to make sense of it my self.

    Any help would be very much appreciated.

    Thank you.
    Attached Images Attached Images
    Last edited by chriscandlin01; 03-05-2015 at 06:00 PM. Reason: Image edit

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Is this query solvable?

    Assuming that the first name in the group is the group leader and assuming that if J-O are empty the name of the group leader should be in C-H.
    That could be done by some formula, but then you'll need some kind of id to identify that group and thus the group leader.
    Would that put you on track?
    If not can you upload the workbook so I can give it a try.
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

  3. #3
    Registered User
    Join Date
    03-05-2015
    Location
    England
    MS-Off Ver
    2007/2010
    Posts
    3

    e.g column c - h replace with j-o on specific rows

    test.xlsx
    Ok here, the ones that look empty aren't on the real one they contain addresses. It will be only empty in J-O on the leader of a group.

    Kind Regards
    Last edited by chriscandlin01; 03-05-2015 at 05:59 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Is this query solvable?

    chriscandlin01, welcome to the forum

    Your attachment did not come through Maybe try again?

    Also, Please take a moment to read the forum rules and then amend your thread title to something descriptive of your problem - not what you think the answer might be. (think google search terms?). Once you have done this please send me a PM and I will remove this request. (Also, include a link to your thread - copy from the address bar)

    Many members search our previous posts, and thread titles play a big part of the search. I doubt anybody would do a search based on your title?

    To change a Title on your post, click EDIT POST then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: e.g column c - h replace with j-o on specific rows

    For the purpose of what you mentioned in your post most straight forward would be this simple macro.
    Notice that it would be better to also avoid the hard coded column references, but for now ....
    Please Login or Register  to view this content.
    Of course there more solutions depending on what you want to achieve.

  6. #6
    Registered User
    Join Date
    03-05-2015
    Location
    England
    MS-Off Ver
    2007/2010
    Posts
    3

    Re: e.g column c - h replace with j-o on specific rows

    Hello,

    I will test this solution, thankyou very much for taking the time to reply, it is very much appreciated and is all for charity

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 02-01-2013, 04:21 PM
  2. [SOLVED] Loop through list, perform web query and save each query on its own page
    By anrichards22 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2012, 07:50 AM
  3. Problem with selecting range with in query table after query refresh
    By shooter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2012, 11:55 AM
  4. Web Query - Change a word in query to form a new query
    By scottymelloty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 04:13 AM
  5. Replies: 4
    Last Post: 06-17-2011, 08:53 AM

Tags for this Thread

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.6.0 RC 1