Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you'll get expert help in seconds

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

Get page from URL

To get a page from URL while working on excel spreadsheet, a formula can be used that comprises on many excel functions like SUBSTITUTE, RIGHT, REPT, and TRIM.

Formula

The formula to get a page from URL in excel worksheet is given below

=TRIM(RIGHT(SUBSTITUTE(url,"/",REPT(" ",100)),100))

Explanation

Firstly, the above-mentioned formula substitute forward slashes by 100 spaces. From Right, it removes 100 characters thereby cleaning this utilizing TRIM function. The substitution is achieved by SUBSTITUTE and REPT like this:

=SUBSTITUTE(B5,”/”,REPT(” “,100))

At that point, RIGHT function removes last 100 letters of the sequence that is provided by SUBSTITUTE. At last, TRIM evacuates all driving and trailing characters and provides the result.

Example

In this example, we have inserted two website links in the input list i.e. B5 and B6. The formula is entered in the C5 of the output list as shown in the figure.  

Figure 1 Example to get the page from URL in Excel

Notes

  • In the above formula, the usage of 100 is subjective.
  • It speaks to the maximum characters found after last forward “/” in the actual content.

 

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

Did this post not answer your question?
Get a solution from connecting with the expert

Another blog reader asked this question today on Excelchat:

Post your problem and you'll get expert help in seconds

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc