Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 02-13-2017, 06:15 PM
jeffreybrown jeffreybrown is offline Macro or formula on Excel to Standardize dates Windows Vista Macro or formula on Excel to Standardize dates Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

For some reason, your dates in column A are not being read as dates. To see this, in B2 use =ISNUMBER(A2)

You should get FALSE as it's not a number, so we have to convert it to a number.

A couple of ways to do this:

1) In B2 use the formula =A2+0 and copy it down. Now convert column B to values and sort. The +0 forces A2 into a number.

2) Use Text to Columns

Text to Columns
  • Highlight range to convert >> Column A
  • Data >> Data Tools >> Text to Columns >> Check Delimited >> Next >> Next
  • Check Date and with the drop down select your format
  • Finish
Attached Files
File Type: xlsx Example (2).xlsx (21.0 KB, 8 views)
Reply With Quote
 

Tags
dates, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro or formula on Excel to Standardize dates Formula/VBA to identify order of entry dates lesmielles Excel Programming 3 02-08-2017 06:14 AM
Macro or formula on Excel to Standardize dates IF formula using dates rindelsk Excel 1 04-06-2015 01:15 AM
Macro or formula on Excel to Standardize dates IF Formula to calculate dates Sophie1 Excel 2 04-23-2014 07:19 AM
If formula for subtracting dates gbaker Excel 6 10-07-2012 07:06 AM
Excel 2007 - formula or macro/vba code required wrighty50 Excel Programming 3 05-13-2012 02:24 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:53 PM.


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