• 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.

date formula

Rodrigues

Member
Hello All
On column B (file attached) I need to look at the column I and display the date using format: 02-03-16 (ignoring the text before the date).
On column I, have added some variances as isn't always the same.
Many thanks in advance.
R
 

Attachments

  • Book1.xlsx
    10.9 KB · Views: 12
Hi Rodrigues,

Based on your posted samples, Try:
=IF(ISERROR(FIND("END",I2)),--TRIM(RIGHT(I2,9)),EOMONTH(--TRIM(RIGHT(I2,9)),0))

OR
=IFERROR(MID(I2,SEARCH("??-??-??",I2),8)+0,EOMONTH(--TRIM(SUBSTITUTE(I2,"END","")),0))

Regards,
 
Back
Top