Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / March 2008

Tip: Looking for answers? Try searching our database.

OR Function

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
The Rook - 28 Mar 2008 10:11 GMT
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.
Gary''s Student - 28 Mar 2008 10:26 GMT
try:

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

Signature

Gary''s Student - gsnu200776

> 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
[quoted text clipped - 12 lines]
>
> Hope this makes sense.
The Rook - 28 Mar 2008 10:51 GMT
Thanks for that, but I need to to populate how much it is out of spec.  Can
this be done?

> try:
>
[quoted text clipped - 16 lines]
> >
> > Hope this makes sense.
Bob Phillips - 28 Mar 2008 11:30 GMT
If you tell us how to calculate this population figure, then yes.

Signature

HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

> Thanks for that, but I need to to populate how much it is out of spec.
> Can
[quoted text clipped - 23 lines]
>> >
>> > Hope this makes sense.
The Rook - 28 Mar 2008 12:06 GMT
As per my 1st post:

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 then result D-(A-B) or if D is greater than
A+C then result D-(A+C)) if non of these are true leave blank.

> If you tell us how to calculate this population figure, then yes.
>
[quoted text clipped - 25 lines]
> >> >
> >> > Hope this makes sense.
David Biddulph - 28 Mar 2008 13:53 GMT
=IF(D1<A1-B1,D1-(A1-B1),IF(D1>A1+C1,D1-(A1+C1),""))

[so I don't know why you were looking for an OR function?]
Signature

David Biddulph

> As per my 1st post:
>
> 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 then result D-(A-B) or if D is greater than
> A+C then result D-(A+C)) if non of these are true leave blank.

>> If you tell us how to calculate this population figure, then yes.
>>
[quoted text clipped - 29 lines]
>> >> >
>> >> > Hope this makes sense.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.