UrbanPro

Learn MS Office Software Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is the Google Sheets function to extract a URL from a cell that contains text and the wanted URL?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Home Tutor for Computer Course

Personally I would use MID() which is a bit shorter and more elegant function. This will find a URL anywhere within the input string - start, middle or end. For an input string in cell A2 this is the formula: =MID(A2,FIND("http",A2),FIND(" ",A2,FIND("http",A2))-FIND("http",A2)) Description of...
read more

Personally I would use MID() which is a bit shorter and more elegant function. This will find a URL anywhere within the input string - start, middle or end.

For an input string in cell A2 this is the formula:

  1. =MID(A2,FIND("http",A2),FIND(" ",A2,FIND("http",A2))-FIND("http",A2))

Description of how it works. First the MID() formula, it extracts text from a string. It takes three inputs: (1) the input string, (2) where to start extracting and (3) the length of the text to extract.

(1) The input string is the contents of cell A2.

(2) The place to start: where “http” is found, FIND(A2,”http”). The value returned to MID() will actually be at the location of the “h” in “http”. This will work for “https” urls too because they still have “http” in them.

(3) Then I do a bit of subtraction. URLs do not have any spaces in them. So if I can find the first space after the URL I can use that to get the length of the URL. I use FIND() to find a space. FIND() has an optional third argument which is to start looking at the location I desire. So I set that location to be where “http” was found using the same formula as before. Since that will return the location within the whole input string and not the length of just the URL I need to subtract from it. I subtract the location of “http” using FIND("http",A2).

read less
Comments

Related Questions

I have got over ten years in customer service. Currently working as a team leader in an MLM company. Will doing VBA course help me get a better package I am having CTC of 7 lakhs hoping to touch 8 to 9 lakhs CTC.

As you are a Team Leader, Learning VBA is not going to help you. You just need Basic Excel Knowledge to manage your team. VBA is for programmers who need to develop softwares. Learning VBA is like -...
Francis
0 0
5
Are skills in Excel VBA useful to have?
Yes. Excel VBA is used to automated the repeated daily excel activity, it reduce the time and cost. Using excel vba language we can write Macro which will completely automate the excel daily repeated...
Kalpana
Hi, I'm BCA graduate, and I have seven years in the general insurance field now I want to change my profile and upgrade my knowledge. Will learning python help me with my growth in my career?
Hi, as far as my knowledge goes first, you should learn data processing tools or programs like MS Excel, Power Bi, or SQL then you should then take a leap into Python, which will make automating your work quite simple.
Supriya
Is there any free software to convert a word file to PDF?
When you go to print comment in place of Printer, you will get print to PDF or Microsoft print to PDF. IF you click on this, the word document gets converted in PDF.Also, you can go to File and Save and...
Gaurang
0 0
7

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Excel Database Functions List
Excel Database Functions List Database Functions DAVERAGE Calculates the average of values in a field of a list or database, that satisfy specified conditions DCOUNT Returns...
U

Uma Sahu

0 0
0

Mail Merge In Word
Mail Merge is a useful tool that allows you to produce multiple letters, labels, envelopes, name tags, and more user information stored in a list, database, or spreadsheet. Mail Merge is most often used...

VBA Function -
Using FORMAT Function in VBA we can modify the format of Numbers, Dates, Times & String. Syntax: FORMAT(expression, format, , ) 1. Formatting "Numbers" using FORMAT function in VBA SUB Format_Numbers() MsgBox...

Data Analysis with MS Excel Filter - Top Performers, Bottom Performers, Above Average Performers, Below Average Performers!
In the following, You would find lesser-known, unexplored yet Powerful Features of Filter. Please refer to sample dataset below: To do Data Analysis:Step 1) Apply Filter on the dataset.Step 2) In Sales...

Microsoft Outlook
Microsoft Outlook is the preferred email client used to access Microsoft Exchange Server email. Not only does Microsoft Outlook provide access to Exchange Server email, but it also includes contact, calendaring...

Recommended Articles

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for MS Office Software Training ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for MS Office Software Training Classes?

The best tutors for MS Office Software Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn MS Office Software Training with the Best Tutors

The best Tutors for MS Office Software Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more