Formatting Dates/Times

smallsmallman

New Member
Joined
Jul 28, 2011
Messages
4
I have about 20,000 cells of info with date/times. The date is in the format:

01 Jan 2009 13:00:00:000

I need the date to be in this format in order for other cells to recognise it:

01/01/2009 13:00

Making this format by dragging down the little black box won't be any use because there are a load of dates missing. Any suggestions?
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
If you have data starting at A2 try this formula in B2

=SUBSTITUTE(A2,":",".",3)+0

That should convert to a valid date/time serial number - format in required date/time format as fill formula down column
 
Upvote 0
barry you legend of a man, i got it to work and sorted the date out fine but now all i seem to be getting is 39814 when i try to change this date:

01 Jan 2009 00:00:00:000

i'm probably just being a idiot but whats goin on there??
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,730
Members
452,939
Latest member
WCrawford

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
Back
Top