- To post as a guest, your comment is unpublished.· 1 years agoHi Jason,
The formulas in the article can help: https://www.extendoffice.com/documents/excel/1783-excel-remove-text-before-character.html. Please have a try. Thank you for your comment.
How to extract text between the second and third comma from cells in Excel?
You may know how to extract all text before the first (or after the last) comma in Excel. However, do you know how to extract text between the second and third comma from cells in Excel? This article will introduce a method to achieve it in details.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
Please do as follows to extract text between the second and third comma from selected cells in Excel.
1. Select a blank cell and enter formula =TRIM(MID(SUBSTITUTE(A2,",",REPT(" ",100)),200,100)) into the Formula Bar, then click the Enter button. See screenshot:
Note: In the formula, A2 is the cell you will extract text from. Please change it as you need.
2. Keep selecting the result cell, then drag the Fill Handle to extract all texts between the second and third comma of other cells. See screenshot:
- How to extract text between single or double quotes from cells in Excel?
- How to extract numbers from mixed alphanumeric text strings in Excel?
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 1 years agoIs there a way to do this starting from the end/right? For example, if I have "123 East Smith Street, wingate, NC, 22556" I need to get at the city. I need to start from the end/right because some strings of data have apartment numbers or po boxes at the start of the string separated by commas so it's inconsistent to start from the left/front.