#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,670
Default Lookup

Good morning all,

I am trying to make a Percent with in Limits (PWL) calculation. I am
stumped on how to make a formula for it. Here is a sample

ie: % With in Limits
test 100 99 98 97 96 .......
11 0.9 0.8 0.6 0.3 0.1
12 1.8 1.7 1.5 1.3 1.0
13 2.9 2.8 2.4 2.2 2.1

Test #12 find number 1.33 Return value of: 97.15

Manual Calculation is: (((98-97)/(1.5-1.3)) *((1.33-1.3)))+97=97.15

Can anyone please help me?

Eric


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Lookup

Where arre you placing the macro? Do you have to lookup test (11-13) and
Limits? If formula is on same row as 11-12 then you just havve to lookup
limits. Same applies if formual is on the same column. Also where is the
1.33 coming from? Is it just a cell reference?

"Eric" wrote:

Good morning all,

I am trying to make a Percent with in Limits (PWL) calculation. I am
stumped on how to make a formula for it. Here is a sample

ie: % With in Limits
test 100 99 98 97 96 .......
11 0.9 0.8 0.6 0.3 0.1
12 1.8 1.7 1.5 1.3 1.0
13 2.9 2.8 2.4 2.2 2.1

Test #12 find number 1.33 Return value of: 97.15

Manual Calculation is: (((98-97)/(1.5-1.3)) *((1.33-1.3)))+97=97.15

Can anyone please help me?

Eric


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,670
Default Lookup

Joel,

I will try to answer your questions:
1. The formula is placed on cell C9.

2. I will need to look up tests numbering from 1 - 500 and limits within
the row that corisponse to the test number. It all depends on what test
number I am running at that time.

3. The 1.33 is coming from a number I have made up. It would actually be
known as the Upper Quality Limit and that is mathmatically calculated in cell
(C6). I have that done already.

1.33 is cell C6
test number is cell A1
Table too look up numbers are from A14:CX514

I hope this answers all your questions. Any more let me know. THanks

ERic


"Joel" wrote:

Where arre you placing the macro? Do you have to lookup test (11-13) and
Limits? If formula is on same row as 11-12 then you just havve to lookup
limits. Same applies if formual is on the same column. Also where is the
1.33 coming from? Is it just a cell reference?

"Eric" wrote:

Good morning all,

I am trying to make a Percent with in Limits (PWL) calculation. I am
stumped on how to make a formula for it. Here is a sample

ie: % With in Limits
test 100 99 98 97 96 .......
11 0.9 0.8 0.6 0.3 0.1
12 1.8 1.7 1.5 1.3 1.0
13 2.9 2.8 2.4 2.2 2.1

Test #12 find number 1.33 Return value of: 97.15

Manual Calculation is: (((98-97)/(1.5-1.3)) *((1.33-1.3)))+97=97.15

Can anyone please help me?

Eric


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Lookup

I broke the calculation up into 3 cells to make it easier to understand
in C9

=Index(Range,Row,Column) I added 1 to the row and column to move off the
header row (100,99,98,...)and header column(11,12,13,...)

=INDEX(A14:CX514,MATCH(A1,A15:A514,0)+1,MATCH(98,B 14:CX14,0)+1)

In D9
Same as C9 but I move over one column by adding 2 instead of 1
=INDEX(A14:CX514,MATCH(A1,A15:A514,0)+1,MATCH(98,B 14:CX14,0)+2)

In e9
Your formula taking in the data values you posted
=(((98-97)/(C9-D9)) *((1.33-D9)))+97

"Eric" wrote:

Joel,

I will try to answer your questions:
1. The formula is placed on cell C9.

2. I will need to look up tests numbering from 1 - 500 and limits within
the row that corisponse to the test number. It all depends on what test
number I am running at that time.

3. The 1.33 is coming from a number I have made up. It would actually be
known as the Upper Quality Limit and that is mathmatically calculated in cell
(C6). I have that done already.

1.33 is cell C6
test number is cell A1
Table too look up numbers are from A14:CX514

I hope this answers all your questions. Any more let me know. THanks

ERic


"Joel" wrote:

Where arre you placing the macro? Do you have to lookup test (11-13) and
Limits? If formula is on same row as 11-12 then you just havve to lookup
limits. Same applies if formual is on the same column. Also where is the
1.33 coming from? Is it just a cell reference?

"Eric" wrote:

Good morning all,

I am trying to make a Percent with in Limits (PWL) calculation. I am
stumped on how to make a formula for it. Here is a sample

ie: % With in Limits
test 100 99 98 97 96 .......
11 0.9 0.8 0.6 0.3 0.1
12 1.8 1.7 1.5 1.3 1.0
13 2.9 2.8 2.4 2.2 2.1

Test #12 find number 1.33 Return value of: 97.15

Manual Calculation is: (((98-97)/(1.5-1.3)) *((1.33-1.3)))+97=97.15

Can anyone please help me?

Eric


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,670
Default Lookup

Hey Joel,

I know this is from almost a year ago but I have run into a snag. In the
formula you use the word "Match", what happens if the number of tests is
greater than 500 or the PWL is greater than 3.0? If you have any questions
please let me know. Sorry about this new or latests problem .....

"Joel" wrote:

