Biggskip
Distinguished Member
- Joined
- Feb 10, 2008
- Messages
- 4,277
- Reaction score
- 1,641
If the format of the date, regardless of position in the string, will always be dd/mm/yyyy the following gives you a numerical date (rather than a text value):
=DATE(VALUE(MID(A2,FIND("/",A2)+4,4)),VALUE(MID(A2,FIND("/",A2)+1,2)),VALUE(MID(A2,FIND("/",A2)-2,2)))
Is there a formula to take a date in a cell? I have a column of (lots of) deliveries but they're in the format of "Delivered - 31/08/2012" or "31/08/2012 - delivery to home address" etc. I want to make a column which would have cells with dates in.
If the format of the date, regardless of position in the string, will always be dd/mm/yyyy the following gives you a numerical date (rather than a text value):
=DATE(VALUE(MID(A2,FIND("/",A2)+4,4)),VALUE(MID(A2,FIND("/",A2)+1,2)),VALUE(MID(A2,FIND("/",A2)-2,2)))
Last edited: