• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Show me only the characters after a specific character

Hayley

Member
I'm not sure if this is even possible, but I have a bunch of URLs in column A that all start with https://www.mycompany.com/businessline/salespeople and then end differently based on what page they land on. For example:
https://www.mycompany.com/businessline/salespeople/jsmith
https://www.mycompany.com/businessline/salespeople/rdonatello
https://www.mycompany.com/businessline/salespeople/office/chicago
https://www.mycompany.com/businessline/salespeople/office/amsterdam
https://www.mycompany.com/businessline/salespeople/product/widget
https://www.mycompany.com/businessline/salespeople/product/cog

In column B I want to isolate only the stuff after "salespeople". So I want column B to show me:

jsmith
rdonatello
office/chicago
office/amsterdam
product/widget
product/cog

Is there a formula that will do that for me? I can't do =RIGHT because the number of characters I need varies. Is there anything that will do it for me?
 
Hayley
FIND
Finds one text string (find_text) within another text string (within_text), and returns the number of the starting position of find_text, from the first character of within_text.
+11
Lenght of "salespeople"
 
Hi,

One more way with Find & Replace option:

1) Select your range
2) Press Ctrl+H (Find & Replace)
3) Find what: *salespeople/
4) Leave blank Replace with field
5) Replace all

Regards,
 
Back
Top