Thread: OR Function
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default OR Function

try:

=IF(OR(D1A1+C1,D1<A1-B1),"out of spec","")

--
Gary''s Student - gsnu200776


"The Rook" wrote:

Can anyone help me out with the following, I have tried to use the OR
function but I have not been able to get the result I want. Its a little
complicated but here goes.

I am trying to formulate an inspection report, here is the layout plus example

Column A = 32.00 (Nominal)
Column B = 0.005 (- tolerance)
Column C = 0.00 (+ tolerance)
Column D = 31.00 (Result)
Coulmn E = -01.00 (Deviation from nominal (D - A))
Column F = I am only wanting to populate column F if the result is out of
spec ie (if D is less than A-B = D-(A-B) or if D is greater than A+C =
D-(A+C)) if non of these are true leave blank.

Hope this makes sense.