+ Reply to Thread
Results 1 to 6 of 6

Gather data for similar group

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,891

    Gather data for similar group

    Hello forum experts
    I have some data arranged in column A in groups ..
    In column B I have numbers scattered and I need to gather them one by one for each group
    I have attached the expected results
    Thanks advanced for help
    Attached Files Attached Files
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Gather data for similar group

    Try:
    Please Login or Register  to view this content.
    多么想要告诉你 我好喜欢你

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,891

    Re: Gather data for similar group

    Thank you very much Mr. Millz for this working and great code
    In fact I need to depend on vba arrays to achieve that task ..
    Is there a way to put the range in array and then remove empty elements from the second dimension to let the the rest of values at the top of the array ...?

  4. #4
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Gather data for similar group

    The same code with arrays would be something like this:
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,891

    Re: Gather data for similar group

    Thank you very much
    You are brilliant and very helpful

    I tried to sort the column B in descending way using that code
    Please Login or Register  to view this content.
    but I got empty cells at first .. How can I sort in descending way skipping the empty cells?

  6. #6
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,891

    Re: Gather data for similar group

    Thanks I could fix it
    Please Login or Register  to view this content.

+ 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: 4
    Last Post: 08-27-2015, 11:22 AM
  2. Gather data across several similar sheets
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-04-2014, 10:16 PM
  3. Need to add a row under each group of similar data and add a Sum above each section
    By NextWorldAngel in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2013, 02:14 PM
  4. VBA to group similar records
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-02-2012, 03:21 AM
  5. Is there a way to Group similar items on the X axis?
    By hkUSATV in forum Excel General
    Replies: 5
    Last Post: 12-11-2008, 09:44 AM
  6. Is there a similar users group for Access?
    By Dan Raab in forum Excel General
    Replies: 2
    Last Post: 01-19-2006, 05:10 PM
  7. How to group similar column titles together????
    By vrk1 in forum Excel General
    Replies: 2
    Last Post: 04-29-2005, 08: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