=Left or =Find?

mn1t12

New Member
Joined
Nov 24, 2014
Messages
6
I have a list of Item ID's and descriptions in one cell.

The descriptions are in (...) in each cell.

What is the formula to pick out the text that is not in the (...)?
The length of the text not in (...) varies from cell to cell

See examples below.

RGPR-WPC80 (WPC 80)
RGEV (Evodiamine 10%)

So for the 1st line above, output = RGPR-WPC80

thx!
mn

<tbody>
</tbody>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
If the description always appears at the end like that and there is nothing else after it, try:
Code:
=TRIM(LEFT(A1,FIND("(",A1)-1))
 
Upvote 0
To extract text between ()

=MID(A1,FIND("(",A1,1)+1,FIND(")",A1,1)-(FIND("(",A1,1)+1))

Not sure it's clear what you want beside the text within ()?

Sorry, misread the "not" part
 
Last edited:
Upvote 0
I have a list of Item ID's and descriptions in one cell.

The descriptions are in (...) in each cell.

What is the formula to pick out the text that is not in the (...)?
The length of the text not in (...) varies from cell to cell

See examples below.

RGPR-WPC80 (WPC 80)
RGEV (Evodiamine 10%)

So for the 1st line above, output = RGPR-WPC80

thx!
mn

<tbody>
</tbody>


If the description always appears at the end you may also use

Code:
=MID(G6;1;FIND("(";G6)-1)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,822
Members
449,096
Latest member
Erald

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