• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Get web data into a cell

Gregg Wolin

Member
I am building a simple model that requires the user to periodically input the current Prime lending rate (or other, individual rates). I'd like to have a cell that fetches the rate from the web when the workbook is open. After 30 minutes on "the Google", I decided to hang my head in shame and ask the brain trust here;-)

Thanks in advance!
 
Since Excel 2013 there are web services to see in Excel help
or on web tutorials …

In earlier version you can use in Data menu From Web
but it also depends on website …

A must read : Web Scraping tutorial
 
It was just a sample usage ;)

You will need to find a site that has Prime lending rate for U.S. and use it's URL and position of rate within the returned string.
 
Here, see another sample using www.fedprimerate.com

B1 is the cell used to contain URL source.
B2 returns current rate.

Just for fun, added B3. Which returns string of text detailing when the last change took place.
 

Attachments

  • Sample_WEBSERVICE.xlsb
    8.3 KB · Views: 10
Back
Top