Combine LEFT RIGHT formulas with content from cell with ALT-enter text

NiksTroubles

New Member
Joined
Aug 29, 2023
Messages
2
Office Version
  1. 365
I am trying to extract content from a cell that contains text as followed (text between the brackets):
"Yes - configurable
Some text on that is not important"

I am able to strip the "Yes - " using: =RIGHT(A1;LEN(A1)-(FIND("-";A1)))
and
I am able to extra the word before the return using: =LEFT(A1;FIND(CHAR(10);A1)-1)

How can I combine the two formulas to only receive the value "configurable"?

Note that the first paragraph of a cell differs per row: "yes - available"; "no - not available", etc
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi & welcome to MrExcel.
How about
Excel Formula:
=TRIM(TEXTBEFORE(TEXTAFTER(A1,"-"),CHAR(10)))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,187
Members
452,616
Latest member
intern444

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