+ Reply to Thread
Results 1 to 6 of 6

How to automatically sort data using VBA/Programming

  1. #1
    Registered User
    Join Date
    01-21-2022
    Location
    Dublin, Ireland
    MS-Off Ver
    16.0
    Posts
    11

    How to automatically sort data using VBA/Programming

    Hi,

    I'm looking to sort the data shown in the attached workbook to a new format. The issue is that the raw data displays every serial number associated with each MSN under each other, I would like these to be beside each other instead to track each MSN more efficiently. I've been able to sort the serial numbers so they are listed beside each MSN using VBA but I haven't been able to make sure each serial number brings its associated columns of data with it

    Any help with this would be greatly appreciated
    Attached Files Attached Files

  2. #2
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2402-17328.20068
    Posts
    1,360

    Re: How to automatically sort data using VBA/Programming

    Will the MSN number be duplicated when there are multiple Engine SN's?

    I ask because in the supplied data every MSN has one Engine SN, from looking at the data you will end up with what you started with.
    If things don't change they stay the same

  3. #3
    Registered User
    Join Date
    01-21-2022
    Location
    Dublin, Ireland
    MS-Off Ver
    16.0
    Posts
    11

    Re: How to automatically sort data using VBA/Programming

    Yes, currently the same MSN will be there in there twice (maybe even 4 times) with 1 Engine serial number beside it.

  4. #4
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2402-17328.20068
    Posts
    1,360

    Re: How to automatically sort data using VBA/Programming

    My error on the MSN's on closer inspection MSN 3 is in there twice - I am 2 years overdue for an eye test

  5. #5
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2402-17328.20068
    Posts
    1,360

    Re: How to automatically sort data using VBA/Programming

    Have a look at the attached, it should help you get on the right track. There are other ways...
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-21-2022
    Location
    Dublin, Ireland
    MS-Off Ver
    16.0
    Posts
    11

    Re: How to automatically sort data using VBA/Programming

    Thank you

+ 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: 5
    Last Post: 03-11-2022, 09:02 AM
  2. [SOLVED] How to sort to a table automatically (without using data sort)
    By mtouhig in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-26-2020, 12:46 PM
  3. Sort Data Automatically
    By dagindi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2017, 12:46 PM
  4. [SOLVED] Sort Data automatically using vba
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-07-2016, 02:34 AM
  5. Auto Data Sort (Programming without VB , Macros or Pivots
    By jaysknots in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 10-22-2014, 03:18 PM
  6. sort data automatically
    By verisme in forum Excel General
    Replies: 5
    Last Post: 12-27-2009, 04:53 AM
  7. automatically Data sort
    By s.w in forum Excel General
    Replies: 1
    Last Post: 11-14-2007, 10:42 AM

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