Hello,
I am trying to extract an end date from a text string into a separate date cell in a separate date column. For example, in a cell with the following text string "1/1/14-6/30/22; 10,000,000 print and secure electronic" I would like to extract the end date of 6/30/22 into an End Date column cell for that row. Each row will have different end dates in a text string.
I found a formula that extracts a date in the forum and modified it with the name of the column to extract from and changed to "@row" as follows:
=IF(FIND("/", [Text Permissions Parameters]@row) = 2, DATE(VALUE(MID([Text Permissions Parameters]@row, 6, 4)), VALUE(MID([Text Permissions Parameters]@row, 1, 1)), VALUE(MID([Text Permissions Parameters]@row, 3, 2))), DATE(VALUE(MID([Text Permissions Parameters]@row, 7, 4)), VALUE(MID([Text Permissions Parameters]@row, 1, 2)), VALUE(MID([Text Permissions Parameters]@row, 4, 2))))
I can get it work for a text string with only one date but, cannot figure out how to get it to work when there is a date range (e.g., 1/1/14-6/30/22). The vast majority of the dates in the text strings has a range and I simply need to extract the end date.
Is this even possible?
Thanks in advance for any help.