Help need with if statement for acceptance criteria

justin_n84

Board Regular
Joined
Jan 29, 2017
Messages
59
Hi,

I need help with an if statements as I have tried a couple of things now and I just keep getting errors.

I have a table (see image) and its in regards to an acceptance criteria. I need the formula outcome to state accept or reject.

I have also uploaded a screenshot of the acceptance

Terms are:

If length greater than 0.75 of thickness it cannot be greater than 1 height to be acceptable
If length greater than 3.5 * thickness it is a reject
If depth is 0 height cannot be more than 2 otherwise it is a reject
If total depth is equal to thickness height cannot be more than 2 - Otherwise reject
Height at any point cannot be more than 3 - Otherwise it is a reject
If it is not a reject - Accept


Any help would be greatly appreciated

1605947681804.png

1605947569315.png
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
you need to mention the answer you desire . please mention all scenario in example as its difficult to understand.
 
Upvote 0
I think I've worked it out myself


=IF(OR(AND(F2>=B2*0.75,H2>1),AND(F2>B2*3.5),AND(I2>=B2,H2>1),AND(H2>3)),"Reject","Accept")
 
Upvote 0

Forum statistics

Threads
1,223,892
Messages
6,175,236
Members
452,621
Latest member
Laura_PinksBTHFT

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