IF statement Help

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.
[TABLE="width: 246"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Score[/TD]
[TD]PP deduction[/TD]
[/TR]
[TR]
[TD="align: right"]90.0%[/TD]
[TD="align: right"]15.5[/TD]
[/TR]
[TR]
[TD="align: right"]90.0%[/TD]
[TD="align: right"]0.02[/TD]
[/TR]
[TR]
[TD="align: right"]95.9%[/TD]
[TD="align: right"]0.02[/TD]
[/TR]
[TR]
[TD="align: right"]96.0%[/TD]
[TD="align: right"]0.01[/TD]
[/TR]
[TR]
[TD="align: right"]99.4%[/TD]
[TD="align: right"]0.01[/TD]
[/TR]
</tbody>[/TABLE]

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

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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