Shorten a Long URL

justabc

Board Regular
Joined
Dec 6, 2002
Messages
86
Does excel have the capability to shorten a long URL in some manner so that shortened URL still works and takes one to same web page.

If not is there some other method for this?
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I mean taking any URL especially if over 255 characters and creating a new URL as a substitute for that long URL which still directs to same page
 
Upvote 0
On 2003-01-01 10:03, justabc wrote:
I mean taking any URL especially if over 255 characters and creating a new URL as a substitute for that long URL which still directs to same page

In A2 enter...

http://216.92.17.166/board/

In B2 enter...

viewtopic.php?topic=34342&forum=2&2

In C2 enter...

justabc

In D2 enter...

=HYPERLINK(A2&B2,C2)
 
Upvote 0
Seems to work except returns for #Value if characters are too many-tried to break up a long URL into A2 and B2 and it returns #Value;if few characters as in your example it worked fine.
 
Upvote 0
On 2003-01-01 10:44, justabc wrote:
Seems to work except returns for #Value if characters are too many-tried to break up a long URL into A2 and B2 and it returns #Value;if few characters as in your example it worked fine.

We are facing here a limit in Excel. I wonder whether you can make use of the services of...

http://makeashorterlink.com/ ?
 
Upvote 0
1. How I can edit my post here (or delete)?

2. Solution as '=HYPERLINK("http://lala.lal.la.html","URL")' is not perfect: Excel (2007) when you convert sheet to PDF can not recognize that cell as web-link. Means:
Cell A1: "http://lala.lal.la.html"
PDF output: hyperlink "http://lala.lal.la.html"

Cell A2: =HYPERLINK("http://lala.lal.la.html","URL")
PDF output: common text "URL"

Any ideas? Weird enough of course...
 
Upvote 0
Why would you expect a pdf file to recognise an Excel function? You will need to convert your hyperlinks to normal ones.
 
Upvote 0
Why would you expect a pdf file to recognise an Excel function? You will need to convert your hyperlinks to normal ones.

I didn't expect anything. Where did u find that?

Simple, that is not perfect solution. If I convert my hyperlinks back to normal ones, what I'll get? U think that Adobe acrobat will show them better then Excel? Table cell is table cell in both programs and when u have tough hyperlink in the last table cell (last column) - u haven't any normal solution for acrobat. Excel function for excel and then convert to HTML only.
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,882
Members
452,948
Latest member
Dupuhini

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