+ Reply to Thread
Results 1 to 2 of 2

How to arrange date/time values in Ascending Order within Excel Power Query

  1. #1
    Registered User
    Join Date
    03-05-2023
    Location
    Dubai
    MS-Off Ver
    Microsoft Office Professional Plus 2019
    Posts
    1

    How to arrange date/time values in Ascending Order within Excel Power Query

    Hi everyone,

    I have an excel sheet extracted from an app which shows date/time values in the following format.

    31/01/2023 13:43:56
    31/01/2023 13:28:03
    30/01/2023 19:46:33
    30/01/2023 19:42:06
    30/01/2023 19:00:22
    30/01/2023 17:46:57
    30/01/2023 17:45:53
    30/01/2023 12:14:12
    27/01/2023 12:00:53
    26/01/2023 14:44:33
    25/01/2023 18:01:03
    25/01/2023 14:18:18
    25/01/2023 13:24:53
    25/01/2023 00:12:43
    24/01/2023 12:06:57

    To save time, I am using Power Query since I will receive the same excel sheet every month (same format). After I load the excel sheet into Power Query and start transforming the data, I want to sort the data/time values in Ascending Order (Earliest to Latest). I notice that using the traditional "Sort in Ascending/Descending Order" option in the column filter does not seem to work. I believe I will need to add a new custom column with an equation.

    Can anyone help me figure out the equation required so I can arrange my data from earliest to latest?

    FYI I am using Microsoft Office Professional Plus 2019 and I have attached a sample of the Raw Excel dates as well as a screenshot of what is displayed after loading the sheet to Power Query.

    Thanks in advance!
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by vidurak; 03-05-2023 at 06:34 AM.

  2. #2
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,412

    Re: How to arrange date/time values in Ascending Order within Excel Power Query

    Power Query
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. count and arrange the values in ascending order
    By roshni.gul in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-23-2018, 12:06 PM
  2. How can I arrange numbers in ascending order but....
    By mikehende in forum Excel General
    Replies: 2
    Last Post: 11-15-2016, 03:18 PM
  3. Arrange cells in ascending order
    By pankaj221 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2016, 04:42 PM
  4. Arrange data in ascending order
    By bezbid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-17-2016, 10:22 AM
  5. how to arrange multiple columns in ascending order
    By sanjay2210.msl in forum Excel General
    Replies: 2
    Last Post: 10-29-2013, 08:26 AM
  6. Arrange the sheet name in ascending order
    By PRADEEPB270 in forum Excel General
    Replies: 2
    Last Post: 05-13-2013, 08:08 AM
  7. How to arrange in ascending order all subtotals
    By faisal123 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-17-2013, 06:12 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