Hello, I would like to know if there is a function that can find multiple shorten year ranges in a cell and replace it with the full year range.
Example of shorten year range:
Buick LaCrosse 16-14, Regal 17-14
Mazda 18-14 3, 18-14 3 Sport
Hyundai 17-16 Tucson, Kia: 17 Sportage
Updated to Full year range
LaCrosse 2016-2014, Regal 2017-2014
Mazda 2018-2014 3, 2018-2014 3 Sport
Hyundai 2017-2016 Tucson, Kia: 2017 Sportage
I did try using the SUBSTITUTE function with a wildcard but it did not work.
Here is an example function I used for Buick LaCrosse 16-14, Regal 17-14 is in cell A1:
=SUBSTITUTE(A1,"1*-1*","201*-201*")
It returned the same exact data: LaCrosse 16-14, Regal 17-14
Your help will be greatly appreciated!
Example of shorten year range:
Buick LaCrosse 16-14, Regal 17-14
Mazda 18-14 3, 18-14 3 Sport
Hyundai 17-16 Tucson, Kia: 17 Sportage
Updated to Full year range
LaCrosse 2016-2014, Regal 2017-2014
Mazda 2018-2014 3, 2018-2014 3 Sport
Hyundai 2017-2016 Tucson, Kia: 2017 Sportage
I did try using the SUBSTITUTE function with a wildcard but it did not work.
Here is an example function I used for Buick LaCrosse 16-14, Regal 17-14 is in cell A1:
=SUBSTITUTE(A1,"1*-1*","201*-201*")
It returned the same exact data: LaCrosse 16-14, Regal 17-14
Your help will be greatly appreciated!