+ Reply to Thread
Results 1 to 7 of 7

Group numbers in two columns using collections

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

    Group numbers in two columns using collections

    Hello everyone
    I have a working code that groups the numbers in column B and this is the code
    Please Login or Register  to view this content.
    How can I group the column C too to have it grouped in column H?
    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 Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Group numbers in two columns using collections

    Maybe :
    Please Login or Register  to view this content.
    Last edited by karedog; 05-05-2019 at 11:55 AM.
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

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

    Re: Group numbers in two columns using collections

    Thank you very much for awesome solution
    Best and Kind Regards my friend

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

    Re: Group numbers in two columns using collections

    Can the results sorted in different way if the data is not adjacent .. I have added a new row and put the expected results in such a case
    Sorry for confusion
    Attached Files Attached Files

  5. #5
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Group numbers in two columns using collections

    You are welcome, thanks for reps.

    It Should be :
    Please Login or Register  to view this content.

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

    Re: Group numbers in two columns using collections

    You are awesome. You have a solution to any problem and that is incredible
    Thank you very much my friend

  7. #7
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Group numbers in two columns using collections

    You are welcome, glad I can help.

    Regards

+ 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. [SOLVED] is there any book to teach System.Collections.ArrayList, System.Collections.SortedList,
    By Flora20 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2017, 06:35 AM
  2. [SOLVED] Macro to generate groups randomly of 20 numbers, being 10 of group A and 10 of group B,
    By jorel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-14-2017, 08:02 AM
  3. [SOLVED] Taking single input as numbers and storing in arrays or collections
    By come2me in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-19-2017, 05:02 AM
  4. Replies: 1
    Last Post: 02-03-2016, 06:43 PM
  5. Collections within class module collections
    By AndyLitch in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2013, 06:00 AM
  6. Replies: 2
    Last Post: 01-18-2013, 12:45 PM
  7. [SOLVED] How can I convert a group of numbers to a group of letters?
    By CarlG in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-18-2006, 10:35 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