Interpolate for Excel

Software used for ECU editing

Interpolate for Excel

Postby rlees85 » Tue Oct 02, 2012 9:16 pm

I could not find an interpolate function for Excel so I made my own. This just looks up values from tables the same way that a car ECU would (to my understanding!).

Interpolate.zip


If you are working in Excel to calculate some values and you want to interpolate a table, just open the VBA (visual basic editor) and import the 'Interpolate.bas' module.

VBA is opened on Excel 2010 by clicking Developer and then Visual Basic. Not sure on older versions...

Then you can just use =INTERPOLATE(TABLE_RANGE, X Lookup, Y Lookup)

First one to say "Excel already does this with XXXX function" = :evil: ;)
You do not have permissions to view the files yet. You have to be registered and you have to make at least 3 quality / unique posts.

rlees85
Gold
 
Posts: 158
Joined: Fri Apr 27, 2012 5:32 pm
Location: Macclesfield / Hinckley UK

Re: Interpolate for Excel

Postby Relic » Wed Oct 03, 2012 10:43 am

Thats excellent....pity I dont bankrole microsoft :clap: :roll: :lol: :cry:

Might be able to cut&paste if you can list the code ;)
You do not have permissions to view the files yet. You have to be registered and you have to make at least 3 quality / unique posts.

Relic
Diamond
 
Posts: 410
Joined: Mon Aug 06, 2012 3:18 pm
Location: England

Re: Interpolate for Excel

Postby rlees85 » Wed Oct 03, 2012 10:59 am

Im at work at the moment, but if you download the zip, open the Interpolate.bas file in notepad, all the code is there :) I didnt bank-role Microsoft on this one either ;)

rlees85
Gold
 
Posts: 158
Joined: Fri Apr 27, 2012 5:32 pm
Location: Macclesfield / Hinckley UK

Re: Interpolate for Excel

Postby Relic » Wed Oct 03, 2012 11:12 am

lol... yeah I tried importing the code.
Openoffice vb doesnt function the same way as microsoft vb in a general sense.
Openoffice macros work around subroutines instead of functions.
So the fundamental concept/structure aint compatible by the looks of it.
:roll: ..typical.

Relic
Diamond
 
Posts: 410
Joined: Mon Aug 06, 2012 3:18 pm
Location: England


Return to ECU Tuning Software

Who is online

Users browsing this forum: No registered users and 0 guests