Excel Formulas to Get Domain Name from URL ~ Simple Tricks!!
Tags: excelformula, excelformulas
Published: 2021-07-03 03:34:00

---
title: Excel Formulas to Get Domain Name from URL ~ Simple Tricks!!
published: true
date: 2021-06-28 18:47:37 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-get-domain-name-from-url/
---

Assume that you have a list of URLs and you need to **extract only the domain name from the URL**. How could you get them quickly? Today I will show the simple method to achieve this task in Excel. Let’s step into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Get domain name from URL](https://geekexcel.com/wp-content/uploads/2021/06/Get-domain-name-from-URL.png)](https://geekexcel.com/excel-formulas-to-get-domain-name-from-url/get-domain-name-from-url/#main)<figcaption id="caption-attachment-48085">Get domain name from URL</figcaption>

## Generic Formula:

- You can use the below formula to find out the longest side of the triangle in Excel.

**=[LEFT](https://geekexcel.com/how-to-use-left-function-in-microsoft-excel-365/)(url,[FIND](https://geekexcel.com/how-to-use-find-function-in-microsoft-excel-365/)(“/”,url,9))**

## Syntax Explanations:

- **LEFT** – In Excel, the [**LEFT function**](https://geekexcel.com/how-to-use-left-function-in-microsoft-excel-365/) helps to extract the first character (starting from the left side) or characters from the given string based on the number you specified.
- **FIND**  – The **[FIND function](https://geekexcel.com/how-to-use-find-function-in-microsoft-excel-365/)** will find out the one text string inside the other.
- **URL** – It represents the URL of the site.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Practical Example:

Refer to the below example image.

- First, we will enter the input URLs in **Column B**.
- Here we need to separate the domain name.

![Input Ranges](https://geekexcel.com/wp-content/uploads/2021/06/Input-Ranges-81.png)<figcaption id="caption-attachment-48082">Input Ranges</figcaption>

- Select any cell and type the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/06/Enter-the-formula-96.png)<figcaption id="caption-attachment-48084">Enter the formula</figcaption>

- Finally, press the ** ENTER**  key, you can get the result as shown below.

![Result](https://geekexcel.com/wp-content/uploads/2021/06/Result-81.png)<figcaption id="caption-attachment-48083">Result</figcaption>

## Wrap-Up:

Here we have described the formulas to **get the domain name from the URLs in Excel**. Leave a **comment** or **reply** below let me know what you think!

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Read Ahead:

- **[Excel Formulas to Get Domain from Email Address ~ Quickly!!](https://geekexcel.com/excel-formulas-to-get-domain-from-email-address/)**
- **[How to Insert a Date or Formatted Date in Excel Office 365?](https://geekexcel.com/how-to-insert-a-date-or-formatted-date-in-excel-office-365/)**
- **[How to find Vlookup and Return the Matching Values from Multiple Worksheets?](https://geekexcel.com/how-to-find-vlookup-and-return-the-matching-values-from-multiple-worksheets/)**
- **[Excel Formulas to Calculate the Distance in 2D ~ Quick Solutions!!](https://geekexcel.com/excel-formulas-to-calculate-the-distance-in-2d/)**