convert text cells to date cells in Excel
#1
convert text cells to date cells in Excel
a column of 200 cells
each cell has date entered in the format dd.mm.yy eg. 31.06.05
problems stems from the cells being formatted as "text"
Is there any experienced Excel uses who can tell me how to convert these cells so they're formatted correctly eg. set to dd/mm/yyyy
I've tried selecting the column and manually setting format cells to "date" to no avail. No effect at all.
Any help would be appreciated
each cell has date entered in the format dd.mm.yy eg. 31.06.05
problems stems from the cells being formatted as "text"
Is there any experienced Excel uses who can tell me how to convert these cells so they're formatted correctly eg. set to dd/mm/yyyy
I've tried selecting the column and manually setting format cells to "date" to no avail. No effect at all.
Any help would be appreciated
#2
Got me thinking, so I had a go. I'm normally crap at Excel.
Column A = formatted as text - current text formatted date.
Column B = formatted as date - =DATE("20"&RIGHT(A1,2),MID(A1,4,2),LEFT(A1,2))
That did it for me. The "20" part is because on my Excel it kept getting the year 1905.
Hopefully that works for you
H
Column A = formatted as text - current text formatted date.
Column B = formatted as date - =DATE("20"&RIGHT(A1,2),MID(A1,4,2),LEFT(A1,2))
That did it for me. The "20" part is because on my Excel it kept getting the year 1905.
Hopefully that works for you
H
#4
Scooby Regular
Join Date: Dec 2000
Location: West Yorkshire
Posts: 3,828
Likes: 0
Received 0 Likes
on
0 Posts
Or Highlight the cells and cleck I think Edit then find and replace. Type in '.' (full stop) and in replace put '/' forward slash. Then do the same for '05' to '2005'. Leave the cells as text though as it will end up dividing it.
#6
Scooby Regular
Join Date: Sep 2001
Location: A powerslide near you
Posts: 10,261
Likes: 0
Received 0 Likes
on
0 Posts
Originally Posted by HHxx
Got me thinking, so I had a go. I'm normally crap at Excel.
Column A = formatted as text - current text formatted date.
Column B = formatted as date - =DATE("20"&RIGHT(A1,2),MID(A1,4,2),LEFT(A1,2))
That did it for me. The "20" part is because on my Excel it kept getting the year 1905.
Hopefully that works for you
H
Column A = formatted as text - current text formatted date.
Column B = formatted as date - =DATE("20"&RIGHT(A1,2),MID(A1,4,2),LEFT(A1,2))
That did it for me. The "20" part is because on my Excel it kept getting the year 1905.
Hopefully that works for you
H
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
alcazar
Computer & Technology Related
2
29 September 2015 07:18 PM