+ Reply to Thread
Results 1 to 4 of 4

I need a macro help !!! to move data from column according to a same ID

Hybrid View

  1. #1
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    I need a macro help !!! to move data from column according to a same ID

    Hi,

    I have a list with 4000 records for student and we would like to only keep the unique student ID but bring acrross into one line records

    I have attached a sample file I get things but not what I really whelp.xlsxhelp.xlsxant and your expertise would be welcome

  2. #2
    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
    52,946

    Re: I need a macro help !!! to move data from column according to a same ID

    Try this...
    1. Delete the data you have in Sheet3 (leave the headings)
    2. Put this in A2, copied down...
    =IFERROR(INDEX(Sheet1!$A$2:$A$19,MATCH(0,INDEX(COUNTIF($A$1:$A1,Sheet1!$A$2:$A$19),0,0),0)),"")
    3. Put this in B2, and copy down and across...
    =IF(A2="","",INDEX(Sheet1!$A$2:$K$19,MATCH(Sheet3!$A2,Sheet1!$A$2:$A$19,0),MATCH(Sheet3!B$1,Sheet1!$A$1:$K$1,0)))
    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

  3. #3
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    Cool Re: I need a macro help !!! to move data from column according to a same ID

    Thank your very much I did finally find a macro that I was able to work on what I wanted to achieved but this is something I need to explore as well the formula. Thank you so much for your quick reply.

  4. #4
    Registered User
    Join Date
    05-27-2014
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    57

    Re: I need a macro help !!! to move data from column according to a same ID

    How do I mark 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. Macro to move data from cell to column
    By cmgp01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-19-2014, 03:10 PM
  2. [SOLVED] Macro to filter one column and move that data into another.
    By Dgp2012 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-01-2013, 07:49 AM
  3. Macro to Move Data into Another Column
    By MSmithson in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-22-2011, 03:38 AM
  4. Macro to move data from cell to column
    By miketsch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2010, 11:20 PM
  5. [SOLVED] create macro to move label type data to column data
    By JonathonWood9 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2005, 07:06 PM

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