+ Reply to Thread
Results 1 to 4 of 4

Build Column D based on Columns A, B, and C (which have varying size and content)

  1. #1
    Registered User
    Join Date
    05-18-2016
    Location
    Colorado, USA
    MS-Off Ver
    2016
    Posts
    2

    Build Column D based on Columns A, B, and C (which have varying size and content)

    Hello all, and thank you in advance for your help! I'm hoping this will be fairly straightforward.

    I have a spreadsheet with three columns (A, B, C) and I am trying to create column (D) based on the values in the other columns. Column A contains header values which correspond to a varying number of rows of data in Columns B and C, such that there might be values in A1, A4, A6, etc., and Columns B and C are all full.

    A1 corresponds to B1-B3 and C1-C3
    A4 corresponds to B4-B5 and C4-C5
    and so on.

    I'd like D1 to contain: B1, C1 | B2, C2 | B3, C3
    I'd like D4 to contain: B4, C4 | B5, C5

    It's probably easier to just look at the attached sample file. I'm trying to turn the contents of Sheet1 into the contents of Sheet2.

    I'd be so grateful for any suggestions, hints, or solutions! Thank you!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Build Column D based on Columns A, B, and C (which have varying size and content)

    Give this a try? It seems to work for me:
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Build Column D based on Columns A, B, and C (which have varying size and content)

    Another approach:

    Please Login or Register  to view this content.
    I'm interested in starting a career working with VBA, if anyone knows of any opportunities!

  4. #4
    Registered User
    Join Date
    05-18-2016
    Location
    Colorado, USA
    MS-Off Ver
    2016
    Posts
    2

    Re: Build Column D based on Columns A, B, and C (which have varying size and content)

    Thank you both so much!!! Problem solved.

+ 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. Insert CSV take Last column and first column but varying length of columns
    By sdl2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2015, 07:15 PM
  2. Need to format the content based on given Font size & colour
    By aleanboy in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-05-2015, 01:49 PM
  3. Replies: 1
    Last Post: 05-29-2014, 12:27 PM
  4. Replies: 2
    Last Post: 05-22-2014, 05:09 AM
  5. [SOLVED] Varying validation drop-downs based on varying cell values
    By navarreman1 in forum Excel General
    Replies: 2
    Last Post: 08-08-2013, 08:13 AM
  6. How to delete all content in a row based on a column's content
    By mccalljohn in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2011, 12:05 AM
  7. Trying to build a macro filter based on data in either of two columns
    By indecision in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-08-2008, 11:31 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