ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Extract only part of a string (https://www.excelbanter.com/excel-programming/431425-re-extract-only-part-string.html)

andreas

Extract only part of a string
 
On Jul 20, 6:01*pm, Sam Wilson
wrote:
If you had the string in cell A1:

=TRIM(RIGHT(A1,LEN(A1)-FIND(",",A1)))



"andreas" wrote:
Dear Experts:


I got the following string in a cell:


string,space,string, e.g.: New York Street 7, New York 54334 or
Green Street, 74334 St. Petersburg.


I would like to apply a formula to all these cells so that all the
characters before the comma are cut out and only the string after the
comma is left over, e.g. New York 54334 or 74334 St. Petersburg


Help is much appreciated. Thank you very much in advance.
Regards, Andreas- Hide quoted text -


- Show quoted text -


ok, thank you very much for your terrific help. It works, Regards,
Andreas


All times are GMT +1. The time now is 12:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com