Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How do I create a function to give a value to a calculation
Example: Total number of errors 3 Number of clients signed 3 % errors to clients signed 100% If the error rate is 0% the formula should calculate 100% If the error rate is 0%<21% calculation should be 80% If the error rate is 20%<41% calculation should be 60% If the error rate is 40%<61% calculation should be 40% If the error rate is 60%<80% calculation should be 20% If the error rate is =/80% calculation should be 0% I have tried IF but just get errors (still learing all these formulas) -- Andrew |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=VLOOKUP(error_rate,{0,1;0.001,0.8;0.2,0.6;0.4,0.4 ;0.6,0.2;0.8,0},2,TRUE)
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Andrew" wrote in message ... How do I create a function to give a value to a calculation Example: Total number of errors 3 Number of clients signed 3 % errors to clients signed 100% If the error rate is 0% the formula should calculate 100% If the error rate is 0%<21% calculation should be 80% If the error rate is 20%<41% calculation should be 60% If the error rate is 40%<61% calculation should be 40% If the error rate is 60%<80% calculation should be 20% If the error rate is =/80% calculation should be 0% I have tried IF but just get errors (still learing all these formulas) -- Andrew |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Bob!
-- Andrew "Bob Phillips" wrote: =VLOOKUP(error_rate,{0,1;0.001,0.8;0.2,0.6;0.4,0.4 ;0.6,0.2;0.8,0},2,TRUE) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Andrew" wrote in message ... How do I create a function to give a value to a calculation Example: Total number of errors 3 Number of clients signed 3 % errors to clients signed 100% If the error rate is 0% the formula should calculate 100% If the error rate is 0%<21% calculation should be 80% If the error rate is 20%<41% calculation should be 60% If the error rate is 40%<61% calculation should be 40% If the error rate is 60%<80% calculation should be 20% If the error rate is =/80% calculation should be 0% I have tried IF but just get errors (still learing all these formulas) -- Andrew |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Web Query for Java Applet driven data website | Excel Discussion (Misc queries) | |||
How can I create a data driven org chart in excel | Excel Discussion (Misc queries) | |||
Drawing driven database updates | Excel Discussion (Misc queries) | |||
Date driven formula/worksheet | Excel Discussion (Misc queries) | |||
Naming Pivot Table Paramater Report | Excel Discussion (Misc queries) |