<<Convert Excel Spreadsheets to Web Pages | Trading Software That Operates Within Excel | Convert Excel, Access & Other Databases | Merge Excel Files>>
Ozgrid, Experts in Microsoft Excel Spreadsheets

Pull Last Word(s) After Last or First Instance of a Specified Character

| | Information Helpful? Why Not Donate.

TRY OUT: Smart-VBA | Code-VBA | Analyzer-XL | Downloader-XL | Trader-XL| More Free Downloads.. Best Value: Finance Templates Bundle

Excel Formula To Get Last Word(s) After Last/First Instance of a Specified Character In Any Cell

Got any Excel Questions? Excel Help & Excel Video Tutorials

Suppose you have the text "11003-blue-40 lbs" in Cell A1 and you need to get the last words/characters after the last occurrence of the dash (-), i.e. "40 lbs", you can use;

=MID(A1,FIND("=",SUBSTITUTE(A1,"-","=",LEN(A1)-LEN(SUBSTITUTE(A1,"-",""))))+1,256)

If you need all the words/characters after the 1st occurrence of the dash (-), i.e. "blue-40 lbs", you can use;

=MID(A1,FIND("=",SUBSTITUTE(A1,"-","=",LEN(A1)-LEN(SUBSTITUTE(A1,"-",""))-1))+1,256)

More text functions

Extracting Words From Text in Excel Excel has very powerful and useful Text formula/functions that we can use to extract words from a string of words. Or, put another way, parse out specific words from text. The examples here show how we can use the Excel formulas to do this.

Convert Text to Upper/Proper Case Excel has 2 built in Excel Formulas for converting text to eitherUPPER CASE or Proper Case.  However, there are many instances when using the Worksheet Function approach is not practical.

Converting Text Numbers to Real Numbers Sometimes Excel sees numbers as text and this causes problems. Here are two simple ways that should help both constants and formulas.

Sort Alphanumeric Text Excel has a problem trying to sort alphanumeric cells in cells by the number portion only. The reason is simply because Excels Sort features evaluates each cell value by reading left to right. However, we can over-come this in a few ways with the aid of Excel Macros

Special! Free Choice of Complete Excel Training Course OR Excel Add-ins Collection on all purchases totaling over $64.00. ALLpurchases totaling over $150.00 gets you BOTH! Purchases MUST be made via this site. Send payment proof to [email protected] 31 days after purchase date.


Instant Download and Money Back Guarantee on Most Software

Try out:Analyzer XL |Downloader XL |Smart VBA |Trader XL Pro (best value) |ConsoXL | MergeXL | O2OLAP for Excel | MORE>>

Excel Trader PackageTechnical Analysis in Excel With $139.00 of FREE software!

Microsoft � and Microsoft Excel � are registered trademarks of Microsoft Corporation. OzGrid is in no way associated with Microsoft

Some of our more popular products are below...
Convert Excel Spreadsheets To Webpages | Trading In Excel | Construction Estimators | Finance Templates & Add-ins Bundle | Code-VBA | Smart-VBA | Print-VBA | Excel Data Manipulation & Analysis | Convert MS Office Applications To...... | Analyzer Excel | Downloader Excel | MSSQL Migration Toolkit | Monte Carlo Add-in | Excel Costing Templates