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

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

Science & Industry

 
  • Topic is locked indefinitely.
 

Eve central prices in excel

Author
Benjee Owen
News Team Assemble
#1 - 2012-12-12 18:04:41 UTC
Im trying to make a simple spreadsheet to compare mineral cost against the cost of building things.

Is there a way i can create fields in excel which gives me the latest jita price for each individual mineral?

I know eve cenral isnt aways accurate but its just a little experiment im doing to save me checking the markets all the time as im not in jita 24/7
Cipio Hakoke
Tactical Manufacturing Group
#2 - 2012-12-12 19:43:45 UTC
Hey I don't know how to do in excel, but this is how you do it in google documents.

You need three columns.
1) Item ID
2) Sell Prices
3) CONCAT column

The Item ID column is a column full of item ids. This is found by searching the item in eve-central and in theURL will be the typeid.

The Sell Prices column is a column that contains the sell value currently from eve-central. The FIRST item row should look like this(the rest of the column will auto-fill):
=importXML(CONCAT($A$1,DATA!$M114),"//type/sell/min")
$A$1 Is: http://eve-central.com/api/marketstat?usesystem=30000142
DATA!$M114 is the last row in the column CONCAT column.

The CONCAT column is to make all the items be called at the same time.
The first item in the column is:
=CONCATENATE("&typeid=",B3)
B3 is the item id of the first item.
The rest of the items in the column is:
=CONCATENATE(M3,"&typeid=",B4,)
M3 is the row directly above the current one.
B4 is the current row's item id.

Hope this helps!
Sidrat Flush
School of Applied Knowledge
#3 - 2012-12-12 20:35:20 UTC
I've found it easier to download the prices using eve hq. This creates an xml file on your hd that you can copy where you want it or not. Just import the xml file from the data ribbon on a new sheet.

This will of course give you prices for all items so you will need to create a named range and use the vlookup function to obtain the right type of price on your itemid row on your main sheet.

Its time to stand up against the bad empire based CEO telling falsehoods about what new characters can accomplish and pushing them towards an in game experience of drudgery and loneliness keeping them in the shadow of ignorance for at nest their own profit at worse apathy towards all the experiences that Eve has to offer.

Styth spiting
Brutor Tribe
Minmatar Republic
#4 - 2012-12-12 22:23:44 UTC
Using Microsoft Excel 2010

Create a new worksheet (bottom leftish area) and name it data. This will be your worksheet that contains all your values, and you'll reference in other sheets.

Now click on a random cell (C, 4) for example.

In the ribbon at the top there should be a section called Data (if its not there you should add it).

click Data and you should see the option "From Web" click this.

You should now see a sort of browser window. Add a URL from eve-central.com such as:

http://api.eve-central.com/api/marketstat?usesystem=30000142&hours=48&typeid=2268&typeid=2305&typeid=2267&typeid=2288&typeid=2287&typeid=2307&typeid=2272&typeid=2309&typeid=2073&typeid=2310&typeid=2270&typeid=2306&typeid=2286&typeid=2311&typeid=2308

This URL grabs all the PI P0 materials in Jita, in the last 48 hours.

click Go to confirm it works. If when you try to copy/paste a URL into the address box and it gives you an error chances are it is too long (max 255 characters).

Click Import, click ok to the message about the schema, and then a few mrore clicks.

You should now have a table generated based on the XML data generated.

You will also need to click Refresh to update the data. You can set it to automatically refresh, but best to keep it manual as it's rude to have it requesting new data when you are not using it.
Sidrat Flush
School of Applied Knowledge
#5 - 2012-12-12 22:57:45 UTC
Styth spiting wrote:
Using Microsoft Excel 2010

Create a new worksheet (bottom leftish area) and name it data. This will be your worksheet that contains all your values, and you'll reference in other sheets.

Now click on a random cell (C, 4) for example.

In the ribbon at the top there should be a section called Data (if its not there you should add it).

click Data and you should see the option "From Web" click this.

You should now see a sort of browser window. Add a URL from eve-central.com such as:

http://api.eve-central.com/api/marketstat?usesystem=30000142&hours=48&typeid=2268&typeid=2305&typeid=2267&typeid=2288&typeid=2287&typeid=2307&typeid=2272&typeid=2309&typeid=2073&typeid=2310&typeid=2270&typeid=2306&typeid=2286&typeid=2311&typeid=2308

This URL grabs all the PI P0 materials in Jita, in the last 48 hours.

click Go to confirm it works. If when you try to copy/paste a URL into the address box and it gives you an error chances are it is too long (max 255 characters).

Click Import, click ok to the message about the schema, and then a few mrore clicks.

You should now have a table generated based on the XML data generated.

You will also need to click Refresh to update the data. You can set it to automatically refresh, but best to keep it manual as it's rude to have it requesting new data when you are not using it.


Is the character limit still 255 which might hinder progress but if it's only the eight minerals it should be alright.

Its time to stand up against the bad empire based CEO telling falsehoods about what new characters can accomplish and pushing them towards an in game experience of drudgery and loneliness keeping them in the shadow of ignorance for at nest their own profit at worse apathy towards all the experiences that Eve has to offer.

Styth spiting
Brutor Tribe
Minmatar Republic
#6 - 2012-12-12 23:18:20 UTC
Sidrat Flush wrote:
Styth spiting wrote:
Using Microsoft Excel 2010

Create a new worksheet (bottom leftish area) and name it data. This will be your worksheet that contains all your values, and you'll reference in other sheets.

Now click on a random cell (C, 4) for example.

In the ribbon at the top there should be a section called Data (if its not there you should add it).

click Data and you should see the option "From Web" click this.

You should now see a sort of browser window. Add a URL from eve-central.com such as:

http://api.eve-central.com/api/marketstat?usesystem=30000142&hours=48&typeid=2268&typeid=2305&typeid=2267&typeid=2288&typeid=2287&typeid=2307&typeid=2272&typeid=2309&typeid=2073&typeid=2310&typeid=2270&typeid=2306&typeid=2286&typeid=2311&typeid=2308

This URL grabs all the PI P0 materials in Jita, in the last 48 hours.

click Go to confirm it works. If when you try to copy/paste a URL into the address box and it gives you an error chances are it is too long (max 255 characters).

Click Import, click ok to the message about the schema, and then a few mrore clicks.

You should now have a table generated based on the XML data generated.

You will also need to click Refresh to update the data. You can set it to automatically refresh, but best to keep it manual as it's rude to have it requesting new data when you are not using it.


Is the character limit still 255 which might hinder progress but if it's only the eight minerals it should be alright.


All that means is you just need to setup several XML requests which is why I always use a data sheet. It allows me to store all the URLs/XML data in 1 sheet, which I can then reference unlimited number of times and deal with whatever formatting I prefer. It's quite common to have to have more then 1 XML request for a spreadsheet, for example to request all the PI materials from P0 to P4 it requires 6 XML requests, and this is just for Jita prices. For additional trade hubs you need just as many (so 6 more for Domain, 6 more for xyz, etc).

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#7 - 2012-12-13 01:13:56 UTC
on the offchance you're not actually wanting a spreadsheet, but just a way to run the numbers:
http://www.fuzzwork.co.uk/blueprints/

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter