EXCEL VIDEO TUTORIALS / EXCEL DASHBOARD REPORTS

Ozgrid, Experts in Microsoft Excel Spreadsheets

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

| | Information Helpful? Why Not Donate.

 

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 either UPPER 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. ALL purchases totaling over $150.00 gets you BOTH! Purchases MUST be made via this site. Send payment proof to special@ozgrid.com 31 days after purchase date.


Instant Download and Money Back Guarantee on Most Software

EXCEL VIDEO TUTORIALS / EXCEL DASHBOARD REPORTS

Excel Trader Package Technical 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