Trim name from left of cell .

Sunline

Well-known Member
Joined
Oct 6, 2007
Messages
675
Hello all ,

I am wanting to get a trim function that can give the results I have in col B .

Basically im needing to delete the numbers in brackets to the right but leaving the
name as well as retaining any name that has (AUS) , (GB) , (USA) , (SIN) .

Thanks .
Excel Workbook
AB
1NameResult
2Carbonado (R1)Carbonado
3Coolibah (R1)Coolibah
4Cornelius (R1)Cornelius
5Edward The Eighth (R1)Edward The Eighth
6El Corby (R1)El Corby
7Iz (R1)Iz
8Fear Of God (AUS) (R2)Fear Of God (AUS)
9Ina Jam (GB) (R2)Ina Jam (GB)
10Steffi's Secret (R3)Steffi's Secret
11The Austrian Oak (R5)The Austrian Oak
12Checkoutthemisses (R6)Checkoutthemisses
13Dylan De Lago (R6)Dylan De Lago
14Fifty Shadz Famous (R6)Fifty Shadz Famous
15Spy In The Huddle (R6)Spy In The Huddle
16Zah Best (R6)Zah Best
17Elfee (R7)Elfee
18Jafa Jill (R7)Jafa Jill
19Overnightsensation (R7)Overnightsensation
20Delveen (AUS) (R8)Delveen (AUS)
21The Good Duke (USA) (R10)The Good Duke (USA)
22Victory Champion (R10)Victory Champion
23Zaviera (SIN) (R10)Zaviera (SIN)
24Absolutely Sacred (SA) (R13)Absolutely Sacred (SA)
25Lulu (R10)Lulu
Sheet1
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
4,142
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Since you dont have a country like (RSA) or (RUS), this should work


Excel 2010
AB
1NameResult
2Carbonado (R1)Carbonado
3Coolibah (R1)Coolibah
4Cornelius (R1)Cornelius
5Edward The Eighth (R1)Edward The Eighth
6El Corby (R1)El Corby
7Iz (R1)Iz
8Fear Of God (AUS) (R2)Fear Of God (AUS)
9Ina Jam (GB) (R2)Ina Jam (GB)
10Steffi's Secret (R3)Steffi's Secret
11The Austrian Oak (R5)The Austrian Oak
12Checkoutthemisses (R6)Checkoutthemisses
13Dylan De Lago (R6)Dylan De Lago
14Fifty Shadz Famous (R6)Fifty Shadz Famous
15Spy In The Huddle (R6)Spy In The Huddle
16Zah Best (R6)Zah Best
17Elfee (R7)Elfee
18Jafa Jill (R7)Jafa Jill
19Overnightsensation (R7)Overnightsensation
20Delveen (AUS) (R8)Delveen (AUS)
21The Good Duke (USA) (R10)The Good Duke (USA)
22Victory Champion (R10)Victory Champion
23Zaviera (SIN) (R10)Zaviera (SIN)
24Absolutely Sacred (SA) (R13)Absolutely Sacred (SA)
25Lulu (R10)Lulu
Sheet1
Cell Formulas
RangeFormula
B2=LEFT(A2,FIND("(R",A2)-2)
 

Sunline

Well-known Member
Joined
Oct 6, 2007
Messages
675
Thanks Momentman , your function works perfectly .
I think i didnt abbreviate South Africa properly and should of put (RSA) .
Thanks again .
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,037
Messages
5,856,960
Members
431,841
Latest member
jaybeem

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
Top