+ Reply to Thread
Results 1 to 7 of 7

Merge column of data into a row of another table (Urgent help need needed)

  1. #1
    Registered User
    Join Date
    01-29-2013
    Location
    Iklin, Malta
    MS-Off Ver
    Excel 2010
    Posts
    4

    Merge column of data into a row of another table (Urgent help need needed)

    Basically, I need to merge the values in row A into specific rows in column D (as indicated by A1, A2, A3 etc). Is there a solution to my problem please? Thanks in advance.
    Attached Images Attached Images
    Last edited by dsaliba; 01-29-2013 at 11:08 AM.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Merge column of data into a row of another table (Urgent help need needed)

    A png file does not help us. Please upload a sample excel file.

    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Merge column of data into a row of another table (Urgent help need needed)

    Hazarding a guess ...
    Perhaps you meant to do something like this
    Placed in E1: =IF(D1="","",IF(LEN(D1)<2,D1,INDIRECT(D1)))
    Copy down. The INDIRECT part will return the contents of the cell refs in col D (eg A1, A2, A3, etc)
    --------------------
    Any good? Wave it, hit the little star at the bottom left of my responses

  4. #4
    Registered User
    Join Date
    01-29-2013
    Location
    Iklin, Malta
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Merge column of data into a row of another table (Urgent help need needed)

    Quote Originally Posted by Max, Singapore View Post
    Hazarding a guess ...
    Perhaps you meant to do something like this
    Placed in E1: =IF(D1="","",IF(LEN(D1)<2,D1,INDIRECT(D1)))
    Copy down. The INDIRECT part will return the contents of the cell refs in col D (eg A1, A2, A3, etc)
    --------------------
    Any good? Wave it, hit the little star at the bottom left of my responses
    I'm afraid no luck. N.B The data is all set as numbers. Maybe I can a write command where, when there's an empty space in column D insert a value from column A.
    Last edited by dsaliba; 01-29-2013 at 11:20 AM.

  5. #5
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Merge column of data into a row of another table (Urgent help need needed)

    Try this in E1: =IF(D1="",INDIRECT("A"&COUNTBLANK(D$1:D1)),D1)
    Copy down
    -------------------
    Success? Celebrate it, hit the little star at the bottom left of my responses

  6. #6
    Registered User
    Join Date
    01-29-2013
    Location
    Iklin, Malta
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Merge column of data into a row of another table (Urgent help need needed)

    Quote Originally Posted by Max, Singapore View Post
    Try this in E1: =IF(D1="",INDIRECT("A"&COUNTBLANK(D$1:D1)),D1)
    Copy down
    -------------------
    Success? Celebrate it, hit the little star at the bottom left of my responses
    Thank you sir!

  7. #7
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Merge column of data into a row of another table (Urgent help need needed)

    Welcome, glad to hear that achieved your intents
    Do take a moment to click the little star at the bottom left of my responses

+ 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