non linear scale applied to data

leecavturbo

Well-known Member
Joined
Jan 4, 2008
Messages
681
in this example below i need to work out what the divsor
would be for values inbetween the data?
.

mvtoafr.jpg
 
I came up with this that uses named formulas.

name: lowRow RefersTo: =MATCH(Sheet1!D1,Sheet1!$A:$A)
name: lowVal RefersTo: =INDEX(Sheet1!$A:$A,lowRow,1)
name: highVal RefersTo: =INDEX(Sheet1!$A:$A,lowRow+1,1)
name: lowResult RefersTo: =INDEX(Sheet1!$B:$B,lowRow,1)
name: highResult RefersTo: =INDEX(Sheet1!$B:$B,lowRow+1,1)

The spreadsheet formula

=lowResult+((D1-lowVal)/(highVal-lowVal)*(highResult-lowResult))

should return the afr for the number of Mv entered in D1.

Because of the relative referencing in lowRow, the cell containing the formula should be selected when defining the names.
 
Upvote 0

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I came up with this that uses named formulas.

name: lowRow RefersTo: =MATCH(Sheet1!D1,Sheet1!$A:$A)
name: lowVal RefersTo: =INDEX(Sheet1!$A:$A,lowRow,1)
name: highVal RefersTo: =INDEX(Sheet1!$A:$A,lowRow+1,1)
name: lowResult RefersTo: =INDEX(Sheet1!$B:$B,lowRow,1)
name: highResult RefersTo: =INDEX(Sheet1!$B:$B,lowRow+1,1)

The spreadsheet formula

=lowResult+((D1-lowVal)/(highVal-lowVal)*(highResult-lowResult))

should return the afr for the number of Mv entered in D1.

Because of the relative referencing in lowRow, the cell containing the formula should be selected when defining the names.

really appreciate the help mike.
 
Upvote 0
The value Mv=1 is lower than the lowest value in the chart. No AFR for MV=1 can be calculated from the given data.

For the others, I selected cell B31 and defined these names

Name: mvRow RefersTo: =MATCH(Sheet1!$A31,Sheet1!$A$3:$A$22)
Name: lowMV RefersTo: =INDEX(Sheet1!$A$3:$A$22,mvRow,1)
Name: highMV RefersTo: =INDEX(Sheet1!$A$3:$A$22,mvRow+1,1)
Name: lowAFR RefersTo: =INDEX(Sheet1!$B$3:$B$22,mvRow,1)
Name: highAFR RefersTo: =INDEX(Sheet1!$B$3:$B$22,mvRow+1,1)

and then entered this formula in B31

=lowAFR+((A31-lowMV)/(highMV-lowMV)*(highAFR-lowAFR))

Then fill down.
 
Upvote 0
The value Mv=1 is lower than the lowest value in the chart. No AFR for MV=1 can be calculated from the given data.

For the others, I selected cell B31 and defined these names

Name: mvRow RefersTo: =MATCH(Sheet1!$A31,Sheet1!$A$3:$A$22)
Name: lowMV RefersTo: =INDEX(Sheet1!$A$3:$A$22,mvRow,1)
Name: highMV RefersTo: =INDEX(Sheet1!$A$3:$A$22,mvRow+1,1)
Name: lowAFR RefersTo: =INDEX(Sheet1!$B$3:$B$22,mvRow,1)
Name: highAFR RefersTo: =INDEX(Sheet1!$B$3:$B$22,mvRow+1,1)

and then entered this formula in B31

=lowAFR+((A31-lowMV)/(highMV-lowMV)*(highAFR-lowAFR))

Then fill down.

the rogue figures like 1 or 100 etc can be ignored.
:cool:
 
Upvote 0
You need to define the names.

If you PM me an e-mail address, I'll send you what I did.

(Linear interpolation will not make the graph any smoother, since the values derived fall on the line segments between the existing points.)
 
Last edited:
Upvote 0
how do i apply this formula and definitions to other work sheets?
obviously i know how to copy and paste the formula,
but the formula does not work on its own in another wookbook!
thx
 
Upvote 0

Forum statistics

Threads
1,223,641
Messages
6,173,505
Members
452,517
Latest member
SoerenB

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top