Help Extracting first and second date from cell and date validation

maximillianrg

Board Regular
Joined
Aug 7, 2014
Messages
75
Office Version
  1. 2016
Platform
  1. Windows
Hello Excel Masters

I need to audit and monitor 100's of status comments exported into Excel weekly and I'm looking for some help writing some formulas to that. Every cell will contain unique text and two dates. For this post lets use the following text in cells F1 and F2 as examples

Cell F1 = On 12-FEB-1809 Abraham Lincoln, the 16th President of the United States, was born in a one-room log cabin in Kentucky. On 14-APR-1865 Lincoln was assassinated at Ford's Theatre in Washington, D.C.just days after the end of the Civil War."

Cell F2 = It is predicted that on 13-April-25 parts of the Unites States will get more snow than the blizzard of 18-JAN-1988

---------------
Here are the 3 formulas I need help creating:

  1. The formula in cell A1 extracts the first date it finds in cell F1 which is 12-FEB-1809. When filled down to cell A2 it returns the first date in F2 which is 13-April-25
  2. The formula in cell B1 extracts the second date it finds in cell F1 which is 14-APR-1865. When filled down to cell A2 it returns the first date in F2 which is 18-JAN-1988
  3. The formula in cell C1 examines the date in cell A1. If the date in A1 follows the dd-MMM-yyyy format it returns "Good" otherwise "Check" in the above C1="Good"
    • 12-FEB-1809 = Good
    • 12-Feb-1989 = Check
    • 12-FEB-89 = Check
    • 13-April-25 = Check
    • 13-APR-2025 = Good
Thank you for your help in advance on this
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,224,823
Messages
6,181,171
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top