This more of a question about excel than it is actually about Bitcoin.
But the answer is actually pretty easy.
The first thing is that the data that you want to import from the web may not be easily isolated, so you might have to import much more data than you want into a second excel sheet, then link the cell with the data you are interested to a cell in your actual sheet.
Follow these steps:
- Find a site that has the dynamic data you are looking for. Let's use Bitstamp.
- Copy the data that you want and paste it into excel.
You can't miss the current price right at the top.
- After you paste it into excel the little paste options icon will popup next to it.
Get cryptocurrency price on your google sheets with Coinmarketcap API
Click it then select Refreshable Web Query.
- A new window will popup that will load the whole page. You might get some script errors; you can ignore those.
- The window directs you to click the arrow icon next to the table that you want to import.
Unfortunately, with BitStamp, the only option is the whole page. Click the arrow then click import.
- Excel will now import a load of data from the webpage. The second cell is the one we are looking for; that is the current Bitcoin price in USD.
This is where have a separate sheet for this import data is convenient.
- Go to the sheet where you want to use that data and link the cell you want to the other by first clicking then clicking the cell in the sheet with all the data from bitstamp.
You will see something like in the formula bar.
That's all there really is to it.
Microsoft has an extensive article on the topic complete with all the technical details.