Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2022, 01:51 PM
kilroyscarnival kilroyscarnival is offline Date Sorting Problem Windows 10 Date Sorting Problem Office 2019
Expert
 
Join Date: May 2019
Posts: 363
kilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nicekilroyscarnival is just really nice
Default

Quote:
Originally Posted by PomDave View Post
Hi All,

Now I don't think that this is possible, but if in doubt ask the experts.

I have a list that I want to sort either of two ways, one is by date and the other is alphabetical. The alpha works just fine, but when it comes to the dates I have problems, which is the part that I don't think is possible.

As you can see, the date can be dd/mmm/yy - mmm/yy - yyyy, and this is where the issue is.

Any ideas?

Best Rgds,
Dave R.
Dave,

Unless you're storing that date as text, all dates in Excel have an underlying numerical value. For example March 10th, 2019 in your first line, I'm presuming, is 43534. And even if you changed the cell's number formatting to display that as 19-Mar-2019, it's still that numerical value. So, yes, you should absolutely be able to sort on the dates. I just typed in three cells formatted American style, m/d/yy, and then dd-mmm-yyyy, and sorted them.

1/2/2022


11-Jan-2022
1/23/2022
14-Feb-2022
2/15/2022
01-Mar-2022
Reply With Quote
  #2  
Old 03-14-2022, 02:53 PM
PomDave PomDave is offline Date Sorting Problem Windows 10 Date Sorting Problem Office 2010
Advanced Beginner
Date Sorting Problem
 
Join Date: Sep 2011
Location: Australia
Posts: 49
PomDave is on a distinguished road
Default

Ah, but that's where my problem lies. If you have only the year, say 2019, that's what the number is whereas March 10th 2019 has a numerical number of 43534.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Sorting Problem Formula For Sorting In Order Date Wise suniltko Excel 5 05-15-2018 09:18 PM
Sorting Problem RonLEngle Excel Programming 8 12-19-2017 01:15 PM
Sorting problem in Excel nrsmd Excel 2 10-08-2017 11:54 AM
Date Sorting Problem Problem sorting names alphabetically? mikehende Excel 12 09-12-2012 12:00 PM
sorting problem gsrikanth Excel 4 02-16-2012 12:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft