The replacement is done with SUBSTITUTE and REPT here: Then, the RIGHT function extracts the last 100 characters of the string returned by SUBSTITUTE. Finally, TRIM removes all leading and trailing space characters and returns the result. Note: the use of 100 in this formula is arbitrary, and represents the maximum number of characters to be found after the final forward slash (/) in the original text. Adjust to suit your use case.

Dave Bruns

Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.