Date value prob

Roc

New Member
Joined
Nov 25, 2005
Messages
32
Have imported multiple text and dates into excel from website (all info from same site). Am now trying to sort data into date order but some date info not registering as date yet others are. Cannot simply format certain cells/columns to date, does not work. Any other ideas to format all relevant data to date format for sorting?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Harvey

Well-known Member
Joined
Nov 18, 2004
Messages
953
if formatting as a date doesn't work, then excel doesn't recognize it as a date. you can 'convert' the data to dates with the date() function.
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,351
Office Version
  1. 365
Platform
  1. Windows
Try selecting the column with the 'dates' and going to Data>Text to columns...

On the 3rd step choose the format, eg DMY, the 'dates' are currently in from the dropdown in the Column data format section.

That should convert the 'dates' into true date values that can then be formatted as required.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,126
Messages
5,857,523
Members
431,883
Latest member
Hien

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top