+ Reply to Thread
Results 1 to 5 of 5

Macro to organize information within clusters

  1. #1
    Registered User
    Join Date
    02-24-2017
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    65

    Macro to organize information within clusters

    Hi all,

    I have information organized within clusters, that i'd like ordered lowest->highest within each cluster, and duplicates should be deleted.

    There are two columns, the numbers in column E are associated with the ones in column F and should stick together.
    Each number in column E corresponds to only one number in column F, per batch.

    Other notes: gaps should be removed


    This all probably sounds very confusing so I've attached an exact sample of what i'm looking for.


    As always, any and all help appreciated!
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Macro to organize information within clusters

    It shouldn't have needed that last pass - but, it works

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    02-24-2017
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    65

    Re: Macro to organize information within clusters

    That works great on the sample!

    I pasted in more data to columns E and F (for context, it is >25,000 rows), and when I ran the macro, I got a "400" error.

    How can I fix this?

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Macro to organize information within clusters

    Is the data consistent? Have you got "Batch End" at the bottom?? I just pasted to double the sample and it ran without a hitch - so, it's probably the data. What line does it highlight?

    Thanks for the rep!

  5. #5
    Registered User
    Join Date
    02-24-2017
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    65

    Re: Macro to organize information within clusters

    Oooh, you're right. There was one problematic cell right after the last "Batch End"

    Thanks!!!

    Np, you deserve it

+ 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. organize information in excel from email
    By vkanstantsin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2017, 11:27 AM
  2. Building One-Click Macro Program to Organize Corporate Executive Information
    By alacey425 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2015, 08:56 PM
  3. How to pull information, and organize them.
    By Smashingdude in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-06-2014, 08:38 AM
  4. How do I organize this information in a list into columns?
    By roman777 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2012, 09:30 AM
  5. [SOLVED] How do I organize information in a list into columns?
    By roman777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 10:07 PM
  6. Organize Information Using Forms
    By bradvh0023 in forum Excel General
    Replies: 2
    Last Post: 05-23-2011, 10:34 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