+ Reply to Thread
Results 1 to 3 of 3

VB code to compare cells, moving things to one row, deleting empty rows

  1. #1
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    VB code to compare cells, moving things to one row, deleting empty rows

    Hello all and thank you for taking time to look at my post. I have a spreadsheet of around 5000 lines. Column A has a list of things, Column B has a list of items in it with a cooresponding Value in column C. Column A B will have items that will eventually repeat. Column C the values will be different. I am looking for a formula or vb code to be able to do a few things.

    I would like to combine the same people together on 1 row, having the various items AND values be moved over to an empty column, and then deleting the different empty rows. I am uploading a sample similiar to what I have started and what the end result is
    Attached Files Attached Files

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: VB code to compare cells, moving things to one row, deleting empty rows

    Give this a try


    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    Re: VB code to compare cells, moving things to one row, deleting empty rows

    Thank you Mike. That seems to work.

+ 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. Replies: 5
    Last Post: 12-03-2015, 07:36 PM
  2. [SOLVED] Macro code for deleting empty rows in the output worksheet
    By macrolearnerkk in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-07-2015, 02:06 PM
  3. EXCEL VBA deleting empty rows code with formulas
    By superdonk in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-31-2014, 12:09 PM
  4. Code/Macro for deleting empty columns and rows.
    By gautamacharya in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-09-2014, 01:49 PM
  5. [SOLVED] Moving a row to another sheet and deleting the empty row
    By Tigger118 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-25-2013, 09:31 AM
  6. Deleting rows with empty cells in a specific column
    By vzw1965 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2011, 10:55 AM
  7. [SOLVED] Moving cells and deleting rows
    By Jim in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-19-2005, 08:15 AM

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