+ Reply to Thread
Results 1 to 3 of 3

Sorting the data with Exchange code for different months and paste it in sequence in next

  1. #1
    Registered User
    Join Date
    08-28-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    92

    Lightbulb Sorting the data with Exchange code for different months and paste it in sequence in next

    Hi Team,

    A very good evening,
    I have an input file where there are different exchanges codes and their holidays list. i have them in jumbled format with month wise . now i want a macro which can take the reference of exchange code(Since they are more accurate in original sheet) and Sort down the data in such a way that For an exchange code all the holidays in an year should come in sequence. for example if i have an exchange code as "AU" in the exchange code column the macro should search for "AU" in whole sheet and copy the data for all the twelve months and paste it in next sheet in a sequence and again it should go to second exchange code and do the same thing.

    I had attached the sample sheet and desired sheet for your reference . thanks for your help in advance ... any help will be much appreciated......
    Attached Files Attached Files

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Sorting the data with Exchange code for different months and paste it in sequence in n

    Hello boddulus,

    The macro lists the echanges by exchange code and by date. The results are sorted by exchange code then by date.

    The "Test Results" worksheet has a button to run the macro. The macro clears any previous data on the sheet when it runs.

    Here is the macro code...
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    08-28-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    92

    Re: Sorting the data with Exchange code for different months and paste it in sequence in n

    Oh ! That Exactly worked as i wanted..... thank you very much leith ross for your help......... i will mark this thread as solved...

+ 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. Sorting months and data from large set of data
    By dimuthumme in forum Excel General
    Replies: 17
    Last Post: 03-17-2014, 10:49 AM
  2. [SOLVED] Sorting same type of months together from different years of data
    By dimuthumme in forum Excel General
    Replies: 8
    Last Post: 03-17-2014, 09:49 AM
  3. [SOLVED] Need a hand to clean up working code (External Data fetch foreign exchange rates)
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-12-2013, 06:40 PM
  4. Sorting of Data in Numeric Sequence
    By donkeybusiness in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-30-2012, 03:08 PM
  5. Multilookup alongwith SORTING for only MONTHS plus CLUBBING LIKE Data
    By e4excel in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-09-2011, 08:59 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