Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2022, 06:56 AM
Haha88 Haha88 is offline Extract Text from a text string Windows 8 Extract Text from a text string Office 2010 32bit
Advanced Beginner
Extract Text from a text string
 
Join Date: Mar 2015
Posts: 75
Haha88 is on a distinguished road
Default Extract Text from a text string

Hi,

I'm trying to extract a set of text from a string in excel. However as it's not quite unique, I don't know hot to set up a formula for these. Please can someone help?

I attached the excel sheet. Data is on column A, expected texts to be extracted is in column B.



Much appreciated.

Haha88
Attached Files
File Type: xlsx Extract text.xlsx (10.6 KB, 10 views)
Reply With Quote
  #2  
Old 05-17-2022, 10:10 AM
Logit Logit is online now Extract Text from a text string Windows 10 Extract Text from a text string Office 2007
Expert
 
Join Date: Jan 2017
Posts: 529
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

In C4 paste :

Code:
=RIGHT(A4,LEN(A4)-SEARCH("-",A4))
and copy down the column. Now hide column C.

In D4 paste :

Code:
=SUBSTITUTE(C4, ",", "")
and copy down the column.

Column D displays your final result using Column C as a HELPER COLUMN.
Reply With Quote
  #3  
Old 05-19-2022, 03:14 AM
Haha88 Haha88 is offline Extract Text from a text string Windows 8 Extract Text from a text string Office 2010 32bit
Advanced Beginner
Extract Text from a text string
 
Join Date: Mar 2015
Posts: 75
Haha88 is on a distinguished road
Default

Thank you, Logit.
It works its wonder.

Best regards,
Reply With Quote
  #4  
Old 05-19-2022, 08:27 AM
Logit Logit is online now Extract Text from a text string Windows 10 Extract Text from a text string Office 2007
Expert
 
Join Date: Jan 2017
Posts: 529
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

You are welcome.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to extract CCIs as separate entries when part of a text string Cray_Z Word VBA 5 01-13-2021 03:45 PM
Extract Text from a text string Extract Bold text from string one4youman Word VBA 8 04-18-2019 12:31 AM
Formula to Extract text from a text string Haha88 Excel 2 11-14-2017 01:32 AM
Extract Text from a text string Extract text from a text string Haha88 Excel 8 02-13-2017 05:06 PM
Extract numbers from a text string aleale97 Excel 4 02-10-2011 10:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft