Find word in a cell range and return a date

kabootar

New Member
Joined
Jan 15, 2019
Messages
10
Hi - I have a table where in the comments column will have the word "fix" and followed by a date - i need to pull out the date where the cell includes the word "Fix".

However, the word fix could be in all capitals or or lower case etc and in some cases it could have a . or : after the word fix. Also it could say "Fix del date" followed by the date in "DD/MM" format.

Is there a way of finding the word in the cell and then copying the date to the next available column? as i can do a loop and find the word within the cell ranges but cant seem to get the date to copy across

I have attached an image of the example table

Any help will be appreciated.
 

Attachments

  • Screenshot 2023-01-17 111636.png
    Screenshot 2023-01-17 111636.png
    176.6 KB · Views: 9

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Try

Book1
OPQR
1
2fix 10/0110/01
3Fix: 09/0109/01
4FIX. 11/0111/01
5Fix. Mpo 
6
7
Sheet1
Cell Formulas
RangeFormula
Q2:Q5Q2=IFERROR(TRIM(MID(P2,SEARCH("Fix",P2)+4,6))+0,"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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