How_Do_I

Well-known Member
Joined
Oct 23, 2009
Messages
1,831
Office Version
  1. 2010
Platform
  1. Windows
If A1 contained the following text "Cabinet Conclusion: Minutes and Papers: CAB 65/3/35" how would I extract the "CAB 65/3/35" please?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi,

One sample is usually not enough to go on, so if your data is Always in that format but with varying lengths, use B1 formula.
If it's Always the last 11 characters, then as simple as B2 formula.


Book1
AB
1Cabinet Conclusion: Minutes and Papers: CAB 65/3/35CAB 65/3/35
2CAB 65/3/35
Sheet76
Cell Formulas
RangeFormula
B1=TRIM(RIGHT(SUBSTITUTE(A1,":",REPT(" ",100)),100))
B2=RIGHT(A1,11)
 
Last edited:
Upvote 0
Thanks for that, my data is in that format...
 
Upvote 0

Forum statistics

Threads
1,215,002
Messages
6,122,652
Members
449,092
Latest member
peppernaut

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