+ Reply to Thread
Results 1 to 7 of 7

Finds End of List an Populates

  1. #1
    Registered User
    Join Date
    01-13-2010
    Location
    Jhb
    MS-Off Ver
    Excel 2007
    Posts
    65

    Finds End of List an Populates

    Hi

    I have a spreadsheet and need some help with a formula.

    I have 2 columns. A & B.

    Col A contains some keywords. Col B contains some search terms.

    I want to concatenate every value in col A with every value in Col b AND most importantly display them in one col. i.e. Results col 3.

    So after first iteration of A1 with all B, it finds end of data in Results column and then begins second iteration (A2 with all of B) and it continues until all are done.

    See attached sample4.

    Alex
    Attached Files Attached Files
    Last edited by Camel; 07-23-2012 at 11:48 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Finds End of List an Populates

    in c2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    01-13-2010
    Location
    Jhb
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Finds End of List an Populates

    You rock....that is exactly what I have been looking for! Can I give you a double thanks you?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Finds End of List an Populates

    Try this. Adjust the references to row 40 to whatever you think your maximum row will be in A and B

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Finds End of List an Populates

    Dang, out-typed by that swift fingered Martin again.

  6. #6
    Registered User
    Join Date
    01-13-2010
    Location
    Jhb
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Finds End of List an Populates

    Perfect! Two great answers!

  7. #7
    Registered User
    Join Date
    01-13-2010
    Location
    Jhb
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Finds End of List an Populates

    Hi

    I have been reviewing the answer provided and it works, but I need to tweak it slightly.

    This time, in column B I will have a text placeholder. E.g. TEXT.

    The formula needs to take every row in col A, and insert/replace the text in the placeholder.

    E.g. "inurl: TEXT" submission
    OR
    TEXT "submission"
    OR
    "submission of TEXT"
    OR
    "submissions of" TEXT

    This would then be replaced with every row in Col A. E.g. "inurl: learners permits" submissions or "inurl: k53 tests"

    Many Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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