Trim name from left of cell .

Sunline

Well-known Member
Joined
Oct 6, 2007
Messages
701
Office Version
  1. 2016
Platform
  1. Windows
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

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
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)
 
Upvote 0
Thanks Momentman , your function works perfectly .
I think i didnt abbreviate South Africa properly and should of put (RSA) .
Thanks again .
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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