andycreber

Board Regular
Joined
May 20, 2010
Messages
74
Office Version
  1. 2016
Hi,
Please could someone help me with an IF statement. I would like to write the below in an IF statement if possible.

scenario:


Total number of items = 39

For each item that is failed, 0.01 point deducted per 0.01% that the item is below 99.5% but above or equal to 96% and

For each item that is failed, 0.02 point deducted per 0.02% that the item is below 96% but above or equal to 90% and

For each item that is failed, 15.5 point deducted that the item is below 90%


Happy to have a table using each score and point deduction similar to below if easier for combining Vlookup and likewise using more cells of table data to get the result.
ScorePP deduction
90.0%15.5
90.0%0.02
95.9%0.02
96.0%0.01
99.4%0.01

<tbody style="border-collapse: collapse; border-spacing: 0px 0px; font-size: 13px; margin-bottom: 0px;">
</tbody>


Thanks in advance, please let me know if you need further clarification.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Re: IF statement Help

Try

Code:
=IF(AND(A1<0.995,>=0.96),0.01,IF(AND(A1<0.96,A1>=0.9),0.02,IF(A1<=0.9,15.5,"")))
 
Upvote 0
Re: IF statement Help

HI RasGhul,

I have another one for you...

using the same data as the first question , in the same formula I now want to multiply for every 0.01% difference multiply by 0.01 when below 99.5% and above equal to 96% and
multiply for every 0.01% difference multiply by 0.02 when below 96% and above equal to 90% and
apply 15.5 when below 90%

is that possible?
many thanks
 
Upvote 0
Re: IF statement Help

Ok so we have the hurdles correct, what do you the calculation to be for each hurdle?

ie

Code:
[COLOR=#333333][I]=IF(AND(A1<0.995,>=0.96),sum(0.01*##)?[/I][/COLOR]

Can you give me what the end result should be so I get the formula correct.
 
Upvote 0

Forum statistics

Threads
1,215,065
Messages
6,122,945
Members
449,095
Latest member
nmaske

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