Change Query link based on cell vaues

Heimdal

New Member
Joined
Nov 18, 2015
Messages
15
Hi everyone

Im trying to figure out a way to change an URL based on column with different items.

Power Query:
    Source = Web.Page(Web.Contents("https://www.albion-online-data.com/api/v2/stats/View/T5_HEAD_GATHERER_FIBER,T5_ARMOR_GATHERER_FIBER,T5_SHOES_GATHERER_FIBER")),
    Data0 = Source{0}[Data],

What i need is the item name to be variable based on a cell information.
My programming skills are comepletly awful since i'm new to programming.

Something like this:
VBA Code:
    Source = Web.Page(Web.Contents("https://www.albion-online-data.com/api/v2/stats/View/"Sheet2, Colmun"A"...")),
    Data0 = Source{0}[Data],
I know its completly wrong, but is it possible to reference some parts of an url to another sheet column and cell? Now the column will have different amounts of listings so it could be 3 cells with information or it could be 30. It depends on the amount of information written into the cell in column A. But its should be able to identify when no more information is meet and stop there.

I've searching all over the web, but i couldnt find a specific identical request which i could borrow the coding.

Thanks in advance.
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,214,632
Messages
6,120,652
Members
448,975
Latest member
sweeberry

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