Mid statement with different length of characters

mcdonkadonk

New Member
Joined
Sep 30, 2016
Messages
4
I will preface this with an apology, If i broke any rules with this post, I am sorry.

My issue is as follows:

I am looking to get a set of characters using a mid statement, but the amount of characters has grown. I need to be able to get 5 and 6 characters with the same function.

My mid statement =MID(A10,9,5)

Samples of what could be in targeted cell:

Feature F6118: CR6456
Feature F10764: CR5410

<tbody>
</tbody>

<tbody>
</tbody>

I need a mid statement that can pull the F#### or F#####.

Please and thank you for any help. I was thinking somehow selecting what is between the " " and ":" which would be great for future purposes since the numbers keep growing.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try this.

=SUBSTITUTE(LEFT(A1,SEARCH(":",A1)-1),"Feature ","")
 
Upvote 0
Hi, welcome to the board, if you just want everything after the ":" character, maybe something like this

=MID(A10,FIND(":",A10,1)+1,5)

Or

=MID(A10,FIND(":",A10,1)+1,100)
if the number of characters after the : can vary and you want all of them.
 
Upvote 0
Hi, welcome to the board, if you just want everything after the ":" character, maybe something like this

=MID(A10,FIND(":",A10,1)+1,5)

Or

=MID(A10,FIND(":",A10,1)+1,100)
if the number of characters after the : can vary and you want all of them.

I will try this out as well. Thank you for your help!
 
Upvote 0

Forum statistics

Threads
1,215,130
Messages
6,123,220
Members
449,091
Latest member
jeremy_bp001

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