I have text in Cell A1 and it contains a date at the end fore eg 31 May 2022
I have used a formula to extract the month and year below but if the date at the end is for eg 30 April 2022, it returns #value
![]()
=DATEVALUE(RIGHT(A1,12))
It would be appreciated if someone could kindly amend my formula
Bookmarks