Connect with us

Mark Rushworth

Excel Tip – Trim URL’s to just Domain (Root)


Excel Tip – Trim URL’s to just Domain (Root)

Excel Tip – Trim URL’s to just Domain (Root)

If you use OSE or some other tool (majestic, link diagnosis) for back link analysis then you probably have issues with listing information concisely.

I typically work off a few columns:

  • URL
  • Title
  • Anchor
  • DA

The problem is many of the URL’s are deep links with long strings. So to trim a url column down to just show the root domain use the following in Excel:


What this does is search cell A1 for all instances of the / character and trim back to the last one after the 8th character (because http:// is 8 characters and you want the one after this).


Continue Reading
You may also like...
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

More in SEO

To Top