maximillianrg
Board Regular
- Joined
- Aug 7, 2014
- Messages
- 75
- Office Version
- 2016
- Platform
- Windows
Hello Excel Masters
In Cell A2 I have a formula that extracts the first date it finds in cell L2 and this works great. Now I need to write a similar formula that finds the second date in cell L2 and extracts the date. Can you help?
The below formula finds the 1st "-" and get the date. Not sure how to tell excel to find the 3rd "-" in L2.
Cell A2 Formula: =MID(" "&L2,FIND("-"," "&L2,1)-2,11)
Cell L2 Text: The very first date in this text string is 15-APR-2024 and the status update is 08-DEC-2023 and the stats is
Cell A2 Formula results: 15-APR-2024
In Cell A2 I have a formula that extracts the first date it finds in cell L2 and this works great. Now I need to write a similar formula that finds the second date in cell L2 and extracts the date. Can you help?
The below formula finds the 1st "-" and get the date. Not sure how to tell excel to find the 3rd "-" in L2.
Cell A2 Formula: =MID(" "&L2,FIND("-"," "&L2,1)-2,11)
Cell L2 Text: The very first date in this text string is 15-APR-2024 and the status update is 08-DEC-2023 and the stats is
Cell A2 Formula results: 15-APR-2024