FinsToTheLeft, on 01 January 2010 - 11:55 PM, said:
Hey, these are some great spreadsheets, I especially like the smithing one!
Can you tell me what formula you're using in Google Docs to extract a GE price when it ends in K? I've been using Brainymidget's guide to extracting GE prices to try and figure this out, but I still couldn't get it.
Anyway, its clear you've overcome this problem, could you share your formula?
Thanks!
Fins
how i collect more than 50 item prices in a single spreadsheet:
Quote
=Index(ImportHtml(Concat("http://services.runescape.com/m=itemdb_rs/results.ws?query=",[ITEM NAME/DESCRIPTION]), "table", 2),,)
how to remove K's and M's from data:
Substitute(Substitute(
[Input], ".",""),"k","00")
similar logic same applies for M's
edit: i recently modified the above equation ^^^
Lets say i use that equation on the value 12.9k gp
It changes the 12.9k number into a 129"00"
note the parenthesis. When performing math on 129"00", it will perform the math properly
129"00"+1 = 12901 (note the parenthesis are removed)
129"00"*2 = 25800 (note the parenthesis are removed)
i believe the equation still treats the "00" as text rather than a number
But addition, multiplication, and other simple math operators convert the strings into numbers beforehand
HOWEVER this does not seem to apply to all functions
for example
Max(129"00",130) will yield 130, not 12900. It will claim 130 to be greater than 129"00"
SO my equation has since been modified to:
Quote
RoundDown(Substitute(Substitute(Substitute([Input], ".",""),"k","00"),"m","00000")*1.000001,0)
the multiplication by 1.000001 removes the "parenthesis", essentially converting the entire entry into a pure number. Round down negates any effects caused by the 1.000001
I will use this function from now on, but It will be a while until i convert all my equations into what i need
I will also be using the Transpose() function to spiff up my spreadsheets and make them a little more compact
once again, alot of work ahead of me
Magic spreadsheet will be under way.
Rc spreadsheet seems a little pointless for me right now, but sure I'll make one eventually. I have other spreadsheets i'd much rather make though