+ Reply to Thread
Results 1 to 5 of 5

Consolidate row based on value

  1. #1
    Registered User
    Join Date
    04-17-2013
    Location
    Caguas, Puerto Rico
    MS-Off Ver
    2010
    Posts
    15

    Consolidate row based on value

    Hi,

    Im looking for an example of a macro in which...

    searches on column D for same values

    and on columns H write the consolidation of column D.

    I attached an example of the data in which the idea is more clear, I think

    thanks,

    Sammy
    Attached Files Attached Files

  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: Consolidate row based on value

    Did you try subtotals ?
    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
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Consolidate row based on value

    It can easily be handled by a Pivot Table, but if you want a code, the output is in new sheet.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-17-2013
    Location
    Caguas, Puerto Rico
    MS-Off Ver
    2010
    Posts
    15

    Re: Consolidate row based on value

    Hi,

    works great!

    Thanks a lot.

    Sammy

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

    Re: Consolidate row based on value

    Since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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