Convert General Number to Date Format

heathbb

New Member
Joined
Mar 7, 2016
Messages
3
I have a unique problem I need solved.
I need to convert a column of general numbers to a date format. I have more than 100000 rows of this format I need converted.

I start with the following general format in the column
1150621
This number equates to 2015 June 21
I want it get it into 21/06/2015 format.
I have used this formula “=20&(REPLACE(LEFT(F6,3)&"-"&MID(F6,4,2)&"-"&RIGHT(F6,2),1,1,""))”
and got the following result
2015-06-21 (which looks like a date to me)
From there I cannot get Excel to format that as a date.
I have tried to copy and paste as value and then format it, cant get it right.:confused:

I am using Excel 2010 on Windows 7 Laptop.

Please help
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try this formula...

=0+TEXT(19000000+F6,"0000-00-00")

then format its cell with the date format you want.
 
Upvote 0
will the number say, 3141102 is 02/11/2014?
 
Upvote 0
@heathbb... I think you may have missed what I posted in Message #2.
 
Upvote 0

Forum statistics

Threads
1,214,413
Messages
6,119,372
Members
448,888
Latest member
Arle8907

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