These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Google Spreadsheet =ImportXML problem

Author
Itadiki Tsurpalen
Deep Core Mining Inc.
Caldari State
#1 - 2013-05-07 11:17:09 UTC
Hello,

I am trying to put together a google spreadsheet that automaticly going to get the price from eve-central.

In Column A I have item name
In Column B I have item id

And now where the problem begin.

I have in column C this forumula

=importxml("http://api.eve-central.com/api/marketstat?typeid=4405&usesystem=30000142","/evec_api/marketstat/type/sell/min")

This formula is working fine as long as I give the typeid manually

But If I change the typid with this ?typeid=B1 it give me an error.

I don t want to manually change the formula each time with the item id, I want a formula that automaticly going to replace the itemID with the cell in column B.

Is this possible ?

Thanks

Chuck Turing
Solarmark
Stellarium Alliance
#2 - 2013-05-07 12:11:51 UTC  |  Edited by: Chuck Turing
=importxml("http://api.eve-central.com/api/marketstat?typeid="&B1&"&usesystem=30000142","/evec_api/marketstat/type/sell/min")

Big smile

Example:

https://docs.google.com/spreadsheet/ccc?key=0AgYQGJV5CdTKdFFheWcxOTU3SlZpRG1VNGR3S3RYYXc&usp=sharing