I broke the calculation up into 3 cells to make it easier to understand
in C9

=Index(Range,Row,Column) I added 1 to the row and column to move off the
header row (100,99,98,...)and header column(11,12,13,...)

=INDEX(A14:CX514,MATCH(A1,A15:A514,0)+1,MATCH(98,B 14:CX14,0)+1)

In D9
Same as C9 but I move over one column by adding 2 instead of 1
=INDEX(A14:CX514,MATCH(A1,A15:A514,0)+1,MATCH(98,B 14:CX14,0)+2)

In e9
Your formula taking in the data values you posted
=(((98-97)/(C9-D9)) *((1.33-D9)))+97

"Eric" wrote:

Joel,

I will try to answer your questions:
1. The formula is placed on cell C9.

2. I will need to look up tests numbering from 1 - 500 and limits within
the row that corisponse to the test number. It all depends on what test
number I am running at that time.

3. The 1.33 is coming from a number I have made up. It would actually be
known as the Upper Quality Limit and that is mathmatically calculated in cell
(C6). I have that done already.

1.33 is cell C6
test number is cell A1
Table too look up numbers are from A14:CX514

I hope this answers all your questions. Any more let me know. THanks

ERic


"Joel" wrote:

Where arre you placing the macro? Do you have to lookup test (11-13) and
Limits? If formula is on same row as 11-12 then you just havve to lookup
limits. Same applies if formual is on the same column. Also where is the
1.33 coming from? Is it just a cell reference?

"Eric" wrote:

Good morning all,

I am trying to make a Percent with in Limits (PWL) calculation. I am
stumped on how to make a formula for it. Here is a sample

ie: % With in Limits
test 100 99 98 97 96 .......
11 0.9 0.8 0.6 0.3 0.1
12 1.8 1.7 1.5 1.3 1.0
13 2.9 2.8 2.4 2.2 2.1

Test #12 find number 1.33 Return value of: 97.15

Manual Calculation is: (((98-97)/(1.5-1.3)) *((1.33-1.3)))+97=97.15

Can anyone please help me?

Eric




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Lookup

I checked and there is no limits on the number of cells in the Match
function. If yu are getting errors I recommend that you use Evaluate formula
to help isolate the Problem

Tools - Formula Auditing - Evaluate Formula.

See if this helps isolate your problems.

"Eric" wrote:

Hey Joel,

I know this is from almost a year ago but I have run into a snag. In the
formula you use the word "Match", what happens if the number of tests is
greater than 500 or the PWL is greater than 3.0? If you have any questions
please let me know. Sorry about this new or latests problem .....

"Joel" wrote:

I broke the calculation up into 3 cells to make it easier to understand
in C9

=Index(Range,Row,Column) I added 1 to the row and column to move off the
header row (100,99,98,...)and header column(11,12,13,...)

=INDEX(A14:CX514,MATCH(A1,A15:A514,0)+1,MATCH(98,B 14:CX14,0)+1)

In D9
Same as C9 but I move over one column by adding 2 instead of 1
=INDEX(A14:CX514,MATCH(A1,A15:A514,0)+1,MATCH(98,B 14:CX14,0)+2)

In e9
Your formula taking in the data values you posted
=(((98-97)/(C9-D9)) *((1.33-D9)))+97

"Eric" wrote:

Joel,

I will try to answer your questions:
1. The formula is placed on cell C9.

2. I will need to look up tests numbering from 1 - 500 and limits within
the row that corisponse to the test number. It all depends on what test
number I am running at that time.

3. The 1.33 is coming from a number I have made up. It would actually be
known as the Upper Quality Limit and that is mathmatically calculated in cell
(C6). I have that done already.

1.33 is cell C6
test number is cell A1
Table too look up numbers are from A14:CX514

I hope this answers all your questions. Any more let me know. THanks

ERic


"Joel" wrote:

Where arre you placing the macro? Do you have to lookup test (11-13) and
Limits? If formula is on same row as 11-12 then you just havve to lookup
limits. Same applies if formual is on the same column. Also where is the
1.33 coming from? Is it just a cell reference?

"Eric" wrote:

Good morning all,

I am trying to make a Percent with in Limits (PWL) calculation. I am
stumped on how to make a formula for it. Here is a sample

ie: % With in Limits
test 100 99 98 97 96 .......
11 0.9 0.8 0.6 0.3 0.1
12 1.8 1.7 1.5 1.3 1.0
13 2.9 2.8 2.4 2.2 2.1

Test #12 find number 1.33 Return value of: 97.15

Manual Calculation is: (((98-97)/(1.5-1.3)) *((1.33-1.3)))+97=97.15

Can anyone please help me?

Eric


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
lookup help. lookup result based on data in 2 columns lcc Excel Worksheet Functions 3 April 6th 10 01:20 PM
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU JCC Excel Discussion (Misc queries) 5 June 26th 09 09:15 PM
Matrix lookup/mulitple criteria lookup MarkFranklin Excel Discussion (Misc queries) 3 March 31st 08 10:15 AM
Get Cell Address From Lookup (Alternative to Lookup) ryguy7272 Excel Worksheet Functions 12 September 28th 07 10:36 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM


All times are GMT +1. The time now is 11:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"