Consulting

Results 1 to 3 of 3

Thread: VBA Code for Combing Lists

  1. #1

    VBA Code for Combing Lists

    Hello,

    I'm looking for a method to combine values from one list and have it match to another list then create two new columns from that data. I enclosed an example of this problem within this post..

    Thank You for your time..
    Attached Files Attached Files

  2. #2
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    Put this formula in one cell =INDEX(A:A,1+INT((ROW(A2)-2)/COUNTA(B:B))+1,1)&""
    And this in the cell to its right =INDEX(B:B,MOD(ROW(A1)-1,COUNTA(B:B)-1)+2,1)&""


    Then drag down.

  3. #3
    Thanks that did the trick!

Tags for this Thread

Posting Permissions

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