+ Reply to Thread
Results 1 to 9 of 9

How to sort the data by item code first, then sort them by date?

  1. #1
    Registered User
    Join Date
    06-29-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    39

    How to sort the data by item code first, then sort them by date?

    Here is my sample.

    I wanna sort the data in "Database2" by item code first, then sort them by date,
    then print in the "template2"
    Here is my code, but I dun know how to use it to sort by 2 elements.

    Please Login or Register  to view this content.
    Thanks, Zecond

    same post by hei
    http://www.mrexcel.com/forum/excel-q...them-date.html
    Attached Files Attached Files
    Last edited by Zecond; 08-16-2013 at 04:13 AM.

  2. #2
    Registered User
    Join Date
    06-29-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: How to sort the data by item code or date?

    Does someone know how to sort the data by item code first, then sort them by date?

    thx,Zecond
    Last edited by Zecond; 08-01-2013 at 04:00 AM.

  3. #3
    Registered User
    Join Date
    06-29-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: How to sort the data by item code first, then sort them by date?

    Does someone know how to sort the data by item code first, then sort them by date?

    thx,Zecond

  4. #4
    Registered User
    Join Date
    06-29-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: How to sort the data by item code first, then sort them by date?

    Does someone know how to sort the data by item code first, then sort them by date?

    thx,Zecond

  5. #5
    Registered User
    Join Date
    06-29-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: How to sort the data by item code first, then sort them by date?

    Does someone know how to sort the data by item code first, then sort them by date?

    thx,Zecond

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: How to sort the data by item code first, then sort them by date?

    @Zecond

    You got 54 views and no comment.

    That mostly means the question is not clear.

    For me it's not clear on which sheet you want the data sorted.

    You can add the manualy actions with the macro-recorder, then you will know the code for that actions.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to sort the data by item code first, then sort them by date?

    @Zecond,

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    HTH
    Regards, Jeff

  8. #8
    Registered User
    Join Date
    06-29-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: How to sort the data by item code first, then sort them by date?

    Re oeldere,

    Ok.
    I have changed my word and explained clearer.
    I will have a try with using macro later, Thanks!

  9. #9
    Registered User
    Join Date
    06-29-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    39

    Re: How to sort the data by item code first, then sort them by date?

    Re jeffrey,

    I have added the other link in my post. Thanks.

+ 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. How to sort the data in correct sequence of date and item code?
    By Zecond in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-30-2013, 09:16 PM
  2. Use VBA to create item code from user defined data (with screenshot)
    By unclejemima in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 07-29-2013, 08:31 PM
  3. [SOLVED] Searching and porting data using a date range and Item ID
    By Aussie1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-01-2013, 01:36 PM
  4. [SOLVED] Changing date to sort code format?
    By LDouble3 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-28-2012, 06:13 AM
  5. [SOLVED] Macro to update pivot item (date format) in pivot table to latest date from data source.
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2012, 03:18 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