Results 1 to 2 of 2

Thread: Help to Order by colum

  1. #1

    Unhappy Help to Order by colum

    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hi! Ineed help to order by "X" colum with complicated data.

    this colum have a text format. contains a book number and year like this "1542/02" book number 1542 from 2002.

    how can do to order by year ? it's imposible ? i mean, first criteria must be year, later the book number.

    maybe i have to change de cell format for a custom one, i try somes but get an error ..... and then the order data. uff, headake

    thanks !!

  2. #2
    Administrator Ken Puls's Avatar
    Join Date
    Mar 2011
    Nanaimo, BC, Canada
    Blog Entries
    Excel Version
    Excel Office 365 Insider
    What I would do is use another column to flip the data into the format that I need it. Assuming your data is in column A:

    If you run that down a column you should end up with your year first, and now it should sort by year then book.
    Ken Puls, FCPA, FCMA, MS MVP

    Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!

    Main Site: -||- Blog: -||- Forums:
    Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter

    If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts