Formula for a Deviation

Kars1995

New Member
Joined
Dec 17, 2016
Messages
4
Hello,

I am new on this forum and making a quality check sheet for different parts. The idea is that they measure parts with a 'digital marking gauge'. In the sheet I have a cell with the dimension and a cell the maximal deviation.

In an other cell they need to put in the measured dimension. If it is more or than the deviation it need to give FAIL if it is between the deviation it needs to give APPROVED. I tried several formulas but I don't succeed. I hope you can help me with this matter! :biggrin:

Kind regards,


Kars

Dimension
±

<tbody>
</tbody>
Measured

<tbody>
</tbody>
Approved/Fail
15,6

<tbody>
</tbody>
0,1

<tbody>
</tbody>
...

<tbody>
</tbody>
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Thanks for your help and reply :), but unfortunately it does not work.
It needs to be a general formula that I can apply on differten spreadsheets/quality checks.
I made an example, hope you guys can help me!

Excell_example.png
 
Upvote 0
try this in E25 and copy down

=IF(AND(D25<=B25+C25,D25>=B25-C25),"Approved","Fail")
 
Upvote 0
Thanks for your help and reply :), but unfortunately it does not work.
It needs to be a general formula that I can apply on differten spreadsheets/quality checks.
I am really curious to hear -- in which way does not my formula work for your examples?

Have you tried adjusting references? -- Like this:
=IF(ROUND(ABS(D25-B25),6)<=C25,"Approved","Fail")
 
Last edited:
Upvote 0
try this in E25 and copy down

=IF(AND(D25<=B25+C25,D25>=B25-C25),"Approved","Fail")

try this instead

=IF(AND(D25<=B25+C25,D25>=B25-C25);"Approved";"Fail")
 
Upvote 0
try this instead

=IF(AND(D25<=B25+C25,D25>=B25-C25);"Approved";"Fail")

Sorry for the late response, but I finaly managed to have a good formula. This one works:

=IF(D27<(B27-C27);"Failed!";IF(D27>(B27+C27);"Failed!";"Approved")

Thank you everybody for your help :)
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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