Excel formula to extract words before a match

satish78

Board Regular
Joined
Aug 31, 2014
Messages
218
Hi Friends,

Here is the data and what I am trying to extract
I want to extract words like Hexadecimal to character" which is abbreviated as X2C
I am able to extract text between characters "(" AND ")" but not full meaning/form of abbreviated word.

Hexadecimal to character (X2C) is a conversion o
Hexadecimal to decimal (X2D) is a conversion
Explainable artificial intelligence (XAI) is a key term in AI design
Transaction Authority Markup Language (XAML) is an XML-based, ve

I need data like this
ColumnC ColumnD
X2C Hexadecimal to character
X2D Hexadecimal to decimal
XAI Explainable artificial intelligence
XAML Transaction authority Markup Language

Hope you got the point what I am looking to extract into columns.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Code:
=MID(A1, FIND("(", A1)+1, FIND(")", A1)- FIND("(", A1)-1)
Returns abbreviation


Code:
=LEFT(A1,FIND(" (",A1)-1)

Returns description
 
Upvote 0
They should, as I have tested them on the data you provided.

Are you sure you are referring to the correct cell address?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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