Excel Function to Remove first characters from text ?

Maverick27

Active Member
Joined
Sep 23, 2010
Messages
329
Office Version
  1. 2013
Platform
  1. Windows
Hi - anyone care to share an Excel Function to remove the Left Chars upto the 1st "M:" char from Left ?

remove-left-char.jpg

The Final Output:

M: +254 (0)716 687 248 , M: +254 (0)716 686 254 , M: +254 (0)724 477 663 , , , J.K.I.A Branch , M: +254 (0)

The Excel data is on Col AH with 500 rows.

Thanks in Advance
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Maybe
Excel Formula:
="M:"&TEXTAFTER(AH2,"M:")
if you have 365
 
Upvote 0
Another option if you have an older version of Excel.
Excel Formula:
=MID(AH2,FIND("M:",AH2)-1,1000)
 
Upvote 0
Solution
Hi Fluff - I have updated my A/C showing which version of Excel i'm using.

This Function works since I'm using Excel 2013

Thanks Heaps !!

=MID(AH2,FIND("M:",AH2)-1,1000)
 
Upvote 0

Forum statistics

Threads
1,215,415
Messages
6,124,764
Members
449,187
Latest member
hermansoa

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