Extracting Text in Cell

Exceluser2984

New Member
Joined
Jul 24, 2019
Messages
3
Hi,

I know how to extract text between special characters but my question has a little wrinkle. I have text that looks like the following:

253>9374
734>3949;3948>3448
3847;43548>3949
589

I want to extract the text to the right of the ">". There could be multiple strings in each cell to be extracted. So the expected result from the sample above would be:

9374
3949;3448
3847;3949
589

Any formulas to do this?

Thanks!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hey,

I am slightly confused by your expected results.

The 1st expected result - fine
The 2nd implies you want the text after the first ">" and before the next ">"
The 3rd is confusing
The last one implies take the text as is if no ">"

If you truly want to extract text to the right of the ">" (assuming the first ">") then:
=MID(A1,SEARCH(CHAR(62),A1)+1,LEN(A1))
 
Upvote 0
Thanks for responding. Each cell can have multiple values returned. The delimiter within each cell is a semicolon (;). So if cell contains multiple semicolons then I want to return ever value to the right of the > and still have those values delimited by a semicolon. There may be instances where the there aren't 2 values separated by a > in that case I still want it returned.
 
Upvote 0
Hello, Text to would work somewhat like this.


Excel 2013/2016
ABCD
125393749374
27343949;394834483949;3948
33847;4354839493949
4589589
Worsheet
Cell Formulas
RangeFormula
D1=IF(ISBLANK(B1),A1,B1)
D2=IF(ISBLANK(B2),A2,B2)
D3=IF(ISBLANK(B3),A3,B3)
D4=IF(ISBLANK(B4),A4,B4)
 
Upvote 0
That's pretty accurate - any way to get the formula into just once cell without having to break it down into multiple columns?
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
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