Concatenate partial URL with cell value

cfcMalky

Board Regular
Joined
Nov 5, 2013
Messages
52
Hi folks

I am making a table in excel where I list video games and I would like to place a hyperlink in line with them to open a search page on eBay, I've made a URL-friendly cell (replacing the spaces with + signs, like they do on the URL.

Example table:

[TABLE="class: grid, width: 300"]
<tbody>[TR]
[TD]game title[/TD]
[TD]game+title[/TD]
[TD]Check[/TD]
[/TR]
</tbody>[/TABLE]

On the "Check" cell I would like a hyperlink that contains the value of the cell saying "game+title" (supposing that is cell B2), i.e:

http://www.ebay.co.uk/sch/i.html?_from=R40&_nkw=B2&_in_kw=1&_ex_kw=&_sacat=1249&LH_Sold=1&_udlo=&_udhi=&LH_BIN=1&LH_ItemCondition=3&_samilow=&_samihi=&_sadis=200&_fpos=&LH_SubLocation=1&_fsradio2=%26LH_PrefLoc%3D1&_sargn=-1%26saslc%3D1&_salic=3&_saact=3&LH_SALE_CURRENCY=0&_sop=13&_dmd=1&_ipg=50&LH_Complete=1

How would I go about it?

Thanks in advance folks!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
I would expect to see these wrapped in quotes

so

="http://www.ebay.co.uk/sch/i.html?_from=R40&_nkw=" & B2 & "&_in_kw=1&_ex_kw=&_sacat=1249&LH_Sold=1&_udlo=&_udhi=&LH_BIN=1&LH_ItemCondition=3&_samilow=&_samihi=&_sadis=200&_fpos=&LH_SubLocation=1&_fsradio2=%26LH_PrefLoc%3D1&_sargn=-1%26saslc%3D1&_salic=3&_saact=3&LH_SALE_CURRENCY=0&_sop=13&_dmd=1&_ipg=50&LH_Complete=1"
 
Upvote 0
I would expect to see these wrapped in quotes

so

="http://www.ebay.co.uk/sch/i.html?_from=R40&_nkw=" & B2 & "&_in_kw=1&_ex_kw=&_sacat=1249&LH_Sold=1&_udlo=&_udhi=&LH_BIN=1&LH_ItemCondition=3&_samilow=&_samihi=&_sadis=200&_fpos=&LH_SubLocation=1&_fsradio2=%26LH_PrefLoc%3D1&_sargn=-1%26saslc%3D1&_salic=3&_saact=3&LH_SALE_CURRENCY=0&_sop=13&_dmd=1&_ipg=50&LH_Complete=1"

Sorry, I should've already mentioned, I've tried doing it that way and i get the message saying that the formula is limited to 255 characters, so I've to try using Concatenate or the Concatenate operator (&), It's when I try to use Concatenate, it all goes Pete Tong :(
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,924
Members
452,366
Latest member
TePunaBloke

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