Excel Formulas to Get Page Name from URL ~ Simple Tutorial!!
Tags: excelformula, excelformulas
Published: 2021-07-03 08:08:32

---
title: Excel Formulas to Get Page Name from URL ~ Simple Tutorial!!
published: true
date: 2021-06-29 03:04:48 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-get-page-from-url/
---

In the previous post, we have seen how to **[get the domain name from the URL](https://geekexcel.com/excel-formulas-to-get-domain-name-from-url/)**. Likewise in this chapter, we are going to learn the formulas to **find out the page name from the given URL in Excel**. Let’s jump 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 page name from URL](https://geekexcel.com/wp-content/uploads/2021/06/Get-page-name-from-URL.png)](https://geekexcel.com/excel-formulas-to-get-page-from-url/get-page-name-from-url/#main)<figcaption id="caption-attachment-48098">Get page name from URL</figcaption>

## Generic Formula:

- If you want to get the page name from the URL, you can use the below formula.

**=[TRIM](https://geekexcel.com/use-trim-function-in-microsoft-excel-2013-simple-methods/)([RIGHT](https://geekexcel.com/how-to-use-right-function-in-microsoft-excel-365/)([SUBSTITUTE](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/)(url,”/”,[REPT](https://geekexcel.com/how-to-use-rept-function-in-microsoft-excel-2013/)(” “,100)),100))**

## Syntax Explanations:

- **TRIM** – In Excel, the [**SQRT function**](https://geekexcel.com/how-to-use-excel-sqrt-function-in-office-365-with-examples/) is used to remove the extra spaces from the text and there is no space at the start or end of the text string.
- **RIGHT ** – The  [**RIGHT function**](https://geekexcel.com/how-to-use-right-function-in-microsoft-excel-365/) helps to extract the characters from the right side of a text string.
- **SUBSTITUTE** – This function can replace existing text with new text in a text string when you want to replace text based on its content, not position. Read more on the **[SUBSTITUTE Function](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/)**.
- **REPT** – The Excel [**REPT function**](https://geekexcel.com/how-to-use-rept-function-in-microsoft-excel-2013/) repeats characters a given number of times.
- **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.

- Here, we will enter the URLs in **Column B**.
- Now we are going to separate the page name from these URLs.

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

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

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/06/Enter-the-formula-98.png)<figcaption id="caption-attachment-48097">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-83.png)<figcaption id="caption-attachment-48100">Result</figcaption>

## Closing Words:

So yeah guys this is how you can easily **separate the page name from the given URL in Excel**. If you have any **questions** , feel free to **comment**.

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 Also:

- **[How to use Excel UNICHAR Function in Office 365?](https://geekexcel.com/how-to-use-unichar-function-in-microsoft-excel-2013/)**
- **[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/)**
- **[Excel Formulas to Calculate the Area of a Circle ~ Simple Tutorial!!](https://geekexcel.com/excel-formulas-to-calculate-the-area-of-a-circle-simple-tutorial/)**
- **[Excel Formulas to Get Domain from Email Address ~ Quickly!!](https://geekexcel.com/excel-formulas-to-get-domain-from-email-address/)**