How do I format this text "Nov-14-2022" to date format? I have tried the DATEFORMAT function to no avail--it results in a #VALUE!
Background:
I have data that coming out of a screen query that has a long string of text with a date range imbedded in it. This is the format: " Nov-14-2022 to Jan-09-2023". I am able to use text functions to pull the begging and ending dates in this format: "Nov-14-2022" and "Jan-09-2023" in two separate cells. I would now like to calculate the number of days between the two dates, but as they are formatted as text I cannot. Feels like it should be easy, but a simple google search provided now help.
Background:
I have data that coming out of a screen query that has a long string of text with a date range imbedded in it. This is the format: " Nov-14-2022 to Jan-09-2023". I am able to use text functions to pull the begging and ending dates in this format: "Nov-14-2022" and "Jan-09-2023" in two separate cells. I would now like to calculate the number of days between the two dates, but as they are formatted as text I cannot. Feels like it should be easy, but a simple google search provided now help.