• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

HELP- Unable to Manipulate Text

Lucasv98

New Member
I am attempting to convert the text in column 4 into column 5 in MM/DD/YYYY Format. The first 43 entries show my harcoded work, where as the numerical strings after were produced using the formula =RIGHT(A1,8). I am unable to format the resulting data as a date like those above, and was wondering if anyone had a work around. Thanks
 

Attachments

  • Capture.JPG
    Capture.JPG
    135 KB · Views: 22
With
A1: ABERDEEN12302009

This regular formula converts the last 8 characters into a date
Code:
B1: =--TEXT(--RIGHT(A1,8),"00\/00\/0000")
Format that cell as a date.

Is that something you can work with?
 
This regular formula converts the last 8 characters into a date
B1: =--TEXT(--RIGHT(A1,8),"00\/00\/0000")
Looked cool, so I gave it a try. FYI your formula formula seems not to be working if you have different local settings like myself. At my end it returns #VALUE!.
 
Looked cool, so I gave it a try. FYI your formula formula seems not to be working if you have different local settings like myself. At my end it returns #VALUE!.
Interesting....What are your local settings? I'm hoping this approach can be adapted for any region.
 
My second function and your setup works great if system/Excel's region is set to US (mm/dd/yyyy). But will not work well for British or Canadian set up, dd/mm/yyyy.

Date function is probably the best option to work in both environment. Other than setting up custom function in PowerQuery using M.
 
Nice. Didn't think to make it into yyyy/mm/dd format. That's universal as far as I know across multiple systems.
 
Back
Top