#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default OR Function

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
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.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default OR Function

Thanks for that, but I need to to populate how much it is out of spec. Can
this be done?

"Gary''s Student" wrote:

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.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default OR Function

If you tell us how to calculate this population figure, then yes.

--
HTH

Bob

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

"The Rook" wrote in message
...
Thanks for that, but I need to to populate how much it is out of spec.
Can
this be done?

"Gary''s Student" wrote:

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.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default OR Function

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.




"Bob Phillips" wrote:

If you tell us how to calculate this population figure, then yes.

--
HTH

Bob

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

"The Rook" wrote in message
...
Thanks for that, but I need to to populate how much it is out of spec.
Can
this be done?

"Gary''s Student" wrote:

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.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default OR Function

=IF(D1<A1-B1,D1-(A1-B1),IF(D1A1+C1,D1-(A1+C1),""))

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

"The Rook" wrote in message
...
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.


"Bob Phillips" wrote:

If you tell us how to calculate this population figure, then yes.

--
HTH

Bob

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

"The Rook" wrote in message
...
Thanks for that, but I need to to populate how much it is out of spec.
Can
this be done?

"Gary''s Student" wrote:

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.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


All times are GMT +1. The time now is 04:54 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"