Results 1 to 9 of 9

Sort data using VBA

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-24-2011
    Location
    Belfast, N. Ireland
    MS-Off Ver
    Excel 2010
    Posts
    103

    Question Sort data using VBA

    Hi guys,

    first off, apologies if this is in the wrong place etc as I have not posted before.
    I have, with the help of the info on this forum, sorted out a sheet of data for a repeating report using Excel 2003.

    Column A gives a unique project code, column B the project title, column C gives a "parent ID" which should for the most part correspond with the project codes in column A; for example the second line of data is project JA210 - Tardree Zone WM Improvements and this project falls under the "Parent" project that has a code of JI003

    How can I use VBA to sort these records to reflect this? I want all of the records with JI003 in the Parent ID column to be displayed underneath the parent project, the same for JI005 etc. and do not want to loose the ordering of "non-child" projects which are currently sorted as ascending on Column A.

    In the example provided I have cut off most of the information as each project has a lot of data associated with it. Im sure there is a simple solution out there, but every time I think I have gotten my head around it I run into a problem so any help would be greatly appreciated. This is the last piece missing to produce a report in a day that used to take a fortnight
    Attached Files Attached Files
    Last edited by Mowgli; 03-24-2011 at 11:58 AM. Reason: No longer need the answer as have solved the problem

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