Excel 2013 "history" API formula not returning values other than for today's date.

  • 3
  • Problem
  • Updated 3 years ago
This is my API Webservice formula, which is returning #VALUE! error when I use a plug date other than today. It works perfectly for today's date!

=WEBSERVICE("http://api.wunderground.com/api/" & APIkey & "/history_" & Date & "/q/" & ZipCode & ".xml")

I have Evaluated the formula and all variables appear to be plugging into the formula with no problems and in the proper format. I am using 11973 as the zip code and 20140325 as the date. When I change the date to 20140310 or any other date before today it throws the error.

Please help decipher this error, or point out if there is a better API to use for historical and current conditions.

Photo of brettwilhelm


  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 3
Photo of WunderWilliam


  • 267 Posts
  • 18 Reply Likes
I couldn't reproduce the error on this end.

If you put the correct string in a browser, does it work for you?
Photo of Milena


  • 1 Post
  • 2 Reply Likes
I am having the same problem. When I type: 
I get a value error for every date except for today's date. Could you please let me know how I can fix this issue. 
Thank you!
Photo of Jordan Coe

Jordan Coe

  • 4 Posts
  • 0 Reply Likes
Is there any known solution yet?
Photo of John S

John S

  • 3 Posts
  • 0 Reply Likes
I am having the same problem, today's date works but fails for all other dates.