+ Reply to Thread
Results 1 to 5 of 5

Consolidate rows if they match a specific column

  1. #1
    Registered User
    Join Date
    07-25-2014
    Location
    Oftringen, Switzerland
    MS-Off Ver
    Professional Plus 2010
    Posts
    16

    Consolidate rows if they match a specific column

    Hello all

    I have an excel list with leads data in it and each deal may have more than one sub list.
    Right now each sub lead is listed as a new row, but i would like to consolidate sub leads into one row.

    I have attached an example of the data and the output am looking for.

    Thank you for your assistance.
    Attached Files Attached Files

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Consolidate rows if they match a specific column

    Try this:-
    Results start "H1"
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Registered User
    Join Date
    07-25-2014
    Location
    Oftringen, Switzerland
    MS-Off Ver
    Professional Plus 2010
    Posts
    16

    Re: Consolidate rows if they match a specific column

    Hello Mick

    Thank you very much for the code.

    Unfortunately, am not an advanced user of Excel, how would I go about implementing the code?

    Thank you once again for your assistance.

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Consolidate rows if they match a specific column

    Try this:-
    To Save and Run Code:-
    Copy code from Thread
    In Your Data sheet , Click "Alt+F11",:- Vb Window appears.
    From the VBWindow toolbar, Click "Insert" ,"Module":- New VBwindow appears .
    Paste Code into this window.
    Close Vbwindow.

    On sheet Click "Developer tab", Click "Macro". Macro dialog box appears.
    Select Macro (with same name) from List.
    On the right of Dialog box Click "Run"
    The Sheet should now be updated.
    Regrds Mick

    PS:- If you want to save results to new sheet, change the line at bottom of code From:-
    With Range("H1")
    to
    With sheets("Sheet2").range("A1")

    (Change sheet name to suit)

  5. #5
    Registered User
    Join Date
    07-25-2014
    Location
    Oftringen, Switzerland
    MS-Off Ver
    Professional Plus 2010
    Posts
    16

    Re: Consolidate rows if they match a specific column

    Thank you very much.

    The code works like a charm on the data.

    Thank you very much.

+ 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 identify specific rows in many sheets and consolidate onto one sheet
    By Ospenc1 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-19-2013, 12:00 PM
  2. Consolidate multiple columns and rows into one Column
    By jewels3059 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2013, 11:12 AM
  3. Replies: 2
    Last Post: 08-10-2012, 11:52 PM
  4. [SOLVED] Help: Consolidate duplicate rows with one varying column
    By g1987 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2012, 12:23 PM
  5. Consolidate rows with the same value in a column
    By jonryan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-27-2010, 12:04 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