Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9626

Function("url") With A1 Cell Contents as Part of URL Query

$
0
0

I am trying to import JSON data into Google Sheets essentially like IMPORTHTML("URL"&A1&"URL"). Basically trying to adjust the URL by the contents of Cell A1. It seems to work fine with IMPORTHTML function but not IMPORTJSON function URL. Is there another way to code the URL to allow the cell content to adjust it?

=IMPORTJSON("https://financialmodelingprep.com/api/v3/income-statement/"&AAPL&"?limit=120&apikey=demo")

I found the answer!=IMPORTJSON(CONCATENATE("https://financialmodelingprep.com/api/v3/income-statement/";AAPL;"?limit=120&apikey=demo"))


Viewing all articles
Browse latest Browse all 9626

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>