Can anyone explain this formula:=MID([@URL],SEARCH("/",[@URL],8),SEARCH("-t*.html",[@URL])-SEARCH("/",[@URL],8))

Pingbat

New Member
Joined
Jun 20, 2016
Messages
20
Hi from York UK...

This formula:

=MID([@URL],SEARCH("/",[@URL],8),SEARCH("-t*.html",[@URL])-SEARCH("/",[@URL],8))

does exactly what i want but i just copied it off the internet. The results of the formula are below:

view

https://drive.google.com/file/d/1fthxBLgQYJOZmEiP9LJG2QsrODe013VN/view?usp=sharing

But why the @URL elements in the formula? Bit confused :-(

Thanks in advance,
David
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
It's because the formula is in a table & you are looking at a cell in the URL column.
 
Upvote 0
Ah i see, is the alternative to [@URL] a cell reference as in:
=MID([A14],SEARCH("/",[A14],8),SEARCH("-t*.html",[A14])-SEARCH("/",[A14],8))

Thanks in advance,
David
 
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